Operating System - HP-UX
1831944 Members
3153 Online
110032 Solutions
New Discussion

Delete Volume Group and Create Volume Group in MC/Service Guard

 
Cliff Lim Kok Hwee
Regular Advisor

Delete Volume Group and Create Volume Group in MC/Service Guard

Gd Day Forum,

I would like to delete a volume group vg06 from a cluster node pair NodePrimary and NodeSecondary and recycle vg06 with smaller number of harddisks.

Correct me if I am wrong,

Query: I need to vgexport /dev/vg06 on both the cluster nodes first?

Then I will perform the following:-

@NodePrimary
1) mkdir /dev/vg06
2) chmod 755 /dev/vg06
3) mknod /dev/vg06/group c 64 0x060000
vgcreate -p 64 -e 10000 -s 4 /dev/vg06 /dev/dsk/c3t0d1
4) vgexport -p -v -s -m /tmp/vg06.map vg06
5) ftp the /tmp/vg06.map to NodeSecondary

@NodeSecondary
1) mkdir /dev/vg06
2) chmod 755 /dev/vg06
3) mknod /dev/vg06/group c 64 0x060000
4) vgimport -v -s -m /tmp/vg06.map vg06

Just wondering did I miss out any commands?

Regards/cliff
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: Delete Volume Group and Create Volume Group in MC/Service Guard

your plan looks fine to me, and yes you will need to vgexport the vg on both nodes before recreating it
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Victor Fridyev
Honored Contributor

Re: Delete Volume Group and Create Volume Group in MC/Service Guard

Hi,

Please don't forget to run
vgchange -c y /dev/vg06
on one of the mchines when the cluster is running.

HTH
Entities are not to be multiplied beyond necessity - RTFM