VCS 6.1 : How to Configure vxfen driver for cluster I/O fencing using vxfenconfig?

vcs-how-toThe 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:
For Solaris:
/dev/rdsk/c1t1d0s2
/dev/rdsk/c2t1d0s2
/dev/rdsk/c3t1d0s2
For Linux:
/dev/sdc
/dev/sdd
/dev/sde
For HP-UX:
/dev/rdsk/c1t1d0
/dev/rdsk/c2t1d0
/dev/rdsk/c3t1d0
For AIX:
/dev/rhdisk20
/dev/rhdisk21
/dev/rhdisk22
/etc/vxfendg
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
vxfen_mode=disabled
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
vxfen_mode=customized
vxfen_mechanism=cps
scsi3_disk_policy=dmp
cps1=[192.168.0.23]:14250
vxfendg=vxfencoorddg
Ramdev

Ramdev

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/

1 Response

  1. September 18, 2015

    […] Read – How to Configure vxfen driver for cluster I/O fencing using vxfenconfig? […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us