Application Release
Utilizing MCollective
近藤美沙
Misa Kondo
@_zoo
adingo,Inc.(In Voyage Group, Inc.)
What is 'Deploy'?
'Deploy' means the application
release
'Fluct' is deployed by 'Mcollective'
What is 'Fluct'?
How many requests?
Over 20 billion req/month
How many biddings?
Over 90 billion bidding/
month
Total Server about 200
Dlv Server
Log Server
Imp Server
Management Server
How to 'Deploy' to Dlv
Server?
Dlv Server over 100.
Use 'Mcollective'
'Mcollective' is created by
'PuppetLabs'
What is 'Mcollective'?
How to use ’Mcollective’
Example
Apache restart Server10
mco service httpd restart -I /server10/
Apache stop Server20
mco service httpd stop -I /server20/
Write Custom Application
and Agent Plugin for
'Deploy'
Release Application
Plugin 32 lines
Run Release Agent Plugin
Agent Plugin 27 lines
Run 'Deploy' Script
How to use
Example
Prd 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/
Mcollective is so great
Do not need'Deploy'
setting
Deploy target branch to
one servers
Writing Custom
Appplication or Agent
Plugin is easy
Lets writing Mcollective
Custom Application or
Agent plugin

Application Release Utilizing MCollective