hehuomumu
redhat as4 up4 bond0 网卡 出现: bonding: bond0: released all slaves 问题!
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 时常 自动 重启,不知道什么原因造成的?
请达人赐教!
hehuomumu
下面为/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
hehuomumu
/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
hehuomumu
交换机端没有做bond.
网卡不做bond没有做过测试. 2条bond机器 数据库机器都出现这种情况.其他一起bond的服务器就没有.
若若的问一句:如果和磁盘阵列连接不稳定,是否可能造成,网卡的up/down?
ARP模式 如何使用?
hehuomumu
没有什么不同! 服务器型号,网卡型号都相同.
唯一区别,就是 出现问题的2台机器 ibm x3650上有2卡emulex的HBA卡,分别和2台hp 光纤交换机相连,2台hp交换机和hp msa1000 的2个光口相连接.
我感觉是,由于san存储系统的异常,导致网卡的down/up.