Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Installation Guide   

Editing VCS Configuration to Add the UseFence Attribute

After adding coordinator disks and configuring I/O fencing, edit the VCS configuration file, /etc/VRTSvcs/conf/config/main.cf, and add the UseFence cluster attribute.

  1. Save the existing configuration:
      # haconf -dump -makero
  2. Stop VCS on all nodes.
      # hastop -all 
  3. Make a backup copy of the main.cf file:
      # cd /etc/VRTSvcs/conf/config 
      # cp main.cf main.orig
  4. On one node, use vi or another text editor to edit the main.cf file. Modify the list of cluster attributes by adding the attribute, UseFence, and assign it a value of SCSI3. For example, with the attribute added this portion of the file resembles:
      cluster vcs_cluster2 (
            UserNames = { admin = "cDRpdxPmHpzS." }
            Administrators = { admin }
            HacliUserLevel = COMMANDROOT
            CounterInterval = 5
            UseFence = SCSI3
            )
  5. Save and close the file.
  6. Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:
      # hacf -verify .
  7. Using rcp, or some other available utility, copy the VCS configuration file to the other nodes. For example, on each node:
      # rcp north:/etc/VRTSvcs/conf/config/main.cf  
           /etc/VRTSvcs/conf/config
  8. With the configuration file in place on each system, shut down and then restart each system.
      # shutdown -r

    If you are sure that you have no users logged in, shutdown -r -y 0 works faster than shutdown -r.


    Note   Note    To ensure that I/O fencing is shut down properly, use the shutdown command instead of the reboot command.
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Installation Guide  
VERITAS Software Corporation
www.veritas.com