hpux中Cluster lock的作用

集群锁(Cluster Lock) :
       集群锁是作为连接中断器(tie breaker)存在的。在下列情况下起作用,当运行的集群出错时,两个节点都试图重建一个新集群。集群锁可以被配置为磁盘锁或者仲裁服务器。你可以用两者的任意一个作为集群锁,但是不能在同一集群中同时使用。在配置集群是要考虑一下情况,对于两个节点的集群,必须使用集群锁;对于三个或四个节点的集群,强烈建议使用集群锁;对于多于四个节点的集群,建议使用集群锁。如果决定对多于四个节点的集群配置一个集群锁,它必须是仲裁服务器。
可以用IRST_CLUSTER_LOCK_VG 和 FIRST_CLUSTER_LOCK_PV参数来定义集群锁。IRST_CLUSTER_LOCK_VG表示LVM卷组承载集群锁,这个卷组不能同时在其他集群中作为集群锁存在。
*************************寂寞分割线********************
# Cluster Lock Parameters
# 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.
# 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.


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值