Operating System - HP-UX
1753934 Members
9793 Online
108810 Solutions
New Discussion юеВ

Re: minor number in the shared VG

 
gany59
Regular Advisor

minor number in the shared VG

In 2 node cluster configuration , how to set the shared volume groups have identical minor numbers on all systems in the cluster

Can some one help me on this..
5 REPLIES 5
Rita C Workman
Honored Contributor

Re: minor number in the shared VG

When you create the volume group the command mknod requires the input of the new volume group's minor number. The key in MC/SG is to ensure that it is the same on every node. Hence, some pre-planning on making sure you do not use an "already in use" minor number.

mknod /dev/newvg/group c 64 0x00

All of this can be read at http://docs.hp.com for Service Guard.

Rgrds,
Rita
Steven E. Protter
Exalted Contributor

Re: minor number in the shared VG

Shalom,

Normally, I just use mknod to create the minor number and use the last digit of the volume group as the minor number

vg03 becomes minor number 3.

That at least gets me through the first 10 volume groups without conflict.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gany59
Regular Advisor

Re: minor number in the shared VG

Actually my thing is how to find out the identical minor number in the 2 servers
Rita C Workman
Honored Contributor

Re: minor number in the shared VG

It is very simple.

Go to node.
ll /dev/vgname/group

It will display the minor number.

Go to next node.
ll /dev/vgname/group

This site was intended to help folks who run into issues. It was not intended to hold the hand and walk everyone through every command they may ever need because they refuse to open a book and l-e-a-r-n their job!

Rita
S.N.S
Valued Contributor

Re: minor number in the shared VG

Gany,


Playing around with the Minor Numbers,VG & LVs in general, with Service Guard in particular..>>>
Take it from Workman...
If you don't read, HP SG will teach..

No hard feelings!

Happy to Guide with my very limited know-how,
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison