Operating System - HP-UX
1836590 Members
2887 Online
110102 Solutions
New Discussion

Service Guard adding a disk to shared volume group

 
SOLVED
Go to solution
Error_1
Occasional Advisor

Service Guard adding a disk to shared volume group

I am stumped here everyone.

I need to add a disk to a shared volume group what do i need to do i have never done this.
Why is abbreviation such a long word?
6 REPLIES 6
Santosh Nair_1
Honored Contributor

Re: Service Guard adding a disk to shared volume group

You should be able to add the disk in the usual manner, i.e. pvcreate and vgextend the PV into the VG. The only caveat is that you need to re-import this VG, i.e. vgexport, mkdir /dev/VGNAME, mknod /dev/VGNAME/group c 64 0x0nn0000 and finally vgimport -s -m VGNAME.map VGNAME, into all the other nodes in the cluster for MC/SG. Otherwise the VG information on those machines will be wrong.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
James R. Ferguson
Acclaimed Contributor
Solution

Re: Service Guard adding a disk to shared volume group

Hi:

I think this document (#UXSGLVKBAN00000012) from the Technical Knowledge Base will help you (see attached).

Regards!

...JRF...
Sridhar Bhaskarla
Honored Contributor

Re: Service Guard adding a disk to shared volume group

1. Add it as usual to the active node with the usual procedure.
2. Sync the configuration on the secondary node(s). Create the map file on the active node and import it on the secondary node.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
linuxfan
Honored Contributor

Re: Service Guard adding a disk to shared volume group

Hi,


Its pretty straight forward actually,

On NodeA
pvcreate /dev/rdsk/cXtYdZ
vgextend /dev/vgshared /dev/dsk/cXtYdZ

vgexport -v -p -s -m /tmp/vgshared.map /dev/vgshared

copy the map file to node B
(rcp /tmp/vgshared.map nodeB:/tmp)

on Node B
ll /dev/vgshared/group
vgexport /dev/vgshared
mkdir /dev/vgshared
mknod /dev/vgshared/group c 0x??0000

(here ?? is the number you obtained from above ll command)

vgimport -v -s -m /tmp/vgshared.map /dev/vgshared

This is one of the easier ways. There are other ways too but this has worked for me.


-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Sanjay_6
Honored Contributor

Re: Service Guard adding a disk to shared volume group

Roger Baptiste
Honored Contributor

Re: Service Guard adding a disk to shared volume group

Error! ;-)

the procedure is similar
to the regular volumegroup extension, except that you
would need to preview-export
and import the vg configuration to the other nodes sharing the vg.

-R
Take it easy.