Symantec logo

Modifying the main.cf file (phased or full)

Save a copy of the main.cf file and modify the configuration information in the main.cf file.

 To modify the main.cf file

  1. On any node, make a copy of the current main.cf 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 9.
  3. On the node you selected in step 2, check if there are any resources dependent on qlogckd:

    # /opt/VRTS/bin/hares -dep qlogckd

On each node that is being upgraded, offline any resources dependent on qlogckd (typically vxfsckd). You must specify the -sys option with the system names in the cluster. For example:

# /opt/VRTS/bin/hares -offline resource -sys system01

  1. On the node you selected in step 2, offline the qlogckd resources. You must specify the -sys option with the system names in the cluster. For example:

    # /opt/VRTS/bin/hares -offline qlogckd -sys system01

# /opt/VRTS/bin/hares -offline qlogckd -sys system02

# /opt/VRTS/bin/hares -offline qlogckd -sys system03

# /opt/VRTS/bin/hares -offline qlogckd -sys system04

  1. On the node you selected in step 2, stop VCS on all nodes:

    # /opt/VRTS/bin/hastop -all -force

  2. 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 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, remove qlogckd from the /etc/VRTSvcs/conf/config/main.cf file. For example:

CFSQlogckd qlogckd (

Critical = 0

)


  Note   Make sure you remove all dependencies on qlogckd from the main.cf file.


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

    # cd /etc/VRTSvcs/conf/config

    # /opt/VRTS/bin/hacf -verify .

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

    # /opt/VRTS/bin/hastart

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

    # /opt/VRTS/bin/hastart