[chef] Re: chef server rebuild?


Chronological Thread 
  • From: DV < >
  • To: " " < >
  • Subject: [chef] Re: chef server rebuild?
  • Date: Tue, 1 Jul 2014 12:34:48 -0700

On the Chef server side, you back up chef-server data repositories (PostgreSQL stores private keys for nodes, users, clients, etc; Solr stores search index; Bookshelf stores cookbooks, data bags, etc). On the node side, you back up /etc/chef/client.pem and /etc/chef/client.rb, the files chef-client uses to identify itself and locate Chef server.


On Tue, Jul 1, 2014 at 11:46 AM, < " target="_blank"> > wrote:
I'm new to chef, but looking at setting up a chef server for serving cookbooks
to a few dozen nodes.

I've been through the tutorials, but have started to wonder about the chef
server.

For example, If I have 20+ nodes connected to the chef server, all those nodes
were set up via knife bootstrap, specifying a “node” name, "websrv01" or
"dbsrv03"... Chef server crashes, and needs to be rebuilt. I reinstall the OS
on the server, put on chef server, put on the run lists and put all the
cookbooks back.

How does the chef server identify some server running chef-client as node
“websrv04"? How can I save away and restore that node information?



--
Best regards, Dmitriy V.



Archive powered by MHonArc 2.6.16.

§