+ All Categories
Home > Technology > Application Release Utilizing MCollective

Application Release Utilizing MCollective

Date post: 02-Jul-2015
Category:
Upload: misa-kondo
View: 432 times
Download: 0 times
Share this document with a friend
Description:
Puppet Camp Tokyo 2014
22
Application Release Utilizing MCollective
Transcript
Page 1: Application Release  Utilizing MCollective

Application Release Utilizing MCollective

Page 2: Application Release  Utilizing MCollective

近藤美沙Misa Kondo

@_zoo

adingo,Inc.(In Voyage Group, Inc.)

Page 3: Application Release  Utilizing MCollective

What is 'Deploy'?'Deploy' means the application release

'Fluct' is deployed by 'Mcollective'

Page 4: Application Release  Utilizing MCollective

What is 'Fluct'?

Page 5: Application Release  Utilizing MCollective

How many requests?Over 20 billion req/monthHow many biddings?Over 90 billion bidding/month

Page 6: Application Release  Utilizing MCollective

Total Server about 200Dlv ServerLog Server

Imp ServerManagement ServerDB Server

Page 7: Application Release  Utilizing MCollective

How to 'Deploy' to Dlv Server?Dlv Server over 100.

Page 8: Application Release  Utilizing MCollective

Use 'Mcollective''Mcollective' is created by 'PuppetLabs'

Page 9: Application Release  Utilizing MCollective

What is 'Mcollective'?

Page 10: Application Release  Utilizing MCollective

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
Page 12: Application Release  Utilizing MCollective
Page 13: Application Release  Utilizing MCollective
Page 14: Application Release  Utilizing MCollective

Write Custom Application and Agent Plugin for 'Deploy'

Page 15: Application Release  Utilizing MCollective
Page 16: Application Release  Utilizing MCollective

Release Application Plugin 32 linesRun Release Agent Plugin

Page 17: Application Release  Utilizing MCollective
Page 18: Application Release  Utilizing MCollective

Agent Plugin 27 linesRun 'Deploy' Script

Page 19: Application Release  Utilizing MCollective

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

Mcollective is so greatDo not need'Deploy' settingDeploy target branch to one servers

Page 21: Application Release  Utilizing MCollective

Writing Custom Appplication or Agent Plugin is easy

Page 22: Application Release  Utilizing MCollective

Lets writing Mcollective Custom Application or Agent plugin


Recommended