@@ -111,6 +111,7 @@ Supported use cases:
111111* [ ` peadm::backup_ca ` ] ( #peadm--backup_ca )
112112* [ ` peadm::convert ` ] ( #peadm--convert ) : Convert an existing PE cluster to a PEAdm-managed cluster
113113* [ ` peadm::install ` ] ( #peadm--install ) : Install a new PE cluster
114+ * [ ` peadm::migrate ` ] ( #peadm--migrate ) : Migrate a PE installation to new host(s)
114115* [ ` peadm::modify_certificate ` ] ( #peadm--modify_certificate ) : Modify the certificate of one or more targets
115116* [ ` peadm::replace_failed_postgresql ` ] ( #peadm--replace_failed_postgresql ) : Replaces a failed PostgreSQL host
116117* [ ` peadm::restore ` ] ( #peadm--restore ) : Restore puppet primary configuration
@@ -122,7 +123,6 @@ Supported use cases:
122123#### Private Plans
123124
124125* ` peadm::convert_compiler_to_legacy `
125- * ` peadm::migrate ` : Migrate a PE primary server to a new host - Note: this plan is a work in progress and it
126126* ` peadm::misc::divert_code_manager ` : This plan exists to account for a scenario where a PE XL
127127* ` peadm::modify_cert_extensions `
128128* ` peadm::subplans::component_install ` : Install a new PEADM component
@@ -2361,6 +2361,65 @@ Data type: `String`
23612361
23622362Default value: ` '1y' `
23632363
2364+ ### <a name =" peadm--migrate " ></a >` peadm::migrate `
2365+
2366+ Migrate a PE installation to new host(s)
2367+
2368+ #### Parameters
2369+
2370+ The following parameters are available in the ` peadm::migrate ` plan:
2371+
2372+ * [ ` old_primary_host ` ] ( #-peadm--migrate--old_primary_host )
2373+ * [ ` new_primary_host ` ] ( #-peadm--migrate--new_primary_host )
2374+ * [ ` upgrade_version ` ] ( #-peadm--migrate--upgrade_version )
2375+ * [ ` replica_host ` ] ( #-peadm--migrate--replica_host )
2376+ * [ ` primary_postgresql_host ` ] ( #-peadm--migrate--primary_postgresql_host )
2377+ * [ ` replica_postgresql_host ` ] ( #-peadm--migrate--replica_postgresql_host )
2378+
2379+ ##### <a name =" -peadm--migrate--old_primary_host " ></a >` old_primary_host `
2380+
2381+ Data type: ` Peadm::SingleTargetSpec `
2382+
2383+ The existing PE primary server that will be migrated from
2384+
2385+ ##### <a name =" -peadm--migrate--new_primary_host " ></a >` new_primary_host `
2386+
2387+ Data type: ` Peadm::SingleTargetSpec `
2388+
2389+ The new server that will become the PE primary server
2390+
2391+ ##### <a name =" -peadm--migrate--upgrade_version " ></a >` upgrade_version `
2392+
2393+ Data type: ` Optional[String] `
2394+
2395+ Optional version to upgrade to after migration is complete
2396+
2397+ Default value: ` undef `
2398+
2399+ ##### <a name =" -peadm--migrate--replica_host " ></a >` replica_host `
2400+
2401+ Data type: ` Optional[Peadm::SingleTargetSpec] `
2402+
2403+ Optional new replica server to be added to the cluster
2404+
2405+ Default value: ` undef `
2406+
2407+ ##### <a name =" -peadm--migrate--primary_postgresql_host " ></a >` primary_postgresql_host `
2408+
2409+ Data type: ` Optional[Peadm::SingleTargetSpec] `
2410+
2411+ Optional new primary PostgreSQL server to be added to the cluster
2412+
2413+ Default value: ` undef `
2414+
2415+ ##### <a name =" -peadm--migrate--replica_postgresql_host " ></a >` replica_postgresql_host `
2416+
2417+ Data type: ` Optional[Peadm::SingleTargetSpec] `
2418+
2419+ Optional new replica PostgreSQL server to be added to the cluster
2420+
2421+ Default value: ` undef `
2422+
23642423### <a name =" peadm--modify_certificate " ></a >` peadm::modify_certificate `
23652424
23662425Certificates can be modified by adding extensions, removing extensions, or
0 commit comments