Symantec logo

Configuring CVM

As root user, execute the following on the CVM master node only.

 To configure the CVM group in the main.cf file

  1. Determine the CVM master node:

    # vxdctl -c mode

  2. Make a backup copy of the main.cf file.

    # cd /etc/VRTSvcs/conf/config

    # cp main.cf main.cf.2node

  3. Use the commands to reconfigure the CVM group. On the CVM master node, execute:

    # haconf -makerw

    # hasys -add saturn

    # hagrp -modify cvm SystemList -add saturn 2

    # hagrp -modify cvm AutoStartList -add saturn

    # hares -modify ora_priv Device -add qfe0 0 -sys saturn

    # hares -modify ora_priv Device -add qfe1 1 -sys saturn

  4. Verify the syntax of main.cf file:

    # hacf -verify .

  5. Stop the VCS engine on all systems, leaving the resources available.

    # hastop -all -force

  6. Copy the new version of the main.cf to each system in the cluster including the newly added system.

    # rcp (or scp) main.cf nebula:/etc/VRTSvcs/conf/config

    # rcp (or scp) main.cf saturn:/etc/VRTSvcs/conf/config

    In the example, galaxy is the system where main.cf is edited; it does not need a copy.

  7. Start VCS on the CVM master.

    # hastart

  8. Verify the CVM group has come online.

    # hastatus -sum

  9. To enable the existing cluster to recognize the new node, execute on the current node:

    # /etc/vx/bin/vxclustadm -m vcs -t gab reinit

    # /etc/vx/bin/vxclustadm nidmap

  10. Repeat steps 7 through 9 on each system in the existing cluster.
  11. Start CVM on the newly added node.
  12. Verify the CVM group has come online on the newly added node.

    # hastatus -sum