Application Release Utilizing MCollective
-
Upload
misa-kondo -
Category
Technology
-
view
439 -
download
0
description
Transcript of Application Release Utilizing MCollective
![Page 1: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/1.jpg)
Application Release Utilizing MCollective
![Page 2: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/2.jpg)
近藤美沙Misa Kondo
@_zoo
adingo,Inc.(In Voyage Group, Inc.)
![Page 3: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/3.jpg)
What is 'Deploy'?'Deploy' means the application release
'Fluct' is deployed by 'Mcollective'
![Page 4: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/4.jpg)
What is 'Fluct'?
![Page 5: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/5.jpg)
How many requests?Over 20 billion req/monthHow many biddings?Over 90 billion bidding/month
![Page 6: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/6.jpg)
Total Server about 200Dlv ServerLog Server
Imp ServerManagement ServerDB Server
![Page 7: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/7.jpg)
How to 'Deploy' to Dlv Server?Dlv Server over 100.
![Page 8: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/8.jpg)
Use 'Mcollective''Mcollective' is created by 'PuppetLabs'
![Page 9: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/9.jpg)
What is 'Mcollective'?
![Page 10: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/10.jpg)
How to use ’Mcollective’ExampleApache restart Server10
mco service httpd restart -I /server10/
Apache stop Server20
mco service httpd stop -I /server20/
![Page 11: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/11.jpg)
![Page 12: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/12.jpg)
![Page 13: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/13.jpg)
![Page 14: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/14.jpg)
Write Custom Application and Agent Plugin for 'Deploy'
![Page 15: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/15.jpg)
![Page 16: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/16.jpg)
Release Application Plugin 32 linesRun Release Agent Plugin
![Page 17: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/17.jpg)
![Page 18: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/18.jpg)
Agent Plugin 27 linesRun 'Deploy' Script
![Page 19: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/19.jpg)
How to useExamplePrd branch 'Deploy' to server11
mco release -s IN -b prd -I /server11/
Otp branch 'Deploy' to server12
mco release -s IN -b otp -I /server12/
![Page 20: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/20.jpg)
Mcollective is so greatDo not need'Deploy' settingDeploy target branch to one servers
![Page 21: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/21.jpg)
Writing Custom Appplication or Agent Plugin is easy
![Page 22: Application Release Utilizing MCollective](https://reader034.fdocuments.in/reader034/viewer/2022052601/5594ec3c1a28ab8b5d8b45da/html5/thumbnails/22.jpg)
Lets writing Mcollective Custom Application or Agent plugin