how did puppet change our system's life?

24
HOW DID PUPPET CHANGE OUR LIFE?

Upload: hung-phung-dac

Post on 10-May-2015

232 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: How did puppet change our system's life?

HOW DID PUPPET CHANGE OUR LIFE?

Page 2: How did puppet change our system's life?

Introduction

Phùng Đắc Hưng

System Engineer at VNG Corporation

{Gmail, Twitter}/dachung666

Page 3: How did puppet change our system's life?

Life when begin

Works Single Direct Small

Page 4: How did puppet change our system's life?

Life before Puppet

Series Repeat Many roles

Page 5: How did puppet change our system's life?

Solutions

Bash shell

Page 6: How did puppet change our system's life?

Solutions

Bash shell Terminator

Page 7: How did puppet change our system's life?

Solutions

Bash shell Terminator

Fabric python

Page 8: How did puppet change our system's life?

Problems

Time to deploy High human error rate Misconfig Hard to manage

Page 9: How did puppet change our system's life?

Config management tool

We have Centralized configurations, settings Declarative language Excute parallel Speed

Page 10: How did puppet change our system's life?

Config management tool

We have Centralized configurations, settings Declarative language Excute parallel Speed

We have CFEngine Chef Puppet SaltStack

Page 11: How did puppet change our system's life?

Puppet About Puppet

http://www.puppetlabs.com/

Page 12: How did puppet change our system's life?

Puppet

Puppet master – Puppet agents

Page 13: How did puppet change our system's life?

Puppet

Puppet master – Puppet agents Facter

Page 14: How did puppet change our system's life?

Puppet

Puppet master – Puppet agents Facter Modules Manifest Resource type

Page 15: How did puppet change our system's life?

Some results

Puppet with Linux OS kernel setting Deploy Web cluster Deploy Hadoop cluster

Page 16: How did puppet change our system's life?

Linux OS kernel setting

Usage /etc/sysctl.conf sysctl -w

Before : net.ipv4.ip_forward = 0 After: net.ipv4.ip_forward = 1

Page 17: How did puppet change our system's life?

Deploy Web cluster

Deploy a web node nginx php Folder

Excute parallel in multiple servers Using mcollective* Puppet reports

Page 18: How did puppet change our system's life?

Deploy Hadoop cluster

Having many roles Each server keep some roles

Page 19: How did puppet change our system's life?

Config management tool

Open new feature

Page 20: How did puppet change our system's life?

Config management tool

Open new feature Living Documentation (*)

(*) http://bit.ly/1hkaTnj

Page 21: How did puppet change our system's life?

Config management tool

Open new feature Living Documentation (*) Consistent

configuration

(*) http://bit.ly/1hkaTnj

Page 22: How did puppet change our system's life?

Config management tool

Open new feature Living Documentation (*) Consistent configuration

DevOps

(*) http://bit.ly/1hkaTnj

Page 23: How did puppet change our system's life?

Life change

Improve performance New skills Have more free time

Page 24: How did puppet change our system's life?

Q&A