Search This Blog

Monday, September 15, 2014

To remove and replace a disk in the coordinator disk group



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

  1. Stop I/O fencing on all nodes:
# /sbin/init.d/vxfen stop

This removes any registration keys on the disks.

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

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

  1. Add the new disk to the node, initialize it as a VxVM disk, and add it to the vxfencoorddg disk group.
  2. Test the recreated disk group for SCSI-3 persistent reservations compliance.
  3. After replacing disks in a coordinator disk group, deport the disk group:
# vxdg deport ‘cat /etc/vxfendg‘

  1. On each node, start the I/O fencing driver:
# /sbin/init.d/vxfen start

  1. If necessary, restart VCS on each node:
# hastart

Thank you for Reading,
For Reading other article, visit to “https://sites.google.com/site/unixwikis/https://sites.google.com/site/unixwikis/

No comments:

Post a Comment