Operating System - HP-UX
1834112 Members
2445 Online
110063 Solutions
New Discussion

Extend a shared VG in a 2 node cluster

 
Luca_11
Occasional Contributor

Extend a shared VG in a 2 node cluster

Hi,
I need to create a new LV on a shared VG (vg_name) in a two node (N1 andd N2) active-passive cluster.
The VG changes have to be passed in the passive node (N2).

I think to go in this way:
1)N2 vg_export vg_name (del info about vg_name on N2)
2)N1 lvcreate -L size -n lv_name vg_name
3)N1 vgexport -m mapfile -s -p -v vg_name
4)N1 rcp N1:mapfile N2:mapfile
5)N2 mkdir vg_name
6)N2 mknod group c 64 0x010000
7)N2 vgimport -m mapfile -s -v vg_name

Somebody see something strange?

Thank you
Luca
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: Extend a shared VG in a 2 node cluster

looks fine to me.
Just be sure to test the VG on N" once this has been done.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Santosh Nair_1
Honored Contributor

Re: Extend a shared VG in a 2 node cluster

The only other thing I would do is to make sure that the minor number that you're using for the group file is the same on both machine. It doesn't really hurt if they're different, but for consistency, they should be the same.

-Santosh
Life is what's happening while you're busy making other plans