The vxfenconfig command configures the vxfen driver using parameters found in /etc/vxfenmode file. For a list of possible parameters and usage information please see the manpage for /etc/vxfenmode file. If this file is omitted I/O Fencing defaults to SCSI3 functionality.
vxfenconfig command configures the vxfen driver using the coordination points listed in the /etc/vxfentab file. Disks must be listed by the full file name of the raw or DMP device. A minimum of three coordination points must be used (unless the -s option is specified to configure the driver in scsi3 mode); in total, an odd number of coordination points must be used.
Note: This file is automatically created by VxFEN rc scripts, and should not be edited by the user. In scsi3 mode, the file contains the list of coordinator disks, each of which is identified by the full file name of the raw device. A minimum of three disks must be configured in normal cases (except in the case of the [-s] option). Multiple paths can also be listed.
The File /etc/vxfendg – Contains the name of the disk group containing the coordinator disks. Typically, this disk group is vxfencoorddg. /etc/vxfendg must exist on each system in the cluster. The file is applicable only when the mode of fencing is SCSI3.
Sample /etc/vxfentab file in different operating systems:
Sample I/O Fencing Configuration Operations:
1. To configure vxfen :
# vxfenconfig -c
2. To unconfigure vxfen :
# vxfenconfig -U
3. To list coordination points used by vxfen :
# vxfenconfig -l
4. To list current and supported protocol versions :
# vxfenconfig -W
5. To roll upgrade vxfen to the highest clusterwide protocol version :
# vxfenconfig -R
6. To list node weights :
# vxfenconfig -a
7. To run I/O Fencing in disabled mode, add the following line to /etc/vxfenmode
Warning: Veritas does not support SFRAC clusters using I/O fencing in the disabled mode (vxfen_mode=disabled).
8. To run I/O Fencing in customized mode using a combination of one coordination point server & coordinator disks, add the following to /etc/vxfenmode
I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com.
You can connect me at - https://www.linkedin.com/in/unixadminschool/