After setting up the coordinator disk group, configure it for use.
To configure the disk group for fencing
-t
option to avoid automatically importing it when the nodes restart:
# 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.
The /etc/vxfentab file gets created when you start the I/O fencing driver.
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