Operating System - HP-UX
1829108 Members
13735 Online
109986 Solutions
New Discussion

Re: Device files not the same on cluster nodes

 
Kehad Snydewel
Frequent Advisor

Device files not the same on cluster nodes

Hi experts,

I am busy with a new MC/SG Installation. I have the following Hardware:
=> 2x BL860c Blades, in same c7000 enclosure (cluster nodes 1 and 2)
=> EVA6000

The device files of the LUN presented to the nodes is not the same. I see 4 paths to each LUN through secure path which is normal but only 2 of the 4 (1 path) device files are the same on both nodes and I would like all 4 paths per LUN to be the same.

Here are the autopath display outputs and H/W paths of the LUN presented to both cluster nodes.

NODE 1
NODE_1 autopath display output:
=============================================
Lun WWN: 6005-08B4-0005-533B-0000-D000-030E-0000
=============================================
Device Path Status
=============================================
/dev/dsk/c1t0d1 Active
/dev/dsk/c3t0d1 Active
/dev/dsk/c0t0d1 Active
/dev/dsk/c8t0d1 Active
=============================================

Hardware paths of the LUN (ioscan):
----------------
/dev/dsk/c1t0d1
----------------
Instance# 4
H/W: 0/3/0/0/0/0.1.1.0.0.0.1

---------------
/dev/dsk/c3t0d1
---------------
Instance# 6
H/W: 0/3/0/0/0/0.1.2.0.0.0.1

---------------
/dev/dsk/c0t0d1
---------------
Instance# 3
H/W: 0/3/0/0/0/1.1.1.0.0.0.1

---------------
/dev/dsk/c8t0d1
---------------
Instance# 14
H/W: 0/3/0/0/0/1.1.2.0.0.0.1

==============================================

NODE2
NODE_2 autopath display output:
=============================================
Lun WWN: 6005-08B4-0005-533B-0000-D000-030E-0000
=============================================
Device Path Status
=============================================
/dev/dsk/c2t0d1 Active
/dev/dsk/c4t0d1 Active
/dev/dsk/c0t0d1 Active
/dev/dsk/c8t0d1 Active
=============================================
Hardware paths of the LUN (ioscan):
----------------
/dev/dsk/c2t0d1
----------------
Instance# 4
H/W: 0/3/0/0/0/0.1.1.0.0.0.1

---------------
/dev/dsk/c4t0d1
---------------
Instance# 8
H/W: 0/3/0/0/0/0.1.2.0.0.0.1

---------------
/dev/dsk/c0t0d1
---------------
Instance# 14
H/W: 0/3/0/0/0/1.1.1.0.0.0.1

---------------
/dev/dsk/c8t0d1
---------------
Instance# 3
H/W: 0/3/0/0/0/1.1.2.0.0.0.1

==============================================

I copied the /stand/ioconfig file of Node 1 to node 2 and reboot node 2 but nothing changed on node 2. Still the same instance numbers and device files.

Alternatively I can create the /etc/lvmpvg file but I would like a symmetrical cluster (best practice).

Any advice?


Can I recreate the device files with mksf command and how should I use this command?

3 REPLIES 3

Re: Device files not the same on cluster nodes

>>Any advice?

Yes.

Don't copy an ioconfig file from one host to another - this would be like copying a Windows registry file from another host. The proper procedure if you really want to do this is discussed in many posts on the forums (just search for ioinit), or you could just look here:

http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01037901-3

See p 13 onwards.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Kehad Snydewel
Frequent Advisor

Re: Device files not the same on cluster nodes

thanks for your speedy response.

i cannot open the link, recieved the following error:
----Please check your login status. The content identified requires a support agreement, HP CarePack or warranty.----

i also tried to recreate the ioconfig files (/stand/ioconfig and /etc/ioconfig) on node1 and 2 as follows:

#ioscan -kf | grep -e INTERFACE -e DEVICE | grep -v target | awk '{printf "%s %s %s\n",$3,$1,$2}' > /stand/infile

# mv /etc/ioconfig /etc/ioconfig.save
# mv /stand/ioconfig /stand/ioconfig.save
# shutdown -ry 0

Booted in single user mode and did:

# /sbin/ioinit â c
# ioinit -f /stand/infile â r (should reboot automatically but did not)

When I rebooted the nodes the hardware paths changed but now the opposite paths are now the same on both nodes.

I changed the ext_bus numbers in the infile on node 2 to the same numbers as on node 1 and did the process again with the ioinit â c but nothing changed. But I did not move the ioconfig files when I did the ioinit again. Could this be the reason why nothing changed?


Can you please provide me with a step by step procedure as to change the instance numbers and will this be the solution to my problem?
Kehad Snydewel
Frequent Advisor

Re: Device files not the same on cluster nodes

i recreated the ioconfig file and removed the line in the newcfg file which gave me an error and my device files is the same nou.

thanks