- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is lock disk in a cluster
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
12-12-2008 04:19 AM
12-12-2008 04:19 AM
What is lock disk in a cluster
As i am new to the Cluster environment, so please share some information on Lock disk in a MC/SG cluster.
Regards
Vishu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2008 04:23 AM
12-12-2008 04:23 AM
Re: What is lock disk in a cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2008 09:09 AM
12-12-2008 09:09 AM
Re: What is lock disk in a cluster
In order for a cluster to reform after a node failure, a strict majority (more than 50%) of the nodes previously running must attempt to join the new cluster. Exactly 50% of the previously running nodes may reform as a new cluster provided that the other 50% do not also reform as a new
cluster. This will most often happen when a cluster contains two nodes, and heartbeat
communications between the two nodes are interrupted. Each node will assume that the other has failed, and will attempt to form a cluster by itself. Since only one cluster can be allowed to reform, a tie-breaker or cluster lock is needed. This cluster lock can be either a disk designated
for this purpose that is physically connected to all nodes in the cluster or another system acting as a Quorum Server.
In the case of a cluster lock disk, an area outside the normal data area is used. When two subclusters of equal size attempt to form, each sub-cluster will attempt to acquire the cluster lock.
The sub-cluster that successfully obtains the cluster lock will form the new cluster, while the other sub-cluster will be prevented from forming. A cluster lock disk cannot be used for a cluster of
more than four nodes.
A cluster locking mechanism is required for a two-node cluster, and is strongly recommended for a three- or four-node cluster. Note that in the case of a two-node cluster, if one node fails the
other must gain access to the cluster lock. If it cannot, Serviceguard will not be able to distinguish this condition from the condition where both nodes have lost contact with each other and each is trying to reform as a one-node cluster. Either (or both) nodes that are trying to create
a one-node cluster will be halted and rebooted.
Our service guard_cluster is configured to use a cluster lock disk. For this cluster, a volume group, vglock, was established to hold the cluster lock disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2008 09:18 AM
12-12-2008 09:18 AM
Re: What is lock disk in a cluster
1. Halt the cluster
cmhaltcl -f
2. On all nodes:
rm /etc/cmcluster/*
3. On a two node cluster, enable at least one of the volume groups used for packages. This volume group will be used for the lock disk.
vgchange -c n ${vg}
vgchange -a y ${vg}
4. Generate a cluster configuration script.
1. cmquerycl -C ${config} -v -n ${node1} ... -n ${node#}
2. cmgetconf -c ${cluster} > ${config}
5. Edit the configuration file as appropriate
6. cmcheckconf -C ${config}
7. cmapplyconf -C ${config}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2008 09:33 AM
12-12-2008 09:33 AM
Re: What is lock disk in a cluster
Lock disk in cluster means, whenever your one node is not able to ping other node through heartbit cable, at that time other node will check the lock disk first, if it is already in use then it will not start the package again...
Like,
If your heartbit cable went down, so both the node will treat as, other node is down and it will tye to activate package. but if Disk lock is not into the picture, then both the node will start the package at the same time and data can be crash...
If you still having doubt, please let me know...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2008 09:28 AM
12-13-2008 09:28 AM
Re: What is lock disk in a cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2008 11:36 AM
12-13-2008 11:36 AM
Re: What is lock disk in a cluster
>>>so please share some information on Lock disk in a MC/SG cluster.<<<<<
Cluster lock disk
The Cluster lock is a disk located in a volume group shared by all the nodes in the cluster . The cluster lock volume group and the pshyical volumer are identified in the Cluster configuration file,
The cluster lock is used as a tiebraker only for the situation in which the running cluster fails and atempt to refrom the cluster, the cluster is split init two subcluster of equal size , Each sub cluster will attempt to acquire the cluster lock.
the sub cksuter that gets the cluster lock will form the cluster , The subcluster that gets the cluster lock qill form the new cluster , The Sub cluster that does not get the cluster lock will panic in order to allow existing application to failover to
the new cluster which has been formed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 09:23 PM
12-15-2008 09:23 PM