EBS 12.2 How can I switch the primary node role from one node to another ?
Hi,
Let's put the context. We have an environment with 4 nodes and need to migrate to 4 new servers.
NODE1_BEFORE(primary),
NODE2_BEFORE(secondary)
NODE3_BEFORE(secondary)
NODE4_BEFORE(secondary)
We clone the NODE1_OLD(primary) to the 3 secondary nodes.
NODE1_OLD(primary) to NODE2_NEW(secondary)
NODE1_OLD(primary) to NODE3_NEW(secondary)
NODE1_OLD(primary) to NODE4_NEW(secondary)
We removed the OLD secondary nodes with adProvisionEBS.pl ebs-delete-node successfully
Now we need to do the same thing with the primary node.
NODE1_OLD(primary) to NODE2_NEW(primary)
So first we clone it as a secondary node because we cannot have the NODE1_OLD(primary) and NODE2_NEW(as secondary) both as primary because it can have only one.