Puppet: Promote a replica to a Master.

0 votes
My puppet master can’t be restored, and so i want to promote the replica to master such that it is the new permanent master.How do i go about doing this?
Aug 1 in Puppet by Namik
• 1,200 points
10 views

1 answer to this question.

0 votes
  • Verify that the master is permanently offline.
    If the master comes back online during promotion, your agents can get confused trying to connect to two active masters.

  • On the replica, as the root user, run puppet infrastructure promote replica
    Promotion can take up to the amount of time it took to install PE initially. Don’t make code or classification changes during or after promotion.

  • When promotion is complete, update any systems or settings that refer to the old master, such as PE client tool configurations, Code Manager hooks, Razor brokers, and CNAME records.

  • Deploy updated configuration to nodes by running Puppet or waiting for the next scheduled run.

  • (Optional) Provision a new replica in order to maintain high availability.

    Note: Agent configuration must be updated before provisioning a new replica. If you re-use your old master’s node name for the new replica, agents with outdated configuration might use the new replica as a master before it’s fully provisioned.

answered Aug 1 by Sirajul
• 19,670 points

Related Questions In Puppet

0 votes
1 answer
0 votes
0 answers
0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12 in Puppet by Jason
86 views
0 votes
1 answer

How to connect my puppet master to PuppetDB?

Working on your Puppet master server(s), follow all ...READ MORE

answered Jul 30 in Puppet by Sirajul
• 19,670 points
19 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
124 views
0 votes
1 answer
0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24 in Puppet by Sirajul
• 19,670 points
40 views
0 votes
1 answer