苏州产品网站建设,南昌哪个公司做网站好,c 网站开发 图书下载,房地产网站模板库估计使用Red Hat或者CentOS做HA集群的朋友多数都会选择RedHat Cluster Suite#xff08;RHCS#xff09;这个套件来做吧。本篇主要记录构建及测试时候的情况。 poweroff 和 reboot 这种常规操作的服务切换取决于 recoveryrelocate 这个参数#xff0c;在图形化界…估计使用Red Hat或者CentOS做HA集群的朋友多数都会选择RedHat Cluster SuiteRHCS这个套件来做吧。本篇主要记录构建及测试时候的情况。 poweroff 和 reboot 这种常规操作的服务切换取决于 recoveryrelocate 这个参数在图形化界面中队应的位置是 主节点断电或者硬件故障的故障切换取决于fence设备我用的是最不被推荐的手动fencemanual fence此时在 /var/log/messages 中将会有提示 tail -f /var/log/messages
Apr 29 22:30:41 govmail01 fence_manual:
Node govmail02 needs to be reset before recovery can procede.
Waiting for govmail02 to rejoin the cluster or for manual acknowledgement that it has been reset
(i.e. fence_ack_manual -n govmail02) 此时的状态是服务停止主节点都挂了服务不能切过来 发生这种情况可以按照这个提示手工输入命令告诉RHCS 已经将问题节点隔离 [rootgovmail01 ~]# fence_ack_manual -n govmail02Warning: If the node govmail02 has not been manually fenced
(i.e. power cycled or disconnected from shared storage devices)
the GFS file system may become corrupted and all its data
unrecoverable! Please verify that the node shown above has
been reset or disconnected from storage.Are you certain you want to continue? [yN] y
done 完成后服务就会在备节点上启动了。转载于:https://www.cnblogs.com/killkill/archive/2009/04/29/1446586.html