We need to migrate ~3000 machines to a new puppet server.
What is the recommended method of doing this, considering the cert issues?
Thanks,
-Roy Nielsen
Did this recently, basically:
Create a new module to do the work, that:
Upgrades the client
Drops in a new config
Removes old cert from client
Bounces the service
Did about 98% of our ~1600 systems with this, worked well, moved things as they checked in instead of one big push.
Not much, just make sure you generate a cert for the new puppet master
using the existing CA cert. You should not need to replace the
existing agent certs, and this give you an easy way to fail back in
case you run into any issues.
Migrate puppet manifests/configuration.
Copy the old puppet server ssl directory to the new master (replace
everything in there).
Generate a new cert for the new puppet master
$ puppet master --no-daemonize -v
Run puppet cert -p and check the new puppet master cert is signed by
the same CA as existing agent certs.
Test an existing agent against the new master.
$ puppet agent --server new_master -t --noop
Update DNS to new puppet master.
Thanks,
Nan
This sounds like a good idea. I find certificates endlessly confusing -
can you please spell this out in detail?
Thanks,
Jonathan
http://www.masterzen.fr/2010/11/14/puppet-ssl-explained/
> Thanks,
> Jonathan
-Naresh V.