[chef] Re: Bootstrapping a lot of nodes


Chronological Thread 
  • From: Kenneth Barry < >
  • To: " " < >
  • Subject: [chef] Re: Bootstrapping a lot of nodes
  • Date: Wed, 21 May 2014 10:13:49 -0700

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"> > 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.

§