I have servers that already have chef installed - the old Chef server decommissioned. I need to move to new Chef server. What is the best way to handle?? Thx
Chef-client / server interaction uses public / private key-pairs.
If you have the old chef server, and specifically, the public keys for those clients you can migrate them over to the new chef server; and have your new chef server assume the old server's DNS name. Clients should just connect to it as if nothing's changed.
But, if your old server is already decommissioned and you don't have those keys, you will have to re-bootstrap all of your clients to the new chef server, as those keys are not recoverable.
The old Chef server is gone and no keys…. Do I need to remove the old client.pem on nodes? Anything else I should do before trying to re-boostrap?
I would remove the client.pem and if it still exists the validator.pem.
The client.rb either needs to point to the new chef server, or be destroyed. It may have useful info in it, it may not, depends upon how they were deployed before.