Creating I/O fencing configuration files

After you set up the coordinator disk group, you must do the following to configure I/O fencing:

To update the I/O fencing files and start I/O fencing

  1. On each nodes, type:
    # echo "vxfencoorddg" > /etc/vxfendg

    Do not use spaces between the quotes in the "vxfencoorddg" text.

    This command creates the /etc/vxfendg file, which includes the name of the coordinator disk group.

  2. On all cluster nodes depending on the SCSI-3 mechanism, type one of the following selections:

    • For DMP configuration:

        # cp /etc/vxfen.d/vxfenmode_scsi3_dmp /etc/vxfenmode
    • For raw device configuration:

        # cp /etc/vxfen.d/vxfenmode_scsi3_raw /etc/vxfenmode
  3. To check the updated /etc/vxfenmode configuration, enter the following command on one of the nodes. For example:
    # more /etc/vxfenmode
  4. Edit the following file on each node in the cluster to change the values of the VXFEN_START and the VXFEN_STOP environment variables to 1:

    /etc/default/vxfen