Perform the following procedure to prepare the systems on the primary site for the SFW upgrade in a Volume Replicator environment.
Note: |
Before you prepare the nodes on the primary site, ensure that you have upgraded SFW and performed the post-upgrade tasks on the secondary site. |
To upgrade the cluster in a Volume Replicator environment, you must first stop the replicated volume group (RVG) to detach the replication links and disassociate the replication logs between the primary and secondary site.
To prepare the primary site
vxprint -lVP [-g diskgroup_name]
This command lists the RLINK and RVG records.
vxrlink [-g diskgroup_name] status rlink_to_secondary
This command displays the replication status of the secondary site represented by the specified RLINK.
Verify that the data volumes on the secondary site are consistent and up-to-date with the primary site before proceeding to the next step.
From the Veritas Enterprise Administrator (VEA) console, right-click the primary RVG and select the Migrate option. Select the required secondary host from the Secondary Name option list.
Click OK to migrate the primary role to the secondary. The primary and secondary roles will be interchanged.
From the command line, type:
vxrds [-g diskgroup_name] migrate local_rvg new_primary_hostname
Where the secondary host is specified by the new_primary_hostname parameter.
You can now proceed to upgrade the nodes.