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
990
20160913-IrecommendStackStormtoyou-w4yh
w4yh
3
3k
StackStorm-qpstudy201604
w4yh
0
120
ChangeManagement
w4yh
0
120
Zohoを褒めたり叱ったり.pdf
w4yh
0
81
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
71
4.9k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Music & Morning Musume
bryan
46
6.6k
4 Signs Your Business is Dying
shpigford
184
22k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Git: the NoSQL Database
bkeepers
PRO
430
65k
It's Worth the Effort
3n
184
28k
Building Applications with DynamoDB
mza
95
6.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
Embracing the Ebb and Flow
colly
86
4.7k
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/