To manually set up I/O fencing in a non-SCSI-3 PR compliant setup
# vxfenadm -d
# haclus -value UseFence
data_disk_fencing=off
On each node, edit the /etc/sysconfig/vxfen file as follows:
vxfen_vxfnd_tmt=25
loser_exit_delay=55 vxfen_script_timeout=25
Refer to the sample /etc/vxfenmode file.
On any one node, edit the VCS configuration file as follows:
Make the VCS configuration file writable:
# haconf -makerw
For each resource of the type DiskGroup, set the value of the MonitorReservation attribute to 0 and the value of the Reservation attribute to NONE.
# hares -modify <dg_resource> MonitorReservation 0
# hares -modify <dg_resource> Reservation "NONE"
Run the following command to verify the value:
# hares -list Type=DiskGroup MonitorReservation!=0
# hares -list Type=DiskGroup Reservation!="NONE"
The command should not list any resources.
Modify the default value of the Reservation attribute at type-level.
# haattr -default DiskGroup Reservation "NONE"
Make the VCS configuration file read-only
# haconf -dump -makero
To make these VxFEN changes take effect, stop and restart VxFEN and the dependent modules
On each node, run the following command to stop VCS:
For RHEL 7, SLES 12, and supported RHEL distributions:
# systemctl stop vcs
For earlier versions of RHEL, SLES, and supported RHEL distributions:
# /etc/init.d/vcs stop
After VCS takes all services offline, run the following command to stop VxFEN:
For RHEL 7, SLES 12, and supported RHEL distributions:
# systemctl stop vxfen
For earlier versions of RHEL, SLES, and supported RHEL distributions:
# /etc/init.d/vxfen stop
On each node, run the following commands to restart VxFEN and VCS:
For RHEL 7, SLES 12, and supported RHEL distributions:
# systemctl start vxfen
# systemctl start vcs
For earlier versions of RHEL, SLES, and supported RHEL distributions:
# /etc/init.d/vxfen start
# /etc/init.d/vcs start