[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Xen bonding
Hi all, I'm not quiet sure the most reasonable way to dealing with bonding on xenserver. My configuration is as follow. It was ok if i do nothing, but When I tried to 'service network restart', the bond is break. Then, /proc/net/bonding/pbond: Slave Interface: eth0 eth1 was down bonding MII status: down My questions are: how to deal with this situation? how to avoid the bond breading when 'service network restart' what's the most standard way to make bond on xenserver(phy)? #XEN setting==============================================================Begin /bin/cat > /etc/xen/xend-config.sxp << "EOF" (xend-unix-server yes) (xend-unix-path /var/lib/xend/xend-socket) (xend-relocation-hosts-allow ' ') (network-script 'network-bridge-bonding netdev=bond0') (vif-script vif-bridge) (dom0-cpus 2) (keymap 'en-us') EOF #XEN setting==============================================================End #Network interface bonding================================================Begin cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << "EOF" DEVICE=eth0 BOOTPROTO=none >MASTER=bond0 SLAVE=yes USERCTL=yes EOF cat > /etc/sysconfig/network-scripts/ifcfg-eth1 << "EOF" DEVICE=eth1 BOOTPROTO=none > MASTER=bond0 SLAVE=yes USERCTL=yes EOF # Network Bonding cat > /etc/sysconfig/network-scripts/ifcfg-bond0 << "EOF" DEVICE=bond0 BOOTPROTO=static BROADCAST=1.1.1.1 IPADDR=1.1.1.1 NETMASK=255.255.255.255 GATEWAY=1.1.1.1 >TYPE=Ethernet EOF cat >> /etc/modprobe.conf << "EOF" alias bond0 bonding options bond0 miimon=100 mode=6 EOF #Network interface bonding================================================End Thank you all Best Regards, Jasonqi _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |