Operating System - HP-UX
1831043 Members
2458 Online
110019 Solutions
New Discussion

Re: Make device names same on cluster nodes

 
SOLVED
Go to solution
Ninad_1
Honored Contributor

Make device names same on cluster nodes

Hi All,

I would be having a 3 node cluster consisting of 2 nPars (nodeA and nodeB) from one rp7420 and 1 nPar (nodeC) from another rp7420.
nodeC is the local High Available partition for nodeA and nodeB using Service Guard cluster.[ Thus nodeA can failover onto nodeC and/or nodeB can failover onto nodeC ]
There would be 2 x 2 port HBA cards in all the 3 nodes connected to XP10000 storage array via SAN.
How do I ensure before presenting the storage LUNs (from XP10000 array) to the 3 nodes that all the disk devices common to (nodeA and nodeC) & to (nodeB and nodeC) are seen as same device names (e.g. /dev/dsk/c10t1d0) on the corresponding nodes ?

I have seen a method using ioconfig , ioinit but that was for SCSI.
What is the procedure to synchronise the disk devices names in case of Fibre channel connectivity?

Thanks and regards,
Ninad
3 REPLIES 3
whiz_kid
Regular Advisor

Re: Make device names same on cluster nodes

i guess ur multipathing sw should hv that capability of aliasing to make a common device path for all servers.
Patrick Wallek
Honored Contributor
Solution

Re: Make device names same on cluster nodes

I honestly wouldn't worry about it.

The device names DO NOT have to be the same for all 3 machines.

Just make sure that all 3 machines have access to the disks/LUNs. Create your VGs on one machine, then export the configuration. When you export make sure you use the '-s' switch.

# vgexport -m /var/tmp/vg.map -v -p -s /dev/vg??

Then when you import, you use the '-s' as well.

# vgimport -m /var/tmp/vg.map -v -s /dev/vg??

This will insure that the appropriate drives are imported, regardless of their device file names.

This is by far the easiest way.
Luk Vandenbussche
Honored Contributor

Re: Make device names same on cluster nodes

Ninad,

With ioinit you can also modify the order of you FC HBA, lan cards.

Try it first on a test machine.