Your SlideShare is downloading. ×

Puppet Camp Ghent 2013

4,042
views

Published on

Deploying Nginx with Puppet - Pedro Pessoa …

Deploying Nginx with Puppet - Pedro Pessoa

http://www.serverdensity.com/puppetcamp/


2 Comments
5 Likes
Statistics
Notes
  • dorisbabyjacbos106 is a fraudster.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hello
    My name is Doris i saw your lovely profile today in (slideshare.net) and i like it i will like to build a relationship with you if you are interested please do contact me with my direct email id which is (Dorisbaby_2011@yahoo.ca)
    and i will tell you about myself and show you my photo at the same time i will be waiting for your reply
    Don't forget to contact me with my email address (Dorisbaby_2011@yahoo.ca)
    best regard from Doris
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
4,042
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
42
Comments
2
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Adding Forge modules to Puppet Enterprisehttp://www.rankpop.com/you-need-to-start-structuring-your-blog-posts-asap/
  • 2. +15TB / mth+1bn docs /mth2-5k inserts/s @ 3ms12K RPM @ 140ms
  • 3. ServersHTTP Load Balancer – 4xApache - 14xBuild - 2xMongoDB - 20x data, 12x routing, 6x configuration, 1x arbiter,
  • 4. HTTP Load Balancer from Pound to nginxNew product : new load balancernginx :- WebSockets- SPDY standardkeep :- manifests pulled from our Gihub repo bythe puppet master- use of Puppet Console and Live Managementto trigger transient changes
  • 5. Reinventing the wheel (dont)Writing our nginx manifest?- add yet another one to the collectioncommunity reach?- whether our problem had already been solved- or a kick start where we could stand onhttp://www.flickr.com/photos/conskeptical/
  • 6. Going to the Forge
  • 7. Going to the Forge
  • 8. IntegrationA) get the actual code inpuppet module install puppetlabs/nginx(or)git submodule add https://github.com/puppetlabs/puppetlabs­nginx.git B) run it on existing nodesno parameterised classes on PE Console(or)merge our site.pp (which is empty) and the console,it being an ENC and all - (how-merging-works)
  • 9. IntegrationOur solutionclass serverdensity­nginx{    class { nginx: }    nginx::resource::upstream {       socky_rack:          ensure => present,          members => split( $lbTargetHostsSocky, , ),    }(...)
  • 10. nginx on-the-fly updateclass serverdensity­nginx{    class { nginx: }    nginx::resource::upstream {       socky_rack:          ensure => present,          members => split( $lbTargetHostsSocky, , ),    }(...)
  • 11. nginx on-the-fly update
  • 12. nginx on-the-fly update
  • 13. nginx on-the-fly update
  • 14. nginx on-the-fly update
  • 15. AlternativesPuppet Labs nginx module:https://github.com/serverdensity/puppetlabs-nginxforked James Frymans module:https://github.com/jfryman/puppet-nginxpick the later? Puppet Labs last update - 30th June2011.Forge namespace Puppet Labs (kick off early 2013?):- best-in-class- actively maintainedhttps://github.com/serverdensity/puppetlabs-nginx
  • 16. Pedro Pessoapessoa@serverdensity.comhttp://serverdensity.com/puppetcamp/