Extend a disk into volume group in HACMP via command line

Pre-Check
=========
lsvg -p <VG Name>

Implementation Steps
====================
Run cfgmgr and then follow below step

chdev -l <hdiskx> -a reserve_lock=no
chdev -l <hdiskx> -a pv=yes

/usr/es/sbin/cluster/sbin/cl_extendvg -cspoc -n’testdb1,testdb2′ -R’testdb1′ vg00 hdiskA hdiskB hdiskC

Post Check
==========
lsvg -p <VG Name>

 

 

Extend a disk into volume group in HACMP via smitty

Pre-Check
=========
lsvg -p <VG Name>

Implementation Steps
====================
Run cfgmgr and then follow below step

 

chdev -l <hdiskx> -a reserve_lock=no
chdev -l <hdiskx> -a pv=yes

 

smitty hacmp
System Management (C-SPOC)
HACMP Logical Volume Management
Shared Volume Groups
Set Characteristics of a Shared Volume Group
Add a Volume to a Shared Volume Group
Select the Volume group
Select the drive to be added to the VG

Post Check
==========
lsvg -p <VG Name>