Setting up majority-based I/O fencing using installer

You can configure majority-based fencing for the cluster using the installer .

Perform the following steps to confgure majority-based I/O fencing

  1. Start the installer with the -fencing option.
    # /opt/VRTS/install/installer  -fencing

    Where version is the specific release version. The installer starts with a copyright message and verifies the cluster information.

    Note:

    Make a note of the log file location which you can access in the event of any issues with the configuration process.

  2. Confirm that you want to proceed with the I/O fencing configuration at the prompt. The program checks that the local node running the script can communicate with remote nodes and checks whether VCS is configured properly.
  3. Review the I/O fencing configuration options that the program presents. Type 3 to configure majority-based I/O fencing.
    Select the fencing mechanism to be configured in this
    Application Cluster [1-7,b,q] 3
    

    Note:

    The installer will ask the following question. Does your storage environment support SCSI3 PR? [y,n,q,?] Input 'y' if your storage environment supports SCSI3 PR. Other alternative will result in installer configuring non-SCSI3 fencing(NSF).

  4. The installer then populates the /etc/vxfenmode file with the appropriate details in each of the application cluster nodes.
    Updating /etc/vxfenmode file on sys1 ................... Done
    Updating /etc/vxfenmode file on sys2 ................... Done
    
  5. Review the output as the installer stops and restarts the VCS and the fencing processes on each application cluster node, and completes the I/O fencing configuration.
  6. Note the location of the configuration log files, summary files, and response files that the installer displays for later use.
  7. Verify the fencing configuration.
    #  vxfenadm -d