Operating System - HP-UX
1829594 Members
1625 Online
109992 Solutions
New Discussion

extend vg in serviceguard cluster in hp ux

 
sarfraz Khan_2
Occasional Advisor

extend vg in serviceguard cluster in hp ux

Hi guru,

we have two HP UX 6600 server runnning in serviceguard environment. everything is working fine. now i have to add one san virtual disk to existing VG. how can i extend vg in shared mode.

Thnaks in advance.

Regards
Sarfraz

sarfraz khan
2 REPLIES 2
Shibin_2
Honored Contributor

Re: extend vg in serviceguard cluster in hp ux

There are many discussions on this forum with this particular topic. Standard procedure is as follows.

- present new LUN's from SAN;
- do a ioscan, insf to make LUN's visible on both nodes;
- extend volume group with new LUNs;
- extend logical volume as above;
- export in PREVIEW mode volume group and create map file of the group;
- on the other node(s) export same group, recreate /dev/vg01/group node and import group from map file.


Are you looking for something different than this ?
Regards
Shibin
Manix
Honored Contributor

Re: extend vg in serviceguard cluster in hp ux

1.pvcreate /dev/rdsk/c10t1d0
2. vgextend /dev/vg01 /dev/dsk/c10t1d0

After that do export and import disk to another node

3. the step must do at server A:
vgexport -v -s -p -m vg01.map vg01

4. copy vg01.map to server B at /tmp

5. At server B run :
ll /dev/vg01 ( check minor number for vg01. ex : 0x010000)
vgexport vg01
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -v -s -m /tmp/vg01.map vg01

check /etc/lvmtab. make sure vg01 has entry over there for the imported VG.

Hope this helps.

Thanks
Manix
HP-UX been always lovable - Mani Kalra