Symantec logo

Freeze service group operations (phased or full)

Freeze service group operations and stop VCS on the cluster.

 To freeze service group operations

  1. On any node, make a copy of the current main.cf configuration file. For example:

    # cp /etc/VRTSvcs/conf/config/main.cf \

    /etc/VRTSvcs/conf/main.save

  2. Choose one node from the cluster to execute step 3 through step 6.
  3. If performing a phased upgrade, stop VCS on selected nodes:

    # PATH=$PATH:/opt/VRTS/bin

    # export PATH

    # haconf -makerw

    # hasys -freeze -persistent node_name

    # haconf -dump -makero

    # hastop -local

    If performing a full upgrade, stop VCS on all nodes:

    # PATH=$PATH:/opt/VRTS/bin

    # export PATH

    # hastop -all

  4. On the node you selected in step 2 and if you have configured the VCS Cluster Manager (Web Console), complete step a through step d to modify the /etc/VRTSvcs/conf/config/main.cf configuration file.
    1. Remove VRTSweb:

      Process VRTSweb (

      PathName = "/opt/VRTSvcs/bin/haweb"

      Arguments = "10.129.96.64 8181"

      )

    2. Replace it with:

      VRTSWebApp VCSweb (

      Critical =0

      AppName = vcs

      InstallDir = "/opt/VRTSweb/VERITAS"

      TimeForOnline = 5

      )

    3. Add the NIC resource in the ClusterService group. For example, where the name of the NIC resource is named csgnic and the public NIC device is hme0, add:

      NIC csgnic (

      Device = hme0

)

    1. Add new dependencies for the new resources in the ClusterService group. For example, using the names of the VRTSWebApp, NotifierMngr, IP, and NIC resources, enter lines that resemble:

      VCSweb requires webip

      ntfr requires csgnic

      webip requires csgnic

  1. On the node you selected in step 2, verify the syntax of the /etc/VRTSvcs/conf/config/main.cf configuration file:

# cd /etc/VRTSvcs/conf/config

# hacf -verify .

  1. On the node you selected in step 2, start VCS:

# hastart

  1. On the remaining nodes in the cluster, start VCS:

# hastart