@@ -113,6 +113,7 @@ Supported use cases:
113
113
* [ ` peadm::backup_ca ` ] ( #peadm--backup_ca )
114
114
* [ ` peadm::convert ` ] ( #peadm--convert ) : Convert an existing PE cluster to a PEAdm-managed cluster
115
115
* [ ` peadm::install ` ] ( #peadm--install ) : Install a new PE cluster
116
+ * [ ` peadm::migrate ` ] ( #peadm--migrate ) : Migrate a PE installation to new host(s)
116
117
* [ ` peadm::modify_certificate ` ] ( #peadm--modify_certificate ) : Modify the certificate of one or more targets
117
118
* [ ` peadm::replace_failed_postgresql ` ] ( #peadm--replace_failed_postgresql ) : Replaces a failed PostgreSQL host
118
119
* [ ` peadm::restore ` ] ( #peadm--restore ) : Restore puppet primary configuration
@@ -124,7 +125,6 @@ Supported use cases:
124
125
#### Private Plans
125
126
126
127
* ` peadm::convert_compiler_to_legacy `
127
- * ` peadm::migrate ` : Migrate a PE primary server to a new host - Note: this plan is a work in progress and it
128
128
* ` peadm::misc::divert_code_manager ` : This plan exists to account for a scenario where a PE XL
129
129
* ` peadm::modify_cert_extensions `
130
130
* ` peadm::subplans::component_install ` : Install a new PEADM component
@@ -2393,6 +2393,65 @@ Data type: `String`
2393
2393
2394
2394
Default value: ` '1y' `
2395
2395
2396
+ ### <a name =" peadm--migrate " ></a >` peadm::migrate `
2397
+
2398
+ Migrate a PE installation to new host(s)
2399
+
2400
+ #### Parameters
2401
+
2402
+ The following parameters are available in the ` peadm::migrate ` plan:
2403
+
2404
+ * [ ` old_primary_host ` ] ( #-peadm--migrate--old_primary_host )
2405
+ * [ ` new_primary_host ` ] ( #-peadm--migrate--new_primary_host )
2406
+ * [ ` upgrade_version ` ] ( #-peadm--migrate--upgrade_version )
2407
+ * [ ` replica_host ` ] ( #-peadm--migrate--replica_host )
2408
+ * [ ` primary_postgresql_host ` ] ( #-peadm--migrate--primary_postgresql_host )
2409
+ * [ ` replica_postgresql_host ` ] ( #-peadm--migrate--replica_postgresql_host )
2410
+
2411
+ ##### <a name =" -peadm--migrate--old_primary_host " ></a >` old_primary_host `
2412
+
2413
+ Data type: ` Peadm::SingleTargetSpec `
2414
+
2415
+ The existing PE primary server that will be migrated from
2416
+
2417
+ ##### <a name =" -peadm--migrate--new_primary_host " ></a >` new_primary_host `
2418
+
2419
+ Data type: ` Peadm::SingleTargetSpec `
2420
+
2421
+ The new server that will become the PE primary server
2422
+
2423
+ ##### <a name =" -peadm--migrate--upgrade_version " ></a >` upgrade_version `
2424
+
2425
+ Data type: ` Optional[String] `
2426
+
2427
+ Optional version to upgrade to after migration is complete
2428
+
2429
+ Default value: ` undef `
2430
+
2431
+ ##### <a name =" -peadm--migrate--replica_host " ></a >` replica_host `
2432
+
2433
+ Data type: ` Optional[Peadm::SingleTargetSpec] `
2434
+
2435
+ Optional new replica server to be added to the cluster
2436
+
2437
+ Default value: ` undef `
2438
+
2439
+ ##### <a name =" -peadm--migrate--primary_postgresql_host " ></a >` primary_postgresql_host `
2440
+
2441
+ Data type: ` Optional[Peadm::SingleTargetSpec] `
2442
+
2443
+ Optional new primary PostgreSQL server to be added to the cluster
2444
+
2445
+ Default value: ` undef `
2446
+
2447
+ ##### <a name =" -peadm--migrate--replica_postgresql_host " ></a >` replica_postgresql_host `
2448
+
2449
+ Data type: ` Optional[Peadm::SingleTargetSpec] `
2450
+
2451
+ Optional new replica PostgreSQL server to be added to the cluster
2452
+
2453
+ Default value: ` undef `
2454
+
2396
2455
### <a name =" peadm--modify_certificate " ></a >` peadm::modify_certificate `
2397
2456
2398
2457
Certificates can be modified by adding extensions, removing extensions, or
0 commit comments