[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] xcp-xapi bonding
let me try this again... So looks like I need to setup the bonding using the xe create-bond command just as if I were on XCP/XS. However it is not clear to me how my /etc/network/interfaces file should be set. Does it matter? Should I set the interfaces to manual? eg:
auto eth0 iface eth0 inet manual auto eth1 iface eth1 inet manual Do I also need to set up the bridge in this file or will that be done automatically by xcp-xapi. Eg:
auto xenbr0 iface xenbr0 inet dhcp bridge_ports eth0 auto xenbr1 iface xenbr1 inet dhcp bridge_ports eth1 Using xe I am guessing I would then do the following: ETH0=`xe pif-list device=eth0 --minimal` ETH1=`xe pif-list device=eth1 --minimal`
NETID=`xe network-create name-label=bond0` BONDID=`xe bond-create network-uuid=$NETID pif-uuids=$ETH0,$ETH1` To set the bond mode would I do that on NETID or BONDID above? What is the preferred bond mode on an L2 switch that only supports static LAG? Same with setting management to true, which UUID?
If I want to use static IP addresses would I then pif-reconfigure-ip on the NETID? What happens at reboot time will xcp take over, remember the previous setting and ignore the interfaces file? Would it be better to not use dhcp in the interfaces file? Can I define xenbr0 and 1 in the interfaces file as manual? I do need at least eth0 to have an IP so that I can initially install xcp-xapi.
For my NFS network using a bond of eth2 and 3 I was thinking of keeping them from xcp and just telling it to "xe pif-forget" on the uuids for those. Is that ok? Im assuming as long as the host knows about that network it should be fine. If this is documented somewhere let me know (I am aware of the XS docs which do cover some of what I am asking but not in this debian based environment). thanks, Carlos On Sat, Mar 9, 2013 at 12:46 AM, Carlos Reategui <carlos@xxxxxxxxxxxx> wrote:
_______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |