Hi all , we have two ethernet card on server i configured bonding device "bond0" for teamming and loadbalancing It works fine without given single request time out when down eth0 or eth1 ,I configured bond0 device like this,
DEVICE=bond0 IPADDR=192.168.1.1 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 ONBOOT=yes BOOTPROTO=none USERCTL=no ..................... DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none ....................... DEVICE=eth1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none In /etc/modprobe.conf alais bond0 bonding options bonding mode=0 miimon=100 Now the problem is, my jboss is configured on virtual ip it create new bond bondo:1 device, when i start jboss it start normally i can ping jboss virtual ip but when i down eth0 it will create disturbance i got request time out frequently (application also slow down )but it works fine when i down eth1. This problem occure only when i start jboss i configured jboss ( /etc/init.d/jboss script) ifconfig bond0:1 192.168.0.3 netmask 255.255.255.0 when jboss start it creats new bond0:1 device it shows by giving ifconfig -a command i could not findout where is exactly the problem.. Regards Prashant K
