Preparing for the upgrade when VCS agents are configured

If you have configured the VCS agents, it is recommended that you take backups of the configuration files, such as main.cf and types.cf, which are present in the /etc/VRTSvcs/conf/config directory.

To prepare a configuration with VCS agents for an upgrade

  1. List the disk groups on each of the nodes by typing the following command on each node:
    # vxdisk -o alldgs list

    The output displays a list of the disk groups that are under VCS control and the disk groups that are not under VCS control.

    Note:

    The disk groups that are not locally imported are displayed in parentheses.

  2. If any of the disk groups have not been imported on any node, import them. For disk groups in your VCS configuration, you can import them on any node. For disk groups that are not under VCS control, choose an appropriate node on which to import the disk group. Enter the following command on the appropriate node:
    # vxdg -t import diskgroup
  3. If a disk group is already imported, then recover the disk group by typing the following command on the node on which it is imported:
    # vxrecover -bs
  4. Verify that all the Primary RLINKs are up to date.
    # vxrlink -g diskgroup status rlink_name

    Note:

    Do not continue until the Primary RLINKs are up-to-date.