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
280
20200319-ssmjp_ResilienceEngineering
w4yh
5
1.2k
StackStormによるCloudSlang対応とはなにだったのか
w4yh
0
600
JKD18.12-2T2_Pharosでk8s環境を楽して割り切って作る / JKD1812_2T2_Pharos
w4yh
0
980
20160913-IrecommendStackStormtoyou-w4yh
w4yh
3
3k
StackStorm-qpstudy201604
w4yh
0
110
ChangeManagement
w4yh
0
110
Zohoを褒めたり叱ったり.pdf
w4yh
0
74
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
119
51k
YesSQL, Process and Tooling at Scale
rocio
172
14k
How to Ace a Technical Interview
jacobian
276
23k
Embracing the Ebb and Flow
colly
85
4.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
The Cult of Friendly URLs
andyhume
78
6.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
9
750
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/