1. Use the network-create command to create a new network for use with the bonded NIC. The UUID of the
new network is returned:
#xe network-create name-label=
2. Use the pif-list command to determine the UUIDs of the PIFs to use in the bond:
#xe pif-list params=device,uuid
3. Do one of the following:
? To configure the bond in active-active mode (default), use the bond-create command to create the bond.
Using commas to separate the parameters, specify the newly created network UUID and the UUIDs of
the PIFs to be bonded:
#xe bond-create network-uuid= pif-uuids=,
The UUID for the bond is returned after running the command.
? To configure the bond in active-passive mode, use the same syntax but add the optional mode parameter
and specify active-backup:
#xe bond-create network-uuid= pif-uuids=, /
mode=
4.bonding mode
xenserver6提供了两种模式的bond支持mode=
5.查看bonding信息:
#ovs-appctl bond/show bond0
#xe bond-list params=all
#cat /proc/net/bonding/bond0
阅读(3344) | 评论(0) | 转发(0) |