Top Banner
Application Release Utilizing MCollective
22

Application Release Utilizing MCollective

Jul 02, 2015

Download

Technology

Misa Kondo

Puppet Camp Tokyo 2014
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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