Monday, April 10, 2017

Replacing VCS Coordinator Disk while Veritas Cluster is Online

Hello Friends

The article describes "How to replace" the coordinator disk while Veritas cluster is running and SGs are ONLINE.

CautionIn case any node leaves the cluster before the swap script completes; cluster may PANIC.
All the activities to be done on Cluster’s master node.




1.     Make sure system-to-system communication is functioning properly.
2.     Make sure that the cluster is online.
# vxfenadm -d
I/O Fencing Cluster Information:
================================
Fencing Protocol Version: 201
Fencing Mode: SCSI3
Fencing SCSI3 Disk Policy: dmp
Cluster Members:
                   * 0 (galaxy)
                   1 (nebula)
RFSM State Information:
                   node 0 in state 8 (running)
                   node 1 in state 8 (running)
3.     Import the coordinator disk group [The file /etc/vxfendg includes the name of the disk group] .
# vxdg -tfC import 'cat /etc/vxfendg'
              
            4. vxdg list vxfencoorddg |grep version
               If the version is below 140; it needs to be upgraded.

5          5. vxdg upgrade vxfencoorddg
6.     Turn off the coordinator attribute value for the coordinator disk group.
# vxdg -g vxfencoorddg set coordinator=off

7.     Initialize the new disks [/etc/vx/bin/vxdisksetup -i <disk_address> ]
8.     Add to the coordinator disk group. [vxdg -g vxfencoorddg adddisk <accessname>]
9.     Remove the old disks. [vxdg -g vxfencoorddg rmdisk <medianame>]
10.   Set the coordinator flag to on.[ vxdg -g vxfencoorddg set coordinator=on]
11.   Confirm the /etc/vxfenmode file is updated to specify the correct disk policy.
12.   Deport the Disk Group.
13.   From one node, start the vxfenswap utility. You must specify the diskgroup to the utility. [/opt/VRTSvcs/vxfen/bin/vxfenswap –g <DG>]
14.   If the disk verification passes, the utility reports success and asks if you want to commit the new set of coordinator disks.
Do you wish to commit this change? [y/n] (default: n) y
If the utility successfully commits, the utility moves the /etc/vxfentab.test file to the /etc/vxfentab file.


No comments:

Post a Comment

What is The Abilene Paradox ?

Context : Corporate World. (excerpt from publicly available sources) On a birthday, a family decided to go out for dinner. Husb...