Morgan Rhodes
2010-Jun-16 00:47 UTC
[Puppet Users] Multiple puppetmasters using DNS round-robin
Hi, I''m trying to set it up so that my puppet clients can connect to any of a group of puppetmasters set up with aliases to a common hostname and DNS round-robin. The round-robin setup seems to be working, as I can see ping, gethostbyname, etc connecting cyclically to each of the puppetmasters. However, running puppetd on the clients always result in the request going to a single puppetmaster. Has anyone been able to get this working? I''m running with puppet 0.24.9. Thanks! Morgan -- 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.
Ohad Levy
2010-Jun-16 02:42 UTC
Re: [Puppet Users] Multiple puppetmasters using DNS round-robin
Hi Morgan, You actually want that once a client started to communicate with a master, it should keep on connecting to the same master for the duration of its run. esp in 0.24.x, the only way for a server to know in which environment the client is, is by looking at its cache (created when the facts / catalog were compliled). IMHO, you can just use some simple round robin in your puppet.conf template instead of using DNS round robin at all (at-least, until puppet support it nativity ). my 2 cents, Ohad On Wed, Jun 16, 2010 at 8:47 AM, Morgan Rhodes <morgan.rhodes@gmail.com>wrote:> Hi, > > I''m trying to set it up so that my puppet clients can connect to any > of a group of puppetmasters set up with aliases to a common hostname > and DNS round-robin. The round-robin setup seems to be working, as I > can see ping, gethostbyname, etc connecting cyclically to each of the > puppetmasters. However, running puppetd on the clients always result > in the request going to a single puppetmaster. Has anyone been able > to get this working? I''m running with puppet 0.24.9. > > Thanks! > Morgan > > -- > 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.