1833832 Members
2962 Online
110063 Solutions
New Discussion

Increse volume group

 
SOLVED
Go to solution
Marcelo De Florio
Frequent Advisor

Increse volume group

How can i add the physical volume to active volume group with service guard?

MDF
3 REPLIES 3
Rita C Workman
Honored Contributor
Solution

Re: Increse volume group

You can not add a physical disk to an active volume group in MC/SG. You can extend space if the physical disk is already part of an active vg -as in OnlineJFS.
To add a physical disk you have to deactivate halt the pkg, deactivate the volume group from the cluster, then activate the vg for your use...make your changes, do a vgexport of the mapfile to the other nodes and vgimport this to up the other nodes lvmtab.....isn't this fun !!
I am attaching a 'sort of' form I created for myself...it's not perfect, but it helps me so I don't forget any steps....

/rcw
Edward Sedgemore
Trusted Contributor

Re: Increse volume group


Adding a physical volume to a VG under ServiceGuard (SG) is not a problem. You will need to add it to the VG definition for all nodes in the SG cluster. This will involve downtime so you can pull the VG over to the standby node in the cluster thus registering it there with its new physical volume.

If you add a filesystem/lvol within the VG then this also needs to be defined in the cluster config files in /etc/cmcluster.
Sig. Alessandro MESSINA
Occasional Advisor

Re: Increse volume group

To increase a volume group in a SG configuration is not a problem and such kind of operation require NOT downtime.

Working on a node, try this :

- Initialize the physical disk (pvcreate)

- Extend the volume group (vgextend) with the new initialized physical disk

- Now you can extend a logical volume (lvextend) and if you have OnlineJFS you can extend the FS, if any exist, with no necessity to umount the FS

- Rember to create a copy of the VG map file using vgexport with -p option, copy this file to the other SG nodes and make a vgimport of the new map (for that volume group)