bond0 and xen = crash
Posted
by Rajat
on Server Fault
See other posts from Server Fault
or by Rajat
Published on 2009-09-09T13:37:43Z
Indexed on
2010/03/09
10:08 UTC
Read the original article
Hit count: 371
Bonding with xen 1 - Stop all guests. Reboot dom0 after running "chkconfig xend off" and "chkconfig xendomains off". 2 - Configure bond0 by enslaving eth0 and eth1 to it. I added the below two entries to /etc/modprobe.conf.
alias bond0 bonding options bond0 mode=6,miimon=100
Content of /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none
Content of /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none
Content of /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0 IPADDR= NETMASK= ONBOOT=yes BOOTPROTO=static USERCTL=no
Did "modprobe bond0" and "service network restart" after that.
3 - Edit /etc/xen/xend-config.sxp
Change
(network-script network-bridge)
To
(network-script 'network-bridge netdev=bond0')
4 - Start xend. "service xend start".
5 - chkconfig xend on.
6 - modprode bond0
7 - more /proc/net/bonding/bond0
8 - Create guest images as usual and bridge it to xenbr0.
about config i did for my xen kernel rhel 5.3 after i reboot the host server i get in place bond0 get pbond0 and its get disconnect from network only i ping to my vm's on the host server any one have any idea why xen bond0 is acting like that or what is solutions to come out of pbond0 to bond0.
© Server Fault or respective owner