Symantec logo

Configuring /etc/vxfendg disk group for I/O fencing

After setting up the coordinator disk group, configure it for use.

 To configure the disk group for fencing

  1. Deport the disk group:

    # vxdg deport vxfencoorddg

  2. Import the disk group with the -t option to avoid automatically importing it when the nodes restart:

    # vxdg -t import vxfencoorddg

  3. Deport the disk group. Deporting the disk group prevents the coordinator disks from serving other purposes:

    # vxdg deport vxfencoorddg

  4. On all 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.

    Based on the contents of the /etc/vxfendg and /etc/vxfenmode files, the rc script creates the /etc/vxfentab file for use by the vxfen driver when the system starts. The rc script also invokes the vxfenconfig command, which configures the vxfen driver to start and use the coordinator disks listed in
    /etc/vxfentab. The /etc/vxfentab file is a generated file; do not modify this file.


Example /etc/vxfentab file

The /etc/vxfentab file gets created when you start the I/O fencing driver.

See Starting I/O fencing.

An example of the /etc/vxfentab file on one node resembles:

In some cases you must remove disks from or add disks to an existing coordinator disk group.

See Adding or removing coordinator disks