Chinaunix
标题:
route配置会对Mpathd的切换有影响吗?
[打印本页]
作者:
sgzlit
时间:
2005-09-12 11:51
标题:
route配置会对Mpathd的切换有影响吗?
在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的切换呢?
作者:
nimysun
时间:
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有影响。
作者:
sgzlit
时间:
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如果不对,该如何修改呢?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2