Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
StackStorm
Search
w4yh
June 27, 2016
1
500
StackStorm
NetOpsCoding #3 2016-06-27
w4yh
June 27, 2016
Tweet
Share
More Decks by w4yh
See All by w4yh
中(小)規模事業者のNTP運用担当としての悩みと成功体験 / 20230407 NTP Meeting LT2
w4yh
0
300
20200319-ssmjp_ResilienceEngineering
w4yh
5
1.2k
StackStormによるCloudSlang対応とはなにだったのか
w4yh
0
610
JKD18.12-2T2_Pharosでk8s環境を楽して割り切って作る / JKD1812_2T2_Pharos
w4yh
0
1k
20160913-IrecommendStackStormtoyou-w4yh
w4yh
3
3k
StackStorm-qpstudy201604
w4yh
0
120
ChangeManagement
w4yh
0
120
Zohoを褒めたり叱ったり.pdf
w4yh
0
82
Featured
See All Featured
For a Future-Friendly Web
brad_frost
179
9.8k
Building Adaptive Systems
keathley
43
2.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Into the Great Unknown - MozCon
thekraken
40
1.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How to train your dragon (web standard)
notwaldorf
96
6.1k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Code Reviewing Like a Champion
maltzj
524
40k
How GitHub (no longer) Works
holman
314
140k
Transcript
@w4yh StackStorm
StackStormとは? ・「Web界のiftttを運用に持ってきた」 ・「自動化+自動復旧(auto re-mediation)」 ・自動化プラットフォーム / ワークフローエンジン ・6/24にVer. 1.5がリリースされました ・フリーミアムな提供形態
https://github.com/StackStorm/st2 Apache License Version 2.0 ・3/29にBrocadeに
StackStormの位置づけ マクロ expect 抽象化 汎用化 オーケストレーション 系全体の管理
StackStormの位置づけ マクロ expect 抽象化・汎用化 オーケストレーション NETCONF YANG rancid Ansible SDN
オーバーレイ
StackStormの構成要素
連携ツール(st2contrib) IaaS 監視/運用 CM データソース 通知 CI/CD
StackStormの活きるケース (1)単発処理ではなく分岐や並列、合流など ワークフロー的な処理を行う場合 (2)特に機器をまたいで処理を行ったり 多機種が混在して純正ツールが無い場合 運用の「ジョブ管理」、 BigDataの「ワークフロー」、サーバーレス、 トリガーベースといった処理系
OpenStackクラスタの操作 version: '2.0' examples.mistral-basic: description: sample workflow type: direct input:
- cmd output: stdout: <% $.stdout %> tasks: add_network: action: core.local input: cmd: "curl -d “network=sample1” -d “”qos_policy_id": "qos1"” \ http://neutron/v2.0/networks" publish: hostname: <% task(add_network).result.stdout %> Neutrol APIをcURLで呼んで ネットワークオブジェクトを追加 OpenStackのMistral利用
LBとWebサーバの連携 Webサーバーのエラー検知 LBを操作して切り離し restartなどサーバー一時対応 テストケース実施 LBを操作して再接続
(エンタープライズ版)GUI Editor
まとめ ・大規模化や分散環境などで処理が複雑化する場合、 難解なスクリプトを書くよりもStackStorm等の 知見や処理系をフレームワークとして活用して 楽をすることができるかもしれません ・Slack Invite申し込みフォーム https://stackstorm.typeform.com/to/K76GRP アーカイブ https://stackstorm-community.slack.com/archives/community/