Operating System - HP-UX
1825766 Members
2113 Online
109687 Solutions
New Discussion

Re: two servers share VA7400 Disk Array

 
Carol Yu
Frequent Advisor

two servers share VA7400 Disk Array

Hi, All,

I have two servers (rp5470) as a cluster (active-active) running MC ServiceGuard and sharing one VA7400 Disk Array.

How could I know that the disk I want to setup a new vg on one server is not being used by the other server?

Thanks a lot,
Carol


4 REPLIES 4
RAC_1
Honored Contributor

Re: two servers share VA7400 Disk Array

You will have to check the file /etc/lvmtab on both servers. (strings /etc/lvmtab)

This would help you if the controller instances are same on both servers, else you will have to use diskinfo command on the disk you intend to use and compare the sizes.

Say on one node /dev/dsk/c1t2d0 is there and on another it is /dev/dsk/c2t2d0, then run diskinfo on both and compare the sizes.

Also if you use pvcreate on it, it will give you a message that it is already been used if any.

This becomes quite easy with secure path. It iwll give all the details about a PV.

Anil
There is no substitute to HARDWORK
Tim D Fulford
Honored Contributor

Re: two servers share VA7400 Disk Array

Hi

1 - armdsp -L & check out what LUNs are configured on the array.

2 - ioscan -fknCdisk on BOTH servers.

3 - basically you ned to be able to count in base 8, as the LUN target (t) & destination (d) will be in the HW path & device path.
LUN0 --> 0.0, t=0, d=0
LUN1 --> 0.1, t=0, d=1
:etc:
LUN7 --> 0.7, t=0, d=7
LUN8 --> 1.0, t=1, d=0
LUN9 --> 1.1, t=1, d=1
and so forth.

4 - ting the above together; on the two servers from the ioscan results you should see that the disks are called /dev/dsk/c?td so that say on server A /dev/dsk/c6t0d3 (LUN3) will actually be the same as /dev/dsk/c10t0d3 on server B; similarly their hardware paths will end .0.3

Regards

Tim
-
Carol Yu
Frequent Advisor

Re: two servers share VA7400 Disk Array

Thanks a lot for your reply.
Carol Yu
Frequent Advisor

Re: two servers share VA7400 Disk Array

I was trying to submit points and got "system unavailable" error and failed. Sorry! Will try again later.