hpux中Cluster lock的作用
集群锁(Cluster Lock) :
# Cluster Lock Parameters 集群锁是作为连接中断器(tie breaker)存在的。在下列情况下起作用,当运行的集群出错时,两个节点都试图重建一个新集群。集群锁可以被配置为磁盘锁或者仲裁服务器。你可以用两者的任意一个作为集群锁,但是不能在同一集群中同时使用。在配置集群是要考虑一下情况,对于两个节点的集群,必须使用集群锁;对于三个或四个节点的集群,强烈建议使用集群锁;对于多于四个节点的集群,建议使用集群锁。如果决定对多于四个节点的集群配置一个集群锁,它必须是仲裁服务器。
可以用IRST_CLUSTER_LOCK_VG 和 FIRST_CLUSTER_LOCK_PV参数来定义集群锁。IRST_CLUSTER_LOCK_VG表示LVM卷组承载集群锁,这个卷组不能同时在其他集群中作为集群锁存在。
*************************寂寞分割线********************
# The cluster lock is used as a tie-breaker for situations
# in which a running cluster fails, and then two equal-sized
# sub-clusters are both trying to form a new cluster. The
# cluster lock may be configured using either a lock disk
# or a quorum server.
# You can use either the quorum server or the lock disk as
# a cluster lock but not both in the same cluster.
# Consider the following when configuring a cluster.
# For a two-node cluster, you must use a cluster lock. For
# a cluster of three or four nodes, a cluster lock is strongly
# recommended. For a cluster of more than four nodes, a
# cluster lock is recommended. If you decide to configure
# a lock for a cluster of more than four nodes, it must be
# a quorum server.
# a cluster lock but not both in the same cluster.
# Consider the following when configuring a cluster.
# For a two-node cluster, you must use a cluster lock. For
# a cluster of three or four nodes, a cluster lock is strongly
# recommended. For a cluster of more than four nodes, a
# cluster lock is recommended. If you decide to configure
# a lock for a cluster of more than four nodes, it must be
# a quorum server.
# Lock Disk Parameters. Use the FIRST_CLUSTER_LOCK_VG and
# FIRST_CLUSTER_LOCK_PV parameters to define a lock disk.
# The FIRST_CLUSTER_LOCK_VG is the LVM volume group that
# holds the cluster lock. This volume group should not be
# used by any other cluster as a cluster lock device.
# FIRST_CLUSTER_LOCK_PV parameters to define a lock disk.
# The FIRST_CLUSTER_LOCK_VG is the LVM volume group that
# holds the cluster lock. This volume group should not be
# used by any other cluster as a cluster lock device.