This function is supported only for EC.
The original or clone unit property can be swapped for clone pairs. This swaps the direction of local replication: what were initially original units become clone units, and the clone units become the new original units.
Swapping can take place when the clone pairs are in the SPLIT
status and after separate processing on the unit and clone unit has been concluded.
After swapping the clone pairs remain in the SPLIT
status. The original units and clone units remain accessible.
Swapping the replication direction enables the changes made on the original clone unit to be transferred to the original unit. To do this, restart the clone session after swapping (/RESTART-CLONE-SESSION
command).
Prerequisite
The clone unit is in SPLIT
status after /ACTIVATE-CLONE
.
Initiating the swap
Swap the properties of the original units and the clone units:
/SWAP-CLONE-SESSION UNIT=*BY-PUBSET(PUBSET=<cat-id>) / *BY-VOLUME(<vsn>) / <unit MN> /...
The RENAME-PUBSET
operand enables you to rename the pubsets with the new original units provided the pubsets are exported.
Further sequence of operations
Console message NDE0061
indicates that the swap process has been completed.
The clone pairs remain in the SPLIT
status. The statuses of other EC clone units of the unit remain unchanged.
The new clone units remain accessible. The clone session can be resumed using /RESTART-CLONE-SESSION.