Servers as Pets v. Servers as Cattle
-
Upload
radamanthus-batnag -
Category
Business
-
view
1.849 -
download
5
description
Transcript of Servers as Pets v. Servers as Cattle
Servers as Pets v.Servers as Cattle
Radamanthus Batnag
Saturday, October 12, 13
http://github.com/radamanthushttp://rad.batnag.org
Application Support Engineer at Engine Yard
Saturday, October 12, 13
http://www.slideshare.net/gmccance/cern-data-centre-evolution
CERN Data Center Evolution
Saturday, October 12, 13
PetsSaturday, October 12, 13
PetsSaturday, October 12, 13
PetsSaturday, October 12, 13
Pets
• Pets are given names like pussinboots.cern.ch
• They are unique, lovingly hand raised and cared for
• When they get ill, you nurse them back to health
Saturday, October 12, 13
CattleSaturday, October 12, 13
CattleSaturday, October 12, 13
Cattle
• Cattle are given names numbers like vm0042.cern.ch
• They are almost identical to other cattle
• When they get ill, you...
Saturday, October 12, 13
...get another oneSaturday, October 12, 13
2004
JBoss SQLServer
Production
Saturday, October 12, 13
2005
JBoss SQLServer
Production
JBoss SQLServer
Staging
Saturday, October 12, 13
2007
JBoss SQLServer
Trinity Production
JBoss SQLServer
Trinity Staging
Apache/Mongrels PostgreSQL
Neo Staging
App1
PostgreSQL
Neo Production
App2
Cache
smtp
Intranet
Saturday, October 12, 13
2010
app1 app2
db
Staging
JBos SQLSer
Trinity
app1
Production
app2 app3 app4
cache smtp db master db slave
app5 app6 app7 app8 app9 app10
admin solr1 solr2
app1 app2
db
New App Production
sphinx
app1
db
New App Staging
sphinx
Saturday, October 12, 13
Engine Yard
Saturday, October 12, 13
Engine YardSaturday, October 12, 13
Factory!Saturday, October 12, 13
Saturday, October 12, 13
Saturday, October 12, 13
Provisioning Tools
• Puppet - http://puppetlabs.com/
• Chef - http://www.opscode.com/chef/
• Ansible - http://www.ansibleworks.com/
• DIY
Saturday, October 12, 13
“Future application architectures should use Cattle but Pets with strong configuration management are viable
and still needed.”
Saturday, October 12, 13
Credits• http://www.slideshare.net/gmccance/cern-data-centre-evolution
• http://eofdreams.com/data_images/dreams/cat/cat-07.jpg
• http://upload.wikimedia.org/wikipedia/commons/2/22/Turkish_Van_Cat.jpg
• http://www.freegreatpicture.com/cat/photo-1562
• http://www.collisiondetection.net/images/cow_herd.jpg
• http://imgc.artprintimages.com/images/art-print/bobby-haas-a-large-herd-of-cattle-being-driven-to-richer-grasslands_i-G-37-3731-7ZDZF00Z.jpg
• http://upload.wikimedia.org/wikipedia/en/a/aa/CattleRestrainedForSlaughter.jpg
• http://www.clker.com/cliparts/I/x/g/a/v/N/new-cow-hi.png
• http://d75822.medialib.glogster.com/media/ff/fff1da0084e911a530554eb577d29aefe31a0a6f0a16ecee8551d42bbae56227/factory-png.png
• https://www.digitalocean.com/community/articles/how-to-install-rails-and-nginx-with-passenger-on-ubuntu
Saturday, October 12, 13