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
490
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
220
20200319-ssmjp_ResilienceEngineering
w4yh
5
1.1k
StackStormによるCloudSlang対応とはなにだったのか
w4yh
0
580
JKD18.12-2T2_Pharosでk8s環境を楽して割り切って作る / JKD1812_2T2_Pharos
w4yh
0
860
20160913-IrecommendStackStormtoyou-w4yh
w4yh
3
2.8k
StackStorm-qpstudy201604
w4yh
0
95
ChangeManagement
w4yh
0
94
Zohoを褒めたり叱ったり.pdf
w4yh
0
58
Featured
See All Featured
Unsuck your backbone
ammeep
663
57k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
Into the Great Unknown - MozCon
thekraken
10
990
Mobile First: as difficult as doing things right
swwweet
216
8.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Bash Introduction
62gerente
604
210k
Side Projects
sachag
451
41k
Git: the NoSQL Database
bkeepers
PRO
422
63k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
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/