Operating System - HP-UX
1834646 Members
2074 Online
110069 Solutions
New Discussion

I have 2-N class with Serviceguard

 
Jose Luis Manriquez
Occasional Advisor

I have 2-N class with Serviceguard

I am trying to create a new volume on active-active 2-Node cluster. It has two external storage boxes with redundant connections to each of the servers. I am a little confused since I have only created volumes on solaris platform. On one server, SAM shows Distributed LVM and ont he other just LVM. How can I go about creating a new voulme/group?
7 REPLIES 7
melvyn burnard
Honored Contributor

Re: I have 2-N class with Serviceguard

My recommendation here is do NOT use SAM, but use comand line to achieve this.
Take a look at the Managing Serviceguard manual for steps, available at:
http://docs.hp.com/en/ha
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
LiPEnS
Valued Contributor

Re: I have 2-N class with Serviceguard

Hi
Whether the new volume group be activate on both node in the same time?? If not do this:

pvcreate /dev/rdsk/cXtYdZ
mkdir /dev/vg10
mknod /dev/vg10/group c 64 0x070000
vgcreate -e 30000 -s 16 /dev/vg10 /dev/dsk/cXtYdZ /dev/dsk/cX1tY1dZ1
This because you can put bigger disk in the futher in the volumegroup.
lvcreate -L size_of_lvol /dev/vg10/lvol1
newfs -F vxfs /dev/vg10/rvol1
vgexport -s -p -v mm /tmp/vg10.map /dev/vg10
rcp -p /tmp/vg10.map node2:/tmp/
vgchange -a n /dev/vg10
vgchange -c y /dev/vg10

on node 2

mkdir /dev/vg10
mknod group c 64 0x070000
vgimport -p -s -m /tmp/vg10.map -v /dev/vg10
vgcfgbackup /dev/vg10


0x070000 - first free number in:
#ll /dev/*/group
cXtYdZ - first path to lun
cX1tY1dZ1 - second path to lun
Jose Luis Manriquez
Occasional Advisor

Re: I have 2-N class with Serviceguard

Thanks for all the information provided. I will try it out tonight.

This volume will be active on a given host, but I should be able to vgchange the volume to the other host.

Geoff Wild
Honored Contributor

Re: I have 2-N class with Serviceguard

No - you can not vgchange on another node while it is active on the first node.

You will be able to vgimport.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ted Buis
Honored Contributor

Re: I have 2-N class with Serviceguard

HP has just released storage extensions for SG in 11i (I think only 11.23) to support the Veritas Cluster File System for truely shared storage. You may want to evaluate this new capability for your situation.
http://h71028.www7.hp.com/enterprise/cache/262609-0-0-0-121.html
Mom 6
Jose Luis Manriquez
Occasional Advisor

Re: I have 2-N class with Serviceguard

Hi ,

I finally got the chance to perform the commands; however, I am getting an error when performing(everything else run successfully) the vgcfgbackup /dev/vg05

I get:

# vgcfgbackup /dev/vg05
vgcfgbackup: Couldn't access the list of physical volumes for volume group "/dev/vg05".


Do I need to activate the volume before performing the vgcfgbackup?
Geoff Wild
Honored Contributor

Re: I have 2-N class with Serviceguard

Yes - vg needs to be active to use vgcfgbackup....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.