免费注册 查看新帖 |

Chinaunix

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

[HACMP集群] HACMP 资源接管测试中的一个疑惑 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-09 13:58 |只看该作者 |倒序浏览
配完ha后,在测试双机资源接管时,
用#shutdown -Fr 关掉主机,备机不能接管资源
用#halt -q 关掉主机,备机能正常接管资源

有人能解释一下这是什么愿因吗?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2008-05-09 14:12 |只看该作者
/usr/es/sbin/cluster/etc/rc.shutdown

论坛徽章:
0
3 [报告]
发表于 2008-05-09 14:51 |只看该作者
shutdown -Fr 是正常关机重启,备机当然不能接管。
halt -q 是立即关机,相当于模拟机器掉电而宕机的情况,所以备机会认为主机有故障而去接管。

论坛徽章:
0
4 [报告]
发表于 2008-05-09 14:53 |只看该作者
刚在redbook上找到了解释

When the AIX 5L operating system is shut down (with the shutdown command) while cluster
services are running, the processing in the /usr/es/sbin/cluster/etc/rc.shutdown performs a
forced shutdown. If you prefer to have resources taken over, then prior to issuing the AIX 5L
shutdown command, stop HACMP with a graceful with takeover option. If you do not care
to have resources taken over, take no special action.
Note: HACMP resource group location information may not be updated
properly as a result of a forced down or an inadvertent shutdown.
When the forced node is reintegrated into the cluster, the displayed
cluster resource group location will be refreshed.

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2008-05-09 15:00 |只看该作者
把这个脚本打开看看就知道了

不符合脚本的情况说明有bug,这种乱子hacmp也出过

论坛徽章:
0
6 [报告]
发表于 2008-05-09 15:10 |只看该作者
看看

论坛徽章:
0
7 [报告]
发表于 2008-05-12 15:07 |只看该作者
楼上的说法是正确的。呵呵。

论坛徽章:
0
8 [报告]
发表于 2008-05-12 16:15 |只看该作者
当然了 一个是正常关机
一个是模拟宕机 两个概念不通

论坛徽章:
0
9 [报告]
发表于 2010-09-11 02:40 |只看该作者
留个印
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP