Restoring the original configuration when VCS agents are configured

Last published : Sep 28, 2026
This section describes how to restore a configuration with VCS configured agents.
Note: Restore the original configuration only after you have upgraded VVR on all nodes for the Primary and Secondary cluster.
To restore the original configuration
  1. Import all the disk groups in your VVR configuration.
    \# vxdg -t import diskgroup
    Each disk group should be imported onto the same node on which it was online when the upgrade was performed. The reboot after the upgrade could result in another node being online; for example, because of the order of the nodes in the AutoStartList. In this case, switch the VCS group containing the disk groups to the node on which the disk group was online while preparing for the upgrade.
    \# hagrp -switch grpname -to system
  2. Recover all the disk groups by typing the following command on the node on which the disk group was imported in step 1.
    \# vxrecover -bs
    1. Upgrade all the disk groups on all the nodes on which VVR has been upgraded:
    \# vxdg upgrade diskgroup
  3. On all nodes that are Secondary hosts of VVR, make sure the data volumes on the Secondary are the same length as the corresponding ones on the Primary. To shrink volumes that are longer on the Secondary than the Primary, use the following command on each volume on the Secondary:
    \# vxassist -g diskgroup  shrinkto volume_name volume_length
    where volume_length is the length of the volume on the Primary.
    Note: Do not continue until you complete this step on all the nodes in the Primary and Secondary clusters on which VVR is upgraded.
    1. Restore the configuration according to the method you used for upgrade:
    If you upgraded with the VVR upgrade scripts
    Complete the upgrade by running the vvr_upgrade_finish script on all the nodes on which VVR was upgraded. We recommend that you first run the vvr_upgrade_finish script on each node that is a Secondary host of VVR.
    Perform the following tasks in the order indicated:
    • To run the vvr_upgrade_finish script, type the following command:
    \# /disc_path/scripts/vvr_upgrade_finish
where disc_path is the location where the Veritas software disc is mounted.
  • Attach the RLINKs on the nodes on which the messages were displayed:
    \# vxrlink -g diskgroup -f att rlink_name
    If you upgraded with the product installer
    Use the Veritas InfoScale product installer and select start a Product. Or use the installation script with the -start option.
    1. Bring online the RVGLogowner group on the master:
    \# hagrp -online RVGLogownerGrp -sys masterhost
  1. If you plan on using IPv6, you must bring up IPv6 addresses for virtual replication IP on primary/secondary nodes and switch from using IPv4 to IPv6 host names or addresses, enter:
\# vradmin changeip newpri=v6 newsec=v6
where v6 is the IPv6 address.
  1. Restart the applications that were stopped.