- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cluster lock location
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-03-2006 02:18 AM
11-03-2006 02:18 AM
Cluster lock location
I am starting learn ServiceGuard and I'd like to ask You a question related to the Cluster Lock.
Where it is located and how can I find out if it is set.
I found on ITRC forum that the cluster lock is located on Bad Block Relocation area or on VG bad block area. What happens if on disk surface occurs bad block and disk uses block from Bad Block Relocation area where is written cluster lock?
And as I know on VG is no bad block area, but I'm not sure.
Thanks for your help.
Gabriel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 02:26 AM
11-03-2006 02:26 AM
Re: Cluster lock location
Here's a script I have to check it:
# cat chkclusterlock
#!/bin/sh
#
# script to check for existence of cluster lock
#
PATH=/usr/bin:/usr/sbin
if [[ `id -u` != 0 ]]
then
print "\n$0: Must be super-user to run this command."
exit 1
fi
HOST=`hostname`
DEV=`cmviewconf |sed -n -e "/$HOST/{$!N;p;}" -e h | cut -d: -f2 |grep dev|awk -F/ '{print $4}'`
if [ -c /dev/rdsk/$DEV ]
then
SIZE=`diskinfo /dev/rdsk/$DEV | grep size |awk '{print $2}'`
if [ $SIZE = "io_search failed: No match found." ]
then
echo "The disk /dev/rdsk/$DEV does NOT exist on $HOST!!!"
exit 1
fi
echo "The cluster lock disk /dev/rdsk/$DEV on $HOST is $SIZE kbytes."
exit 0
else
echo "/dev/rdsk/$DEV does not exist on $HOST!!!"
exit 1
fi
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 02:44 AM
11-03-2006 02:44 AM
Re: Cluster lock location
thanks for your reply, but I would like to know where particularly is cluster block located on disk, on which block.
Gabriel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 04:28 AM
11-03-2006 04:28 AM
Re: Cluster lock location
The lock area on the disk is not mirrored, even though the physical volume may be a part of a volume group that contains mirrored logical volumes.
Basically, the cluster lock flag is stored in the LVM Record Header of the disk.
I think there is a way to get it out with adb.
I'll see if I can get more info...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 05:05 AM
11-03-2006 05:05 AM
Re: Cluster lock location
Thios disc should have Bad Block relocation disabled if you are worried about it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 03:20 PM
11-03-2006 03:20 PM