Symantec logo
Modifying VCS configuration to enable I/O fencing

After adding coordinator disks and configuring I/O fencing, add the UseFence = SCSI3 cluster attribute to the VCS configuration file, /etc/VRTSvcs/conf/config/main.cf. This entry gives the user the flexibility to disable or enable I/O fencing by modifying the UseFence attribute.

 To modify VCS configuration to enable I/O fencing

  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 UseFence attribute and assigning its value of SCSI3.

    cluster rac_cluster101

    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 /etc/VRTSvcs/conf/config

  7. Using rcp or another utility, copy the VCS configuration file from a node (for example, galaxy) to the remaining cluster nodes.

    For example, on each remaining node, enter:

    # rcp galaxy:/etc/VRTSvcs/conf/config/main.cf \

    /etc/VRTSvcs/conf/config