Infrastructure Engineering

1,591 views
1,521 views

Published on

Automating your infrastructure using configuration management tools

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,591
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Infrastructure Engineering

  1. 1. Infrastructure Engineering Bryan McLellan http:// loftninjas.org btm@loftninjas.org Systems Administrator Widemile
  2. 2. Landing Page Optimization (LPO) or Proprietary Testing, Optimization and Predictive Analytics Technology (smart people) Partner Program (Recently Launched) Full Service Clients
  3. 3. The secret goal of an SA Never having to say you’re sorry… Or never having to do something twice Once is a problem worth solving Twice and you’re a monkey Objective: Systems/Network engineering position that will capitalize on my adaptive technical skills to provide scalable solutions to unique problems http://www.flickr.com/photos/junewess/2111679056/
  4. 4. Chaining Tools & Frameworks Puppet, Facter, Capistrano & iClassify (Open Source Software) http://xkcd.com/444/
  5. 5. Automation Building Systems Virtualization • Installing the OS PXE Boot • Installing software Package management • Configuring Software Puppet • Maintenance iClassify • Monitoring Capistrano • Documentation Nagios/Munin • Disaster Recovery •
  6. 6. Life at Widemile Build a new server cap -S recipe=vmware -S host=vmware06 -S hostname=quot;syslog01.prod.widemile.comquot; -S network=prod build 1. Capistrano recipe (ruby) 2. Builds a vmware vmx config file including virtual network interfaces (erb) 3. Creates virtual disk 4. Grabs generated MAC address, feeds it to the tftp server. 5. Starts VM 6. VM PXE boots, installs debian automatically (preseed) 7. Grabs IP address from DHCP logs so you know where to ssh in 10 minutes
  7. 7. Life at Widemile Puppify cap -S recipe=debian_client -S client=syslog01 -S master=prod-ops01 build 1. Capistrano recipe (ruby) 2. Configures sources.list and bits needed to get the truck rolling 3. Installs puppet/facter/icagent (iClassify) 4. Generates and signs puppet keys 5. Runs puppet
  8. 8. Life at Widemile Tagging:
  9. 9. Life at Widemile Go for a bike ride and enjoy refreshing beverages in the park http://www.flickr.com/photos/mattw/2655550820/
  10. 10. facter Rubys scripts collect data, “facts” are available as iClassify attributes and puppet variables
  11. 11. puppet
  12. 12. munin 28 lines without comments, 241 lines without comments once deployed
  13. 13. http://loftninjas.org “Parallel to the ‘Developer’ tribe in most organizations, often with a semi-antagonistic mutual dependence, there was always another tribe: ‘Sysadmin’. When Developers and Sysadmins got together, it sometimes felt like the dwarfs and high elves forced to work together by necessity. (I’ll let you workout which is which.)” http://stochasticresonance.wordpress.com

×