Symantec logo

Modifying VCS configuration to use 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. If you reset this attribute to UseFence = None, VCS does not make use of I/O fencing abilities while failing over service groups. However, I/O fencing needs to be disabled separately.

 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, north) to the remaining cluster nodes.

    For example, on each remaining node, enter:

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

    /etc/VRTSvcs/conf/config

  8. On each node enter the following sequence of commands. These commands brings up VCS processes:

    # /opt/VRTS/bin/hastart