Provision and enable a replica using a PEADM installation
Before you begin:
- Ensure you have completed the steps outlined in the Configure disaster recovery section.
The following outlines the varying processes to provision and enable a replica for standard, large and extra-large PEADM-configured installations.
- A standard or large PEADM installation must use the
peadm::add_replicaplan to expand to a standard disaster recovery or large disaster recovery installation. - An extra-large PEADM installation must first use the
peadm::add_databaseplan to prepare a replica-postgresql node before using thepeadm::add_replicato complete expansion to an extra-large disaster recovery installation. When running thepeadm::add_replicaplan, you must also set thereplica_postgresql_hostparameter to the database host you just added with thepeadm::add_databaseplan. - In a standard disaster recovery configuration, or extra-large disaster recovery
configuration without compilers, you need to manually reset the PE agent node
groups
puppet_enterprise::profile::agentparameters with the new primary/replica addresses.
What to do next
For more information see:
https://github.com/puppetlabs/puppetlabs-peadm/blob/main/documentation/expanding.md






