- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dual lock disk issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 12:45 AM
11-09-2004 12:45 AM
Dual lock disk issue
a pair of rp4440 server, and a pair of CX500 arrays. I am trying to configure a first and second lock disk. I have created the volume groups /dev/vglock1 and /dev/vglock2 on both hosts in the cluster, and entered them into the cluster config file. But when ever I execute a cmchekconf, I get the following error
"Error: First physical volume name and Second physical volume name specified correspond to the same physical device. Choose different first and second physical volume names."
These are different LUNs on the arrays, and are configured in different volume groups. I suspect this may be linked to another issue. When ever I use SAM, and list disk devices, all I see listed are the 2 array service processors, none of the LUNs are displayed.
My back is against the wall here, as the project is starting to get bogged down on this. Any help will be greatly apreciated, and points awarded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 01:04 AM
11-09-2004 01:04 AM
Re: Dual lock disk issue
A Servicguard cluster lock disk needs to be accessible by both systems.
The disk array but present the disk to both systems (I assume this is fiber).
Once the array is set up, you'll need to do the following to make the drive visible to both systems.
insf -C
ioscan
or boot the box.
Once the disk is visible, you may need to run pvcreate to set it up for use by a logical volume.
I think once its visible, you're all set. Sorry I can't help more with making it visible from the array setup standpoint.
Regard,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 01:09 AM
11-09-2004 01:09 AM
Re: Dual lock disk issue
cmcheckconf -C /etc/cmcluster/cluster.ascii
The check fails witht the error"
"Error: First physical volume name and Second physical volume name specified correspond to the same physical device. Choose different first and second physical volume names."
I need to determine why the software thinks this is one device, when in fact there are 2 separate LUNs, one on each array.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 01:40 AM
11-09-2004 01:40 AM
Re: Dual lock disk issue
Can you post your ascii conf file for us to take a peek.
Thanks
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 02:08 AM
11-09-2004 02:08 AM
Re: Dual lock disk issue
good.
Please post the logs from servicegauard.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 04:35 AM
11-09-2004 04:35 AM
Re: Dual lock disk issue
Sounds like vglock1 in one server is the same LUN that the other server is seeing as vglock2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:05 PM
11-09-2004 07:05 PM
Re: Dual lock disk issue
The arrays are CX500, the servers are rp4440,
we are running HP-UX 11.11, with MCSG 11.16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:46 PM
11-09-2004 07:46 PM
Re: Dual lock disk issue
That may give you a pointer to an offending incorrect PV pair.
You could also do an adb on each PV to check the LVM info and see if they are indeed the same disc:
#echo â 0x2000?4X â | adb /dev/dsk/c0t6d0
Obviously replace the disk path with your disks, the sort of output you would get would be:
2000: 4C564d52 45433031 78261D3A 391C79BF where the last two words are the unique physical volume id.
Have you installed the latest available patch for 11.16? PHSS_31071 for 11.11 of HP-UX.
Also, you may find that it would be easier to use the Quorum Server product rather than the cluster lock disc.
One thing to note, HP do not support the Clariion disc arrays for use in Servicegu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:49 PM
11-09-2004 07:49 PM
Re: Dual lock disk issue
The first thing to do is to look at the LVM record in the PVRA of these disks. Run:
echo 0x2008?4D|adb /dev/dsk/cXtYdZ
for each of the disk device files of your cluster lock disks. This should provide you with the following information:
2008: CPU-ID PV-ID CPU-ID VG-ID
So devices c10t2d7 and c18t2d7 should match, and c9t2d6 and c17t2d6 should match.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:43 PM
11-09-2004 09:43 PM
Re: Dual lock disk issue
I do have the patch PHSS_31071 installed as well as PHSS_31073, but they have created their own issues as they require identd, which is not running on these servers.
The results of the adb (attached)indicate that these are different devices.
How does Service Guard determine if these are different devices? Does it read lif information? Does it use the disk serial number? If I knew that much, I'd have a direction to focus my effort in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:59 PM
11-09-2004 09:59 PM
Re: Dual lock disk issue
I'm not really trusting the info we're getting here - you need to explicitly use an uppercase D in the adb command:
echo "0x2008?4D" | adb /dev/dsk/cXtYdZ
Cheers
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 11:14 PM
11-09-2004 11:14 PM
Re: Dual lock disk issue
Not the answer to your original question, but maybe a useful hint:
you don't need 2 lock disks if you are configuring an extended cluster. If you have dual lock disks, when you have a disaster in one datacenter the second node will TOC as it won't be able to secure both lock disks. You could think that mirrored lock disks could avoid that, but in such case you are increasing the chances for a split brain situation.
I would opt for single lock disk or quorum server as the chances for data corruption due to a split-brain condition are the lowest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 11:20 PM
11-09-2004 11:20 PM
Re: Dual lock disk issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 10:37 PM
11-10-2004 10:37 PM
Re: Dual lock disk issue
After testing with the mirrored lock disk, we found the cluster resonded as desired. We simulated a lost link by powering off the switches on one side of the cluster. The result was that the alternate node took no action to start the package, and registered the primary as being down. After the links where restored, we were able to reform the cluster with a cmrunnode command.
The issue with the disks being the same was never resolved. It is quite curious as the disks where different LUNs in different raid groups (one RAID 5, and one RAID 1) and configured into different volume groups.
The reslts of the adb command (using capitol D) showed that they were indeed different disks. I suspect that something within the SAN environment, the switches or the CX array was somehow blocking or providing misinformation when Service Guard polled the devices. If I knew exactly how MC/Service Guard polled the disks, and what it used to determine the identity of the disks, I could probably figure it out.
But the cluster is operational, and that is the major concern.
Thanks to all that provided assistance.