SlideShare una empresa de Scribd logo
1 de 25
Descargar para leer sin conexión
2010/11/19
1
アプリケーションサービス部	
岩永 義弘	
相関関係を用いた新監視システム
背景	
•  近年の傾向
–  システムの大規模化による管理ホスト数の増大
–  仮想化による複雑化
•  その影響
–  障害発生件数が増加
–  障害の原因調査にかかる時間が増加
–  監視システムのターゲット追加作業が増加
•  将来、障害対応に要するコストは大きくなる
2
新監視システムが目指すもの	
3
障害件数の減少	
原因調査の時間短縮	
運用負荷の低減	
•  障害の兆候を事前に検知できれば・・・
–  事前対策を施す → 障害の発生を予防
•  障害発生時にシステムが原因を提示してくれたら・・・
–  調査の手間が省ける
•  設定作業が不要になれば・・・
–  ホスト追加の度に発生する閾値の設定が不要
–  運用中の閾値変更も不要
着眼点	
•  連動して機能するリソース同士には相関がある
–  例えば
•  「前段ホストのトラフィック」と「後段ホストのCPU使用率」
•  並列に負荷分散された機器同士のリソース
4
前段ホストのトラフィック	
後段ホストのCPU使用率	
相関がある状態	
 相関が崩れた状態
検知の仕組み	
5
•  負荷の相関関係に着目	
平常時に成立する
負荷の相関関係を抽出
負荷の散布図 ⇒ 線形関係になっている	
 問題が発生したホスト名、リソースを知ることができる	
障害が起きると
学習した分布から外れる	
赤:平常時
青:障害発生時
モデル化と異常の判定	
•  学習対象
–  全てのリソースの組合わせで相関関係を抽出
–  相関のあるものだけを選び出し、モデル化
•  検知の方法
–  学習したモデルから大きく外れていたら異常と判定
–  通知しないケース
•  一瞬だけ相関が崩れた場合(スパイク)
•  相関の崩れた箇所が少ない場合
•  学習期間
–  2週間
–  平日と休日を分ける必要は無い
6
検知しないケース	
7
モデル化と異常の判定	
•  学習対象
–  全てのリソースの組合わせで相関関係を抽出
–  相関のあるものだけを選び出し、モデル化
•  検知の方法
–  学習したモデルから大きく外れていたら異常と判定
–  通知しないケース
•  一瞬だけ相関が崩れた場合(スパイク)
•  相関の崩れた箇所が少ない場合
•  学習期間
–  2週間
–  平日と休日を分ける必要は無い
8
障害検出事例(1)	
•  ホストが再起動を起こしたケース
–  該当ホストのCPU使用率に相関の崩れが集中
•  そのホストのCPU負荷だけが徐々に増加し、相関が崩れた
–  兆候を事前に検出
•  予防が可能な障害だった
9
送信サーバ群	
前段サーバ群
再起動!	
相関の崩れ
を検知
•  メールサービスの配送遅延障害
–  暗号化サーバのロードアベレージに相関の異常
–  大サイズファイルが添付されたメールを大量に受信
•  全体の負荷が上昇し、フル稼働状態
•  一方、暗号化処理が追いつかずロードアベレージだけが上がり続け
相関が崩れた
–  サービスレベルの低下を検出
•  影響を最小限にできていたはず	
障害検出事例(2)	
10
送信サーバ	
添付ファイル
暗号化サーバ	
MTA、フィルタ
100Mbps	
CPU使用率100%	
際限なく上昇!!
うまくいかないケース	
•  相関が大きく崩れていても障害になっていない
–  従来の閾値監視では、サービススペックに関わるデータ
を直接監視
–  必ずしも「相関の崩れた=障害発生」となるわけではない
–  現在対策を検討中	
11
今後の取り組み	
•  障害原因の提示
– 現段階では相関が崩れた場所を知らせるのみ
– 障害原因を推測するシステムに	
•  「相関の崩れ方」と「障害原因」をセットで学習
•  パターンマッチによって障害原因を提示
•  誤検知抑制にも効果が期待できる
12
まとめ	
•  負荷の相関関係を用いる
– 個々のリソースを監視するのではない
– データの組み合わせから不変関係をモデル化
•  障害の検知に成功
– 過負荷による再起動の兆候
– 局所的な負荷増加によるメール配送遅延
•  課題
– 誤判定の抑制
•  今後の取り組み	
– 障害原因の学習と提示
13
14
ご清聴ありがとうございました	
お問い合わせ先 IIJインフォメーションセンター
TEL:03-5205-4466 (9:30~17:30 土/日/祝日除く)
info@iij.ad.jp
http://www.iij.ad.jp/
15
backup slides
障害検知事例(3)	
16
•  ファイアウォールログ解析システム
•  CPU、トラフィックに相関の異常発生
–  特定顧客のログが急増
•  中継サーバの一部が局所的に過負荷になったケース
•  その他にも、新規顧客投入による負荷の変化も検知している
中継サーバ	
解析サーバ	
FWログ受けサーバ
ファイアウォール	
DB	
ファイアウォール
誤検知対策	
•  一瞬だけ相関が崩れたケース(スパイク)
–  アラートは不要
–  アラートの条件:一定時間、異常が継続すること
•  相関の崩れ方が少ないケース
–  例:一カ所のみ、わずかに相関関係が崩れている
–  サービスへの影響が小さいので通知しない
17
検知の仕組み	
•  相関の有無を判定
– ピアソンの積率相関係数	
18
一般に、 | r | > 0.8 のときに強い相関を持つ
⇒ この条件を使って、相関を持ったデータの組合わせを選び出す
相関係数	
•  強い相関を持つデータペアを選び出す
– fabs(相関係数) > 0.8
相関係数
検知の仕組み	
•  データの規格化
–  データによって取り得る値の散らばりが違う
•  ロードアベレージ : 0 ~ 10 程度の値をとる
•  トラフィック : 0 ~ 10,000 の値をとる
–  スケールの違うデータを公平に扱いたい
•  標準偏差で割る
•  フィッティング
–  Y = a X + b でフィッティング
•  データペアの関係を表す
–  a, b を学習する
•  学習期間:二週間	
21
フィッティング	
•  最小二乗法	
22
を	
データ集合	
でフィッティングするとき、	
フィッティングパラメータ a, b は下記の通り
フィッティング	
•  フィッティングの良し悪しを判定
– 上手くフィッティングできているものだけを選ぶ	
∑=
⎟
⎟
⎠
⎞
⎜
⎜
⎝
⎛ −
=
N
i i
i xx
1
2
2
σ
χ
NDF = 点の数 - パラメータ数
検知の仕組み	
•  異常度を計算
–  部分異常度
•  マハラノビス距離と等価
–  総合異常度
•  部分異常の平均値
•  10 σ を閾値に設定
–  異常の継続時間
•  「一瞬だけ相関が崩れたが直ちに元の正常な状態に戻る」
•  この場合、アラートは不必要
•  アラート送信条件:「相関の異常が15分以上継続している」	
24
データ i	
データ j	
dij	
フィッティングで
得た直線
Anomaly detection using correlations of load

Más contenido relacionado

Último

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略Ryo Sasaki
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムsugiuralab
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 

Último (9)

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システム
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Anomaly detection using correlations of load