-
Log in as superuser on one of the cluster nodes.
-
If VCS is running, shut it down:
# hastop -all
-
Stop the VCSMM driver on each node:
# /sbin/init.d/vcsmm stop
-
Stop I/O fencing on all nodes:
# /sbin/init.d/vxfen stop
This removes any registration keys on the disks.
-
Import the coordinator disk group. The file /etc/vxfendg includes the name of the disk group (typically,
vxfencoorddg
) that contains the coordinator disks, so use the command:
# vxdg -tfC import 'cat /etc/vxfendg'
where:
-t specifies that the disk group is imported only until the node restarts.
-f specifies that the import is to be done forcibly, which is necessary if one or more disks is not accessible.
-C specifies that any import blocks are removed.
-
To remove disks from the disk group, use the VxVM disk administrator utility,
vxdiskadm
.
You may also destroy the existing coordinator disk group. For example:
# vxdg destroy vxfencoorddg
-
Add the new disk to the node, initialize it as a VxVM disk, and add it to the
vxfencoorddg
disk group.
See Creating the coordinator disk group
-
Test the recreated disk group for SCSI-3 persistent reservations compliance.
See Testing the coordinator disk group using vxfentsthdw -c
-
After replacing disks in a coordinator disk group, deport the disk group:
# vxdg deport 'cat /etc/vxfendg'
-
On each node, start the I/O fencing driver:
# /sbin/init.d/vxfen start
-
On each node, start the VCSMM driver:
# /sbin/init.d/vcsmm start
-
If necessary, restart VCS on each node:
# hastart