Symantec logo

Adding or removing coordinator disks

Review the following information to:

Note the following about the procedure:

 To remove and replace a disk in the coordinator disk group

  1. Log in as superuser on one of the cluster nodes.
  2. If VCS is running, shut it down:

    # hastop -all

  3. Stop I/O fencing on all nodes:

    # /sbin/init.d/vxfen stop

    This removes any registration keys on the disks.

  4. 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.

  5. 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

  6. 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 and setting the coordinator attribute

  7. Test the recreated disk group for SCSI-3 persistent reservations compliance.

    See Testing the coordinator disk group using vxfentsthdw -c

  8. After replacing disks in a coordinator disk group, deport the disk group:

    # vxdg deport 'cat /etc/vxfendg'

  9. On each node, start the I/O fencing driver:

    # /sbin/init.d/vxfen start

  10. If necessary, restart VCS on each node:

    # hastart