免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 11335 | 回复: 8
打印 上一主题 下一主题

redhat AS 4用RHCS做HA,断掉第一台机器网线,服务不能切换! [复制链接]

论坛徽章:
0
1 [报告]
发表于 2006-12-28 13:43 |显示全部楼层
仔细看一下/var/log/messages文件,你会找到答案的

论坛徽章:
0
2 [报告]
发表于 2006-12-28 15:24 |显示全部楼层
Dec 28 07:34:48 vm002 kernel: CMAN: removing node vm001 from the cluster : Missed too many heartbeats
Dec 28 07:34:48 vm002 fenced[2591]: vm001 not a cluster member after 0 sec post_fail_delay
Dec 28 07:34:48 vm002 fenced[2591]: fencing node "vm001"
Dec 28 07:34:48 vm002 fence_manual: Node vm001 needs to be reset before recovery can procede.  Waiting for vm001 to rejoin the cluster or for manual acknowledgement that it has been reset (i.e. fence_ack_manual -n vm001)



仔细看看红色的部分吧

论坛徽章:
0
3 [报告]
发表于 2006-12-28 15:33 |显示全部楼层
已经告诉你了

论坛徽章:
0
4 [报告]
发表于 2006-12-28 15:44 |显示全部楼层
Dec 28 07:34:48 vm002 fence_manual: Node vm001 needs to be reset before recovery can procede.  Waiting for vm001 to rejoin the cluster or for manual acknowledgement that it has been reset (i.e. fence_ack_manual -n vm001)


在vm002上执行
#fence_ack_manual -n vm001
因为你选择的fencing方法是手动嘛,你当然得“手动”告诉正常的节点有一个设备失效了,这样它才能“放心”的接替服务对吧?!

论坛徽章:
0
5 [报告]
发表于 2006-12-28 15:51 |显示全部楼层
那就需要有相应的fence device了,如APC等

论坛徽章:
0
6 [报告]
发表于 2006-12-28 15:53 |显示全部楼层
如果是使用RHCS3的话,也可以用quorum disk的,好像rhel4.4恢复了这个功能,不过没试过

论坛徽章:
0
7 [报告]
发表于 2006-12-28 15:57 |显示全部楼层
我记得RHCS手册上,添加fencing device这一部分有详细说明的,你的brocade switch好像也有包括,你可以去看一下

论坛徽章:
0
8 [报告]
发表于 2006-12-28 16:06 |显示全部楼层
Red Hat Cluster Suite 4 RHEL4 U4 Release Notes


Copyright(c) 2006 Red Hat, Inc.
        -------------------------------------------------------

September 19, 2006

Introduction

   The following topics are covered in this document:
   
     o Changes to Red Hat Cluster Suite 4

     o Important Notes
     
     o Bugs Fixed in the Release

     o Related Documentation
     
   
Changes to Red Hat Cluster Suite 4

  Quorum Disk
   
   Quorum Disk is a new feature available with this release. The
   Quorum Disk feature (also known as qdisk) allows you to configure
   arbitrary heuristics so that each cluster member can determine its
   fitness for participating in a cluster. The fitness information is
   communicated to other cluster members via a "quorum disk" residing
   on shared storage.
   
   With properly configured heuristics, you could define the following
   cluster behavior:

   * In the event of a network-partition failure, provide a method to
     decide which member wins the fence race in a two-node cluster.

   * Allow continued cluster operation after a majority failure without
     manual intervention.

  Quorum Disk communicates with CMAN, ccsd (the Cluster Configuration
  System daemon), and shared storage. It communicates with CMAN to
  advertise quorum-device availability. It communicates with ccsd to
  obtain configuration information. It communicates with shared storage to
  check and record states.

  You can find more information about Quorum Disk in the following man
  pages: mkqdisk(, qdiskd(, and qdisk(5).

  NOTE: For this release, you must configure Quorum Disk by editing
  the cluster configuration file, /etc/cluster/cluster.conf, directly
  rather than by using the cluster configuration graphical user
  interface (system-config-cluster).


ccs_tool Enhancements
  
  The ccs_tool includes new commands for this release. The new
  commands provide the ability to configure certain portions of the
  cluster configuration file (/etc/cluster/cluster.conf). In previous
  releases, the only tool available for creating and managing the
  cluster configuration file was the Cluster Configuration GUI
  (system-config-cluster). For more information about the new commands
  and usage examples, refer to the ccs_tool man page, ccs_tool(.


Important Notes

  The up2date command has changed for RHEL4 U4. When installing
  cluster suite software, use this syntax:

  up2date --installall=<channel-label>

论坛徽章:
0
9 [报告]
发表于 2006-12-28 16:50 |显示全部楼层
You can find more information about Quorum Disk in the following man
  pages: mkqdisk(, qdiskd(, and qdisk(5).
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP