how did puppet change our system's life?
TRANSCRIPT
HOW DID PUPPET CHANGE OUR LIFE?
Introduction
Phùng Đắc Hưng
System Engineer at VNG Corporation
{Gmail, Twitter}/dachung666
Life when begin
Works Single Direct Small
Life before Puppet
Series Repeat Many roles
Solutions
Bash shell
Solutions
Bash shell Terminator
Solutions
Bash shell Terminator
Fabric python
Problems
Time to deploy High human error rate Misconfig Hard to manage
Config management tool
We have Centralized configurations, settings Declarative language Excute parallel Speed
Config management tool
We have Centralized configurations, settings Declarative language Excute parallel Speed
We have CFEngine Chef Puppet SaltStack
Puppet About Puppet
http://www.puppetlabs.com/
Puppet
Puppet master – Puppet agents
Puppet
Puppet master – Puppet agents Facter
Puppet
Puppet master – Puppet agents Facter Modules Manifest Resource type
Some results
Puppet with Linux OS kernel setting Deploy Web cluster Deploy Hadoop cluster
Linux OS kernel setting
Usage /etc/sysctl.conf sysctl -w
Before : net.ipv4.ip_forward = 0 After: net.ipv4.ip_forward = 1
Deploy Web cluster
Deploy a web node nginx php Folder
Excute parallel in multiple servers Using mcollective* Puppet reports
Deploy Hadoop cluster
Having many roles Each server keep some roles
Config management tool
Open new feature
Config management tool
Open new feature Living Documentation (*)
(*) http://bit.ly/1hkaTnj
Config management tool
Open new feature Living Documentation (*) Consistent
configuration
(*) http://bit.ly/1hkaTnj
Config management tool
Open new feature Living Documentation (*) Consistent configuration
DevOps
(*) http://bit.ly/1hkaTnj
Life change
Improve performance New skills Have more free time
Q&A