Hi, Is there any way to define multiple puppet servers in client configuration so that if my one puppet server is down then my production config changes can be applied from other puppet server. I am using apache and Mongrel for puppet load balancing. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
not that I''m aware of, but a poor mans solution would be to run puppet via cron, and check which server can be used at that time. e.g. get load of all puppet servers, and use the least busy one it would be nice to have a DNS SRV record for puppet. Ohad On Fri, May 14, 2010 at 1:53 PM, Abhishek <abhishek.rhce@gmail.com> wrote:> Hi, > > Is there any way to define multiple puppet servers in client > configuration so that if my one puppet server is down then my > production config changes can be applied from other puppet server. I > am using apache and Mongrel for puppet load balancing. > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/05/10 4:14 PM, Ohad Levy wrote:> not that I''m aware of, but a poor mans solution would be to run puppet > via cron, and check which server can be used at that time. > > e.g. get load of all puppet servers, and use the least busy one > > it would be nice to have a DNS SRV record for puppet. >http://projects.puppetlabs.com/issues/3669 Please feel free to add comments/requirements. Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBS+zt6SFa/lDkFHAyAQISAggAndp+esoeWBvBJ3d57apBI4xcpkhFRKQc IDLxDui+GDVlKD5pxzcooY95BUcwE6JaT1o3senq9weHErfp/0ylR3yFtgSr2nmI 0MX496eMgzJW8+PEe1Qi/7UWCjgD7MpSRtOHsTxeZisC8MCC0+XzY7bWRGwYX1N7 lvO8weapXqbUdmwfIEOVC+dJTNZ2i2f/H2lllhfmorX+W11wxV1s15oKav/vtevA 8s9fcJVLRqxG8c/SRn8ro88/GGpJukGylmnvxykJFaQ7eOrHsFS4GLn3DeDqoTxr Odmq2kYzCiW3amOelEZUjMu1o8UEga+XVEw/g//Bg/+Uw1zpgedG9g==bW8l -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, 2010-05-13 at 22:53 -0700, Abhishek wrote:> Hi, > > Is there any way to define multiple puppet servers in client > configuration so that if my one puppet server is down then my > production config changes can be applied from other puppet server. I > am using apache and Mongrel for puppet load balancing. > >Multiple A records and Round Robin DNS? (Caveat: I''ve never tried this but in theory it should work! :) ) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On May 13, 10:53 pm, Abhishek <abhishek.r...@gmail.com> wrote:> Hi, > > Is there any way to define multiple puppet servers in client > configuration so that if my one puppet server is down then my > production config changes can be applied from other puppet server. I > am using apache and Mongrel for puppet load balancing.I''ve been waiting for http://projects.puppetlabs.com/issues/1866 (Support for specification of multiple servers). 3669 looks to duplicate a lot of the functionality. The obvious difference being static config or SRV records providing the list of available hosts. Personally I''d be pleased with either one. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>Hi, > >Is there any way to define multiple puppet servers in client >configuration so that if my one puppet server is down then my >production config changes can be applied from other puppet server. I >am using apache and Mongrel for puppet load balancing. >Shouldn''t your load balancing take care of that, then? This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. http://www.encana.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, May 14, 2010 at 2:26 PM, Kinzel, David <David.Kinzel@encana.com> wrote:>>Hi, >> >>Is there any way to define multiple puppet servers in client >>configuration so that if my one puppet server is down then my >>production config changes can be applied from other puppet server. I >>am using apache and Mongrel for puppet load balancing. >> > > Shouldn''t your load balancing take care of that, then?*yes* .. that, or as mentioned round robin DNS works, provided you have your trust set up correctly. We recommend using just one host as the certificate authority though, and then you just make sure the same puppet manifests are checked out on all nodes. IMHO we need better docs on setting up trust in the those configurations on our web site -- pointers on how people are doing it today would be good to include. --Michael -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> I''ve been waiting forhttp://projects.puppetlabs.com/issues/1866 > (Support for specification of multiple servers). 3669 looks to > duplicate a lot of the functionality. The obvious difference being > static config or SRV records providing the list of available hosts. > Personally I''d be pleased with either one.Agreed. Looks like the features are tied. To deliver all the failover-style discussed functionality of 3669 you would have to provide the underlying hooks to 1866 anyway. You liking this scope creep yet James? :-). DK> Shouldn''t your load balancing take care of that, then? True. My own problem is that it requires another team to implement LB which adds time and effort. The problem is not technical but logistical/ procedural. Also I just realised - if the client does it using SRV with weights and priorities - you get global server load balancing built in. Cool bananas. ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On May 14, 1:39 pm, Ken <k...@bob.sh> wrote:> Also I just realised - if the client does it using SRV with weights > and priorities - you get global server load balancing built in. Cool > bananas. > > ken.That exact functionality is actually a big benefit to me. As an example we have multiple geo locations, with each location having 1+ room. Getting the global availability is very nice. I''d certainly like to avoid the tricks that can be played with Anycast and dynamic DNS views. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.