- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volumegroup minor number in ServiceGuard cluster
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:27 PM
08-10-2004 09:27 PM
Volumegroup minor number in ServiceGuard cluster
When you create a LVM volumegroup in a 2-node ServiceGuard cluster that will be shared, is it required that the minor number for the vg is exactly the same on both nodes ?
I have a vg with minornr. 0x040000 on node1, but with minornr. 0x060000 on node1. I had no problem de-activating the vg on node1 and activating it on node2 and mounting all filesystems. What will happen if this is done via a package ?
Cheers,
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:32 PM
08-10-2004 09:32 PM
Re: Volumegroup minor number in ServiceGuard cluster
Definitely yes. VG minor no. should be same on both the servers.
Infact you have to create Map file of that VG on Node1 and then import the same on Node2 to maintain the similarity of VG structure as well. Hope you have done that already.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:39 PM
08-10-2004 09:39 PM
Re: Volumegroup minor number in ServiceGuard cluster
What makes you say that they SHOULD have the same minornr. ?
Anyway, thanks for the reply !
Cheers,
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:43 PM
08-10-2004 09:43 PM
Re: Volumegroup minor number in ServiceGuard cluster
yes minor should be the same on both nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:52 PM
08-10-2004 09:52 PM
Re: Volumegroup minor number in ServiceGuard cluster
Well, it is not compulsary but nodes being a part of one cluster it is recommended that they should not differ by Hardware/Software configurations. Exceptions works sometimes.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:57 PM
08-10-2004 09:57 PM
Re: Volumegroup minor number in ServiceGuard cluster
Node1:
------
crw-rw-rw- 1 root sys 64 0x040000 Aug 9 15:40 /dev/vg_PE1_exe1/group
Node2:
------
crw-rw-rw- 1 root sys 64 0x060000 Aug 10 09:56 /dev/vg_PE1_exe1/group
I had no problem on node1 manually :
umount all filesystems
vgchange -a n vg_PE1_exe1
and on node2 manually :
vgchange -a y vg_PE1_exe1
mount all filesystems
FYI : HP-UX 11.11 and ServiceGuard A.11.16.00
Cheers,
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:01 PM
08-10-2004 10:01 PM
Re: Volumegroup minor number in ServiceGuard cluster
The reason for this is that the NFS file handle also includes the VG minor number.
Therefore having consistent VG minor numbers is a must for users of the NFS toolkit and for SGeSAP (SG Extension for SAP). I don't know of other cases where this is relevant.
However, for the above reason, we recommend to have it consistent.
BTW, the SG manual, June 2004, p 193, states in a tiny note in the chapter "Distributing the Volume Group with LVM Commands": "Use the same minor number as on [the primary node]".
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:04 PM
08-10-2004 10:04 PM
Re: Volumegroup minor number in ServiceGuard cluster
The VG minor number is a pointer to a table within the kernel which contains information about each volume group and as such is only relevant to the node on which it's configured.
Consequently you'll have no trouble at all manipulating your VG from within a package. The package control scripts issue the same commands that you've done manually.
However it's always a good idea in clustered environments to keep things simple and configure things in a consistent manner.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:36 PM
08-10-2004 10:36 PM
Re: Volumegroup minor number in ServiceGuard cluster
As for the matter of NFS, the minornr. of the vg which holds the NFS filesystems SHOULD be the same.
As for any other vgs, it's not strictly required, although it is recommended for consistency reasons.
Correct ?
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 12:49 AM
08-11-2004 12:49 AM
Re: Volumegroup minor number in ServiceGuard cluster
> the vg which holds the NFS filesystems
> SHOULD be the same.
No, it MUST be the same. :)
> As for any other vgs, it's not strictly
> required, although it is recommended for
> consistency reasons.
Yes, exactly.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 12:55 AM
08-11-2004 12:55 AM
Re: Volumegroup minor number in ServiceGuard cluster
The minor DOES have to be the same on both nodes. If they are not, quoting the book :
...."then a cross link error can occur when the cluster comes up.
All major and minor numbers for both volume groups and logical volumes must be consistent across all machines in the cluster."
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 01:13 AM
08-11-2004 01:13 AM
Re: Volumegroup minor number in ServiceGuard cluster
I'm curious what book you quoted. In my eyes you'll never get a cross device link error when your VG have different minor numbers. Cross device link errors are mainly caused by inconsistencies in /etc/lvmtab.
If it's an HP manual, I'll ask them to correct this.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 01:44 AM
08-11-2004 01:44 AM
Re: Volumegroup minor number in ServiceGuard cluster
My MC/SG training manual that HP supplied from class.
Rgrds,
Rita