application release utilizing mcollective

Post on 02-Jul-2015

438 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Puppet Camp Tokyo 2014

TRANSCRIPT

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/monthHow many biddings?Over 90 billion bidding/month

Total Server about 200Dlv ServerLog Server

Imp ServerManagement ServerDB 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’ExampleApache 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 linesRun Release Agent Plugin

Agent Plugin 27 linesRun 'Deploy' Script

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/

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

Writing Custom Appplication or Agent Plugin is easy

Lets writing Mcollective Custom Application or Agent plugin

top related