免费注册 查看新帖 |

Chinaunix

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

ha的双网切换问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-09-20 17:19 |只看该作者 |倒序浏览
一个oracle ha的环境
环境:2台Red Hat  Enterprise Linux Server release 6.7   采用 rhcs  ,版本:clustat version 3.0.12.1系统采用了双网配置 ,如 A网: 192.168.1.0/24  B网: 192.168.2.0/24  
ha resource配置了双ip address   A网: 192.168.1.11  B网: 192.168.2.11  ,这2个vip地址作为监听地址。


问题:
先拔点node1 的A网后,集群会切换到node2 ,再拔掉node2的A网后,ha不可用。最终导致真个数据库不可用。
从resource角度而言,这种策略是没问题的。但是我现在想做双网的监听,有什么办法能再A网异常的时候,保证B网可用吗?

论坛徽章:
0
2 [报告]
发表于 2016-09-20 18:38 |只看该作者
本帖最后由 flying_dream 于 2016-09-20 18:53 编辑

有人回答吗?If you specify that a resource is an independent subtree, then if that resource fails only that resource is restarted (rather than the entire service) before the system attempting normal recovery. You can specify the maximum number of restarts to attempt for that resource on a node before implementing the recovery policy for the service. You can also specify the length of time in seconds after which the system will implement the recovery policy for the service.
If you specify that the resource is a non-critical resource, then if that resource fails only that resource is restarted, and if the resource continues to fail then only that resource is disabled, rather than the entire service. You can specify the maximum number of restarts to attempt for that resource on a node before disabling that resource. You can also specify the length of time in seconds after which the system will disable that resource.

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP