>>- svctask -- -- switchrcconsistgrp -- ------------------------> >-- -primary --+- master -+--+- rc_consist_group_id ---+------->< '- aux ----' '- rc_consist_group_name -'
This command applies to a consistency group. It is normally issued to reverse the roles of the primary and secondary in a consistency group, perhaps as part of a graceful failover. Write access to the former primary vdisks is lost and write access to the new primary vdisks is acquired. This command will only be successful when the consistency group is in a connected, consistent state, and when reversing the direction of the relationships would not lead to a loss of consistency, for example, when the consistency group is consistent and synchronized. This command will therefore only succeed when the consistency group is in one of the following states:
The consistency group moves to the ConsistentSynchronized state after successful completion of this command. If you specify the -primary argument with the current primary, the command has no affect.
An invocation example
svctask switchrcconsistgrp -primary aux rccopy2
The resulting output
No feedback