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
Adopting Sorbet at Scale
ufuk
77
9.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
The Pragmatic Product Professional
lauravandoore
35
6.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
47
9.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
RailsConf 2023
tenderlove
30
1.1k
Raft: Consensus for Rubyists
vanstee
140
7k
Designing Experiences People Love
moore
142
24k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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/