Hi, how to install puppet client thru puppet master . My requirement is to install puppet client nearly 400 client servers. its difficult to install puppet client in all the servers by apt- get . share u r suggestions . Regards chebrian -- 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.
We have 600 compute nodes, and we face the same issue. Fortunately, all of our nodes (except for 10 dual-homed gateways) are on a private 10.x.x.x network, so once someone is authenticated he or she can rsh around the cluster. So, we used multi-rsh to do the initial work for us. I created a tarball with everything the client needed to get itself up and running: ruby, facter, config file, the works. Then multi-rsh pushed the tarball to the boxes, untarred the file and launched the client. From there is was a matter of signing all the cert requests, then waiting for all the boxes to settle down. I spent a day using our test cluster to get everything working correctly, I even compiled ruby from source. This make upgrading puppet on the clients a breeze. I create a new tarball, and untar it across the cluster, restart the clients, and in a few minutes all 600 nodes are upgraded. Again, this is possible because we use rsh after authentication so multi-rsh just works. ~Charles~ On Tue, May 24, 2011 at 8:55 AM, CHEBRIAN <ksd.che@gmail.com> wrote:> Hi, > > how to install puppet client thru puppet master . > > My requirement is to install puppet client nearly 400 client servers. > > its difficult to install puppet client in all the servers by apt- > get . > > share u r suggestions . > > Regards > > chebrian > > -- > 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. > >-- 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 24, 8:55 am, CHEBRIAN <ksd....@gmail.com> wrote:> Hi, > > how to install puppet client thru puppet master .It is via the puppet client (or the local puppet executable) that Puppet applies changes to a system. If the client is not present on a given node then nothing the master can do will change that.> My requirement is to install puppet client nearly 400 client servers. > > its difficult to install puppet client in all the servers by apt- > get . > > share u r suggestions .The problem is one of scale? I mean, if you only had 10 servers to worry about, then would you still be posing the question? If you already have some method (inferior to Puppet, or you wouldn''t be here) of helping to automate the management of your servers, then apply that to the task. If not, then you may be able to script up a solution based on ssh/rsh and a list of server names. Otherwise, I''m not sure what you''re hoping to hear -- I mean, would you be *happy* to find that an external program could install random software on your servers without prior setup and authorization? John -- 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 24 May 2011 23:55, CHEBRIAN <ksd.che@gmail.com> wrote:> how to install puppet client thru puppet master . > > My requirement is to install puppet client nearly 400 client servers. > > its difficult to install puppet client in all the servers by apt- > get . > > As others have said, a for loop ssh if you have root trust to your 400servers As an FYI, we have 5.5K servers, and the way we are installing puppet is doing a server rebuild (with puppet) - so the puppet client is installed at jumpstart/kickstart time As you can imaging, it will be time consuming. I think you might just have to accept the initial hit of work for the puppet goodness that will follow Regards John -- 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.
Yeah, a for loop with ssh is probably your best bet to get moving with puppet initially. Longer term you may want to consider pairing Puppet with something like Marionette, but configuring Marionette is easier once you have Puppet in place... it''s a bit of chicken and egg. Ideally you pick some tools to manage your servers before you grow to that size, but if not, then you need to spend some time installing tools to manage that level of servers. The piper must be paid. Here at Livemocha we have some 100+ servers and using Puppet and Marionette has been invaluable. We do some administration with a python script that replaced our for ssh loop, but a large part of the heavy lifting is done via Puppet. Since we don''t run Puppet in daemon mode, most of the time we use the script is to kick off a Puppet run manually, which we''re migrating to using Marionette for (but sometimes it''s nice to see all of the output, even if it takes longer without parallelization). -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, May 24, 2011 at 4:03 PM, John Warburton <jwarburton@gmail.com>wrote:> On 24 May 2011 23:55, CHEBRIAN <ksd.che@gmail.com> wrote: > >> how to install puppet client thru puppet master . >> >> My requirement is to install puppet client nearly 400 client servers. >> >> its difficult to install puppet client in all the servers by apt- >> get . >> >> As others have said, a for loop ssh if you have root trust to your 400 > servers > > As an FYI, we have 5.5K servers, and the way we are installing puppet is > doing a server rebuild (with puppet) - so the puppet client is installed at > jumpstart/kickstart time > > As you can imaging, it will be time consuming. I think you might just have > to accept the initial hit of work for the puppet goodness that will follow > > Regards > > John > > -- > 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. >-- 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.
CHEBRIAN wrote:> Hi, > > how to install puppet client thru puppet master . > > My requirement is to install puppet client nearly 400 client servers. > > its difficult to install puppet client in all the servers by apt- > get . > > share u r suggestions . > > Regards > > chebrian >We only (will) have about 100 clients. We install puppet clients during initial Ubuntu installation. A postinstall script that comes in preseed file. This downloads and installs puppet and facter gems. But if you want to add puppet to already installed systems then I don''t see much beside using the rsh/ssh approach already proposed. Maybe using pdsh if your servernames make for looping difficult. regards, Andreas -- 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.
Have you looked at clusterssh? -- vagn On 06/21/2011 12:01 PM, Andreas Kuntzagk wrote:> > CHEBRIAN wrote: >> Hi, >> >> how to install puppet client thru puppet master . >> >> My requirement is to install puppet client nearly 400 client servers. >> >> its difficult to install puppet client in all the servers by apt- >> get . >> >> share u r suggestions . >> >> Regards >> >> chebrian >> > > We only (will) have about 100 clients. We install puppet clients > during initial Ubuntu installation. A postinstall script that comes in > preseed file. This downloads and installs puppet and facter gems. > But if you want to add puppet to already installed systems then I > don''t see much beside using the rsh/ssh approach already proposed. > Maybe using pdsh if your servernames make for looping difficult. > > regards, Andreas >-- 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.