免费注册 查看新帖 |

Chinaunix

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

route配置会对Mpathd的切换有影响吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-12 11:51 |只看该作者 |倒序浏览
在cluster中配置Mpathd资源,无法failover到第二块网卡,而是直接切换到了第二台主机。\r\n怀疑可能是route配置的影响\r\n系统里netstat -r的输出如下:\r\n\r\n#netstat -r\r\n \r\nRouting Table: IPv4\r\n  Destination           Gateway           Flags  Ref   Use   Interface\r\n-------------------- -------------------- ----- ----- ------ ---------\r\n10.48.155.0          host1                 U        1    168  ce0:1\r\n10.48.155.0          10.48.155.110         U        1      0  ce0:2\r\n10.48.155.0          cg_ma_ip              U        1      0  ce0:3\r\n10.48.155.0          cg_mpmm_ip            U        1      0  ce0:5\r\n10.48.155.0          hlr_lmt_ip            U        1      0  ce0:6\r\n10.48.155.0          cg_lmt_ip             U        1      0  ce0:7\r\n10.48.155.0          hlr_cdpm_ip           U        1      0  ce0:8\r\n10.48.155.0          hlr_mpmm_ip           U        1      0  ce0:10\r\n10.48.155.0          hlr_ma_ip             U        1      0  ce0:11\r\n10.48.155.0          hlr_oam_ip            U        1      0  ce0:12\r\n10.48.155.0          hlr_sscm_ip           U        1      0  ce0:13\r\n1.0.0.0              host1                 U        3      0  ce0\r\n1.0.0.0              host1                 U        3      2  ce2\r\n224.0.0.0            host1                 U        1      0  ce0:1\r\ndefault              10.48.155.1           UG       1    196  \r\nlocalhost            localhost             UH      10    403  lo0\r\n\r\n\r\n发现gateway的一列与另一个正常的系统不一样\r\n把很多浮动IP的资源名称作为了主机名\r\n在我的另一套正常应用的Mpathd环境里,输出是这样的:\r\n#netstat -r\r\n\r\n \r\n\r\nRouting Table: IPv4\r\n\r\n  Destination           Gateway           Flags  Ref   Use   Interface\r\n\r\n-------------------- -------------------- ----- ----- ------ ---------\r\n\r\n10.196.80.0          bl2k2                 U        1    157  eri0:2\r\n\r\n10.196.80.0          10.196.83.155         U        1      0  eri0:1\r\n\r\n10.196.80.0          10.196.83.156         U        1      0  eri0:3\r\n\r\n1.0.0.0              10.196.83.155         U        1      0  eri0\r\n\r\n1.0.0.0              10.196.83.155         U        1      0  qfe3\r\n\r\n224.0.0.0            bl2k2                 U        1      0  eri0:2\r\n\r\ndefault              10.196.80.1           UG       1    428\r\n\r\nlocalhost            localhost             UH      821401526  lo0\r\n\r\n在这个系统中VIP直接显示出来,没有列出VIP的资源名称。\r\n\r\n\r\n在此请教各位,不知上一个netstat输出结果,是否会影响mpathd的切换呢?     

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
2 [报告]
发表于 2005-09-12 12:42 |只看该作者

route配置会对Mpathd的切换有影响吗?

你只回答你的标题\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n路由对mpathd有影响。

论坛徽章:
0
3 [报告]
发表于 2005-09-13 09:54 |只看该作者

route配置会对Mpathd的切换有影响吗?

多谢楼上的大侠\r\n\r\n那我的那个gateway的输出,肯定是有问题的吧?\r\n#netstat -r \r\n\r\nRouting Table: IPv4 \r\n Destination           Gateway           Flags  Ref   Use   Interface \r\n-------------------- -------------------- ----- ----- ------ --------- \r\n10.48.155.0          host1                 U        1    168  ce0:1 \r\n10.48.155.0          10.48.155.110         U        1      0  ce0:2 \r\n10.48.155.0          cg_ma_ip              U        1      0  ce0:3 \r\n10.48.155.0          cg_mpmm_ip            U        1      0  ce0:5 \r\n10.48.155.0          hlr_lmt_ip            U        1      0  ce0:6 \r\n10.48.155.0          cg_lmt_ip             U        1      0  ce0:7 \r\n10.48.155.0          hlr_cdpm_ip           U        1      0  ce0:8 \r\n10.48.155.0          hlr_mpmm_ip           U        1      0  ce0:10 \r\n10.48.155.0          hlr_ma_ip             U        1      0  ce0:11 \r\n10.48.155.0          hlr_oam_ip            U        1      0  ce0:12 \r\n10.48.155.0          hlr_sscm_ip           U        1      0  ce0:13 \r\n1.0.0.0              host1                 U        3      0  ce0 \r\n1.0.0.0              host1                 U        3      2  ce2 \r\n224.0.0.0            host1                 U        1      0  ce0:1 \r\ndefault              10.48.155.1           UG       1    196   \r\nlocalhost            localhost             UH      10    403  lo0 \r\n\r\n是不是应该只有IP地址或者主机名作为gateway?\r\n如果不对,该如何修改呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP