Ask Your Question

Using Puppet to backup puppet master?

asked 2013-04-25 11:08:54 -0600

Red Cricket gravatar image

updated 2013-04-25 17:24:07 -0600


I have a puppet master (Puppet Enterprise 2.7) and I was wondering if anyone has ever used puppet's functionality to keep a "hot backup" in sync with the "primary" puppet master? The idea being that if all my agents/nodes use a DNS alias (CNAME) for their puppet master and if the "primary" puppet master becomes unavailable, all that I would need to do is change the CNAME alias to point to my "hot backup".

Thank you!


Instead of setting up shared storage (which I won't get anyone in my org to approve), I was ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-25 13:55:55 -0600

Ancillas gravatar image

updated 2013-04-26 01:22:20 -0600

The challenge here is making sure that the certificates are synced up across your masters. A common way to do this is by using a shared file system for the certs.

Your modules would be synced either with a shared file system, like the certs, or by making your deploy process deploy to both masters at the same time when you release your Puppet code.

Then, because your modules, environments and certs are in sync, you just swing your DNS, and move on with life.


Fair warning that the solution to the problem is really getting to the point ... (more)

edit flag offensive delete link more


thank you for your response. I have updated my question in response to your answer.

Red Cricket gravatar imageRed Cricket ( 2013-04-25 17:24:41 -0600 )edit

complicated? yes, but hopefully not too so. I think your post may just work. I haven't tested anything yet, but thank you for the coherent response!

Red Cricket gravatar imageRed Cricket ( 2013-04-25 23:08:06 -0600 )edit

If this solved your problem, would you close the issue so that it shows up as "solved" in the question list?

Ancillas gravatar imageAncillas ( 2013-04-30 00:52:21 -0600 )edit

Haven't tried it out yet.

Red Cricket gravatar imageRed Cricket ( 2013-04-30 10:21:14 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-25 11:08:54 -0600

Seen: 435 times

Last updated: Apr 26 '13