Operating System - HP-UX
1833776 Members
2380 Online
110063 Solutions
New Discussion

Re: Serviceguard and lvmtab

 
SOLVED
Go to solution
KPS
Super Advisor

Serviceguard and lvmtab

I have a question with regard to a LUN device that we just added to an lvol within our Clustered Configuration. It's been awhile since we've done this so forgive the stupid question...

We just added a single LUN to a lvol/filesystem within our cluster setup. We used Online JFS to do this and all worked fine with adding it. For the ServiceGuard Cluster considerations, we took a new mapfile of the related Volume Group and imported the mapfile on the other node in the cluster. (This is a 2 node cluster running SG 11.17) The following are the commands run to do this:

Primary Node:
- vgexport -p -s -m /tmp/vg##.map vg##
- scp'd mapfile over to adoptive node

Adoptive Node:
- vgexport -p -s -m /tmp/vg##.map vg##

My questions are after the above steps, should I see the new LUN's device number showing up in /etc/lvmtab on the adoptive node or will that not happpen until we fail things over to the adoptive node? Also, if anyone sees anything better I could have done, I'd like to hear your recommendations.

Thanks in advance for any help that can be provided on this...

Regards,
KPS
3 REPLIES 3
Rita C Workman
Honored Contributor
Solution

Re: Serviceguard and lvmtab

Don't you mean on the Adoptive Node:

vgexport /dev/vgname
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x- -0000
vgimport -vs -m /tmp/vgname.map /dev/vgname

Rgrds,
Rita

....now you should see the associated devices under that vgname in the adoptive nodes /etc/lvmtab....
KPS
Super Advisor

Re: Serviceguard and lvmtab

Yes I do I mixed up my commands and where I ran them in my post. My apologies.
KPS
Super Advisor

Re: Serviceguard and lvmtab

Rita confirmed my beliefs about the vgimport having to happen first. I appreciate your quick feedback. Pts assigned.

Thx
KPS