Observe the following prerequisites:
The data volumes in the RDS must be inactive, that is, applications that use the Primary data volumes must be stopped.
All Secondaries must be up-to-date.
All attached RLINKs must be in the CONNECT state.
To migrate a healthy Primary from any host in an RDS:
# vradmin -g diskgroup migrate local_rvgname [newprimary_name]
The argument diskgroup is the disk group on the local host
The argument local_rvgname is the name of the RVG on the local host
The argument newprimary_name is the name of the new Primary host, that is, the existing Secondary host. For an RDS with only one Secondary, this argument is optional. Note that the newprimary_name argument must be the host name displayed by the vradmin printrvg command.