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, 2019 in Puppet by Namik
• 1,230 points
603 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, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

+1 vote
1 answer

I am running a Jenkins job to sign the certificate by puppet master but it is failing

Refer to https://www.edureka.co/community/55971/puppet-error-while-signing-the-certificates This addresses a similar query like ...READ MORE

answered Mar 13, 2020 in Puppet by Liana
1,088 views
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, 2019 in Puppet by Jason
1,328 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,503 views
+2 votes
1 answer
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, 2019 in Puppet by Sirajul
• 59,230 points
2,573 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP