Operating System - HP-UX
1833059 Members
2493 Online
110049 Solutions
New Discussion

Node cannot reach lock device /dev/dsk/c2t0d1

 
Amir Haboosheh
Frequent Advisor

Node cannot reach lock device /dev/dsk/c2t0d1

i am getting this warning every few minutes or so on the smh gui in the serviceguard manager from node2.

the cluster works fine and moving the package to node2 that sends the alert works good.
so i am not sure what's the cause or the fix for this. any ideas?

i have hpux 11.31 with sep 2008 patch bundle
sg v.18

2x rx2660 connected to an msa30 using an msa1500 with msa1000 controllers (direct connection, no fc switch).

the device is the shared msa30 and node1 h/w path is c4t0d1 and node2 is c2t0d1. everything is the same so i don't know why they came out different (the first time i installed hpux 11.23 they were the same c2t0d1) but from what i read it doesn't matter as long as my cluster configuration is correct (which i think it is).

any help on this matter would be appreciated.
these are brand new equipment about 5 months old (took us a while to install ;)

thanks,
amir
14 REPLIES 14
Patrick Wallek
Honored Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

The first thing I would try is an ioscan to make sure that the disk is actually still available to this node.

You could also try 'diskinfo /dev/rdsk/c2t0d1' and see what it returns.

The cluster lock disk will not come into play until one node fails. At that point, each node tries to access the lock disk. The one that succeeds becomes the new cluster.

Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

everything looks good with diskinfo and ioscan. and it's not that the error is constant it's just there for one min and gone the next. on/off/on/off...

i know the arbitration moment is the only time the lockdisk will matter but the last thing i need is for it not do find the lockdisk when the failure happens.

amir
Patrick Wallek
Honored Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

If the error is intermittent, it sounds like you have an intermittent problem accessing the disk.

Is there any log on the MSA? Check /var/adm/syslog/syslog.log and see if there are any disk errors there.
Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

this is interesting this is what is at the end of the syslog and keeps repeating on and off:

Sep 11 20:25:02 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
inaccessible

Sep 11 20:28:43 opiunix2 above message repeats 4 times

Sep 11 20:26:22 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
accessible

Sep 11 20:28:43 opiunix2 above message repeats 4 times

Sep 11 20:29:17 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
inaccessible

Sep 11 20:30:37 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
accessible

Sep 11 20:47:42 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
inaccessible

Sep 11 20:48:43 opiunix2 above message repeats 4 times

Sep 11 20:44:47 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
accessible

Sep 11 20:48:43 opiunix2 above message repeats 3 times

Sep 11 20:50:27 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
accessible

Sep 11 20:53:22 opiunix2 cmdisklockd[3503]: WARNING: Cluster lock disk /dev/dsk/
c2t0d1 has failed: I/O error. Until it is fixed, a single failure could cause al
l nodes in the cluster to crash.

Sep 11 20:53:22 opiunix2 cmdisklockd[3503]: Cluster lock disk /dev/dsk/c2t0d1 is
inaccessible
Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

when i search the error messages on the forums it implies a hardware issue. that doesn't make sense. everything has been working perfectly on 11.23 on fri i installed 11.31 using new drives. and since setting up sg i have been seeing the errors. but node fail over works fine.
Torsten.
Acclaimed Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

"2x rx2660 connected to an msa30 using an msa1500 with msa1000 controllers (direct connection, no fc switch)."


How did you manage this?

If you have 2 FC ports on the MSA1500, did you connect 1 FC port of the MSA to 1 Server?


BTW, make sure the configured profile for the LUNs is set to HP(-UX).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sandeep_Chaudhary
Trusted Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

check for fiber connectivity.
If possibly change the lock disk.

Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

msa30 is scsi so 2 fc from each server and scsi port to msa30 (don't ask it's what i got to work with and that cannot be changed).
i confimed with hp and it is a supported configuratino. the one thing i had to do originally with 11.23 to make it work is update the firmware to active/active on the msa1500.

the msa1500 profile is set to hpux

connectivity it good.
how can i change th lock disk? doen's it have to be the msa30 which is the only shared drive between the the server?


Torsten.
Acclaimed Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

I think I understand now ...

You have (apart from the MSA1500) a MSA30MI shared directly between the servers, right?

Did you configure one of the SCSI controllers in 1 server to ID6?

If not, you have both controllers at ID7 - this is a conflict and would explain what you see.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

If your config is like this

Server_A <==> MSA30 <==> Server_B
Server_A <==> MSA30 <==> Server_B

you need to configure the HBA SCSI address of either Server_A **or** Server_B from 7 to 6.

Can you post an "ioscan -fn" of both servers?

You will see devices like

/dev/mpt_

You need to do

# mptconfig -i 6 /dev/mpt11

Confirm: Do you want to change scsi parameters (y/[n]): y

Scan For Devices to avoid id conflict ... [Passed]
Status .................................. [Successful]

for example.



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

it more like this:

ServerA> MSA1500+1000> MSA30
the two msa1000 controllers and inside the msa1500 unit. the msa1500 has a scsi i/o module that connects to the msa30. the msa 1500 also has 2x fc modules that each server is connected to.
Torsten.
Acclaimed Contributor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

So the MSA30 is only the extension to the MSA1500.

Do you have only a single FC cable between the MSA1500 and each server?

What firmware is running on the MSA?

When you was using 11.23 - was secure path installed?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

>Do you have only a single FC cable between the MSA1500 and each server?
yes

>What firmware is running on the MSA?
v.7 active/active

>When you was using 11.23 - was secure path installed?
no

Amir Haboosheh
Frequent Advisor

Re: Node cannot reach lock device /dev/dsk/c2t0d1

i attached the ioscan -fn output from each server.