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_replica
plan to expand to a standard disaster recovery or large disaster recovery installation. - An extra-large PEADM installation must first use the
peadm::add_database
plan to prepare a replica-postgresql node before using thepeadm::add_replica
to complete expansion to an extra-large disaster recovery installation. When running thepeadm::add_replica
plan, you must also set thereplica_postgresql_host
parameter to the database host you just added with thepeadm::add_database
plan. - 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::agent
parameters 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