[chef] Re: Re: Bootstrapping a lot of nodes


Chronological Thread 
  • From: Mike Splain < >
  • To:
  • Subject: [chef] Re: Re: Bootstrapping a lot of nodes
  • Date: Wed, 21 May 2014 13:34:10 -0400

Chef Metal is designed to handle this: https://github.com/opscode/chef-metal

It's ongoing alot of changes but was discussed at ChefConf pretty heavily.  Here's John's talk: https://www.youtube.com/watch?v=Yb8QdL30WgM&index=31&list=PL11cZfNdwNyMmx0msapJfuGsLV43C7XsA

We're working on spinning up a cluster of similar size and chef metal has worked great so far!

Mike


On Wed, May 21, 2014 at 1:13 PM, Kenneth Barry < " target="_blank"> > wrote:
The general idea on how this might be done.

populate a validation.pem, and a client.rb on each node.
Install chef-client on the nodes en mass (should be trivial task for linux or windows)
- This will read the client.rb, and validation.pem and connect to the chef server.


IF you have recipes/roles you want to apply off the bat, you could generate the nodes in the chef server. Then, when the node connects, it creates the matching client, reads its run_list, and BOOM, right after the install is done, when it tries to do chef-client, it will actually have a run_list.


On Wed, May 21, 2014 at 10:00 AM, " target="_blank"> < " target="_blank"> > wrote:

Hi,

  We have a requirement soon to add  several hundred nodes to our OpenSource Chef server. My question is: does anyone know a good way to handle this?

  I’ve googled quite a lot and cannot find much info about do a ‘mass bootstrapping’.

I will have a list of Environments and the nodes contained within those environments, and I suspect with a little ruby code I could get a script together to parse a file containing this information and bootstrap nodes appropriately, but this seems a little inelegant.

  Are there tools out there to help? Anyone devise a good method to do this?

 

Thanks

Chris






Archive powered by MHonArc 2.6.16.

§