免费注册 查看新帖 |

Chinaunix

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

[网络管理] redhat as4 up4 bond0 网卡 出现: bonding: bond0: released all slaves 问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-22 18:35 |只看该作者 |倒序浏览
May 22 17:19:57 localhost kernel: bonding: bond0: released all slaves
May 22 17:19:57 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
May 22 17:20:02 localhost kernel: bnx2: eth0: using MSI
May 22 17:20:02 localhost kernel: bonding: bond0: enslaving eth0 as a backup interface with a down link.
May 22 17:20:02 localhost kernel: bnx2: eth1: using MSI
May 22 17:20:02 localhost kernel: bonding: bond0: enslaving eth1 as a backup interface with a down link.
May 22 17:20:02 localhost su(pam_unix)[20825]: session opened for user sybase by (uid=0)
May 22 17:20:04 localhost kernel: bnx2: eth0 NIC Link is Up, 1000 Mbps full duplex
May 22 17:20:04 localhost kernel: bonding: bond0: link status definitely up for interface eth0.
May 22 17:20:04 localhost kernel: bonding: bond0: making interface eth0 the new active one.
May 22 17:20:04 localhost kernel: bnx2: eth1 NIC Link is Up, 1000 Mbps full duplex


redhat as4 up4 bond网卡 也出现同样问题!

bond0 时常 自动 重启,不知道什么原因造成的?

请达人赐教!

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
2 [报告]
发表于 2008-05-22 18:42 |只看该作者
按照提示看链路抖动。你检查一下接口什么原因up/down的。

论坛徽章:
0
3 [报告]
发表于 2008-05-22 18:47 |只看该作者
下面为/var/log/messages 2次 released all slaves 动作 的全部日志.

小弟看不出有什么问题?

请大哥赐教!

May 22 16:48:29 localhost kernel: bonding: bond0: released all slaves
May 22 16:48:29 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
May 22 16:48:33 localhost kernel: bnx2: eth0: using MSI
May 22 16:48:33 localhost kernel: bonding: bond0: enslaving eth0 as a backup interface with a down link.
May 22 16:48:33 localhost kernel: bnx2: eth1: using MSI
May 22 16:48:33 localhost kernel: bonding: bond0: enslaving eth1 as a backup interface with a down link.
May 22 16:48:33 localhost su(pam_unix)[1896]: session opened for user sybase by (uid=0)
May 22 16:48:35 localhost kernel: bnx2: eth0 NIC Link is Up, 1000 Mbps full duplex
May 22 16:48:35 localhost kernel: bonding: bond0: link status definitely up for interface eth0.
May 22 16:48:35 localhost kernel: bonding: bond0: making interface eth0 the new active one.
May 22 16:48:36 localhost kernel: bnx2: eth1 NIC Link is Up, 1000 Mbps full duplex
May 22 16:48:36 localhost kernel: bonding: bond0: link status definitely up for interface eth1.
May 22 16:48:36 localhost su(pam_unix)[1896]: session closed for user sybase
May 22 17:04:10 localhost kernel: SELinux: initialized (dev sdb, type ext2), uses xattr
May 22 17:04:10 localhost su(pam_unix)[7551]: session opened for user sybase by (uid=0)
May 22 17:04:10 localhost su(pam_unix)[7551]: session closed for user sybase
May 22 17:04:11 localhost su(pam_unix)[7635]: session opened for user sybase by (uid=0)
May 22 17:04:11 localhost su(pam_unix)[7635]: session closed for user sybase
May 22 17:19:57 localhost kernel: bonding: bond0: released all slaves
May 22 17:19:57 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
May 22 17:20:02 localhost kernel: bnx2: eth0: using MSI
May 22 17:20:02 localhost kernel: bonding: bond0: enslaving eth0 as a backup interface with a down link.
May 22 17:20:02 localhost kernel: bnx2: eth1: using MSI
May 22 17:20:02 localhost kernel: bonding: bond0: enslaving eth1 as a backup interface with a down link.
May 22 17:20:02 localhost su(pam_unix)[20825]: session opened for user sybase by (uid=0)
May 22 17:20:04 localhost kernel: bnx2: eth0 NIC Link is Up, 1000 Mbps full duplex
May 22 17:20:04 localhost kernel: bonding: bond0: link status definitely up for interface eth0.
May 22 17:20:04 localhost kernel: bonding: bond0: making interface eth0 the new active one.
May 22 17:20:04 localhost kernel: bnx2: eth1 NIC Link is Up, 1000 Mbps full duplex
May 22 17:20:04 localhost kernel: bonding: bond0: link status definitely up for interface eth1.
May 22 17:20:05 localhost su(pam_unix)[20825]: session closed for user sybase

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
4 [报告]
发表于 2008-05-22 19:22 |只看该作者
贴一下你的配置文件。
/etc/modprobe.conf
ifconfig-eth0
ifconfig-eth1
ifconfig-bond0
应该就这些了。

论坛徽章:
0
5 [报告]
发表于 2008-05-22 19:46 |只看该作者
/etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias eth2 tg3
alias eth3 tg3
alias scsi_hostadapter aacraid
alias scsi_hostadapter1 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

install bond0 /sbin/modprobe -a eth0 eth1 && /sbin/modprobe bonding
alias bond0 bonding
install bond1 /sbin/modprobe -a eth2 eth3 && /sbin/modprobe bonding
alias bond1 bonding
options bonding mode=1 miimon=100 max_bonds=2  

alias scsi_hostadapter2 lpfc
install lpfcdfc /sbin/modprobe lpfc && /sbin/modprobe --ignore-install lpfcdfc

/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
BROADCAST=10.10.10.255
IPADDR=10.10.10.51
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no

IPV6INIT=no
PEERDNS=yes
GATEWAY=10.10.10.201


/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes

TYPE=Ethernet

/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes

TYPE=Ethernet

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
6 [报告]
发表于 2008-05-22 20:27 |只看该作者
交换机端是否也配置了绑定?
网卡不做bound时是否也有UP/DOWN的情况?
MII有可能是网卡不支持,好像有个ARP模式你试试。

论坛徽章:
0
7 [报告]
发表于 2008-05-22 20:49 |只看该作者
交换机端没有做bond.

网卡不做bond没有做过测试. 2条bond机器 数据库机器都出现这种情况.其他一起bond的服务器就没有.

若若的问一句:如果和磁盘阵列连接不稳定,是否可能造成,网卡的up/down?

ARP模式 如何使用?

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
8 [报告]
发表于 2008-05-22 22:29 |只看该作者
出问题的和不出问题的bound有什么不同,譬如网卡型号。配置方式。交换机型号。

论坛徽章:
0
9 [报告]
发表于 2008-05-22 23:05 |只看该作者
没有什么不同! 服务器型号,网卡型号都相同.
唯一区别,就是 出现问题的2台机器 ibm x3650上有2卡emulex的HBA卡,分别和2台hp 光纤交换机相连,2台hp交换机和hp msa1000 的2个光口相连接.
我感觉是,由于san存储系统的异常,导致网卡的down/up.

论坛徽章:
0
10 [报告]
发表于 2008-05-27 12:26 |只看该作者
最终解决方法:更新网卡驱动!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP