sábado, 10 de agosto de 2013

Updated: How to configure Network Bonds for VM Traffic in Citrix XenServer

NIC bonds, sometimes also known as NIC teaming, improve XenServer host resiliency and/or bandwidth by enabling administrators to configure two or more NICs together so they logically function as one network card.

Requeriments

- A XenServer pool
- XenCenter
- xe CLI
- At least 2 NICs availables per host in the pool*

- Create NIC bonds as part of initial resource pool creation prior to joining additional hosts
to the pool or creating VMs.

Adding a NIC bond to an existing pool requires one of the following:

- Configure the bonds on the master and then each member of the pool
- Configure the bonds on the master and then restarting each member of the pool so that it
inherits its settings from the pool master. This is if you use xe CLI.
- Configure the bonds on the master. XenCenter automatically synchronizes the networking
settings on the member servers with the master, so you do not need to reboot the member servers.

For simplicity and to prevent misconfiguration, Citrix recommends using XenCenter to create NIC bonds

Thanks +Matthew Spah

---------------------------------------------------

* All XenServer hosts in a resource pool should have the same number of physical network interface cards (NICs), although this requirement is not strictly enforced when a XenServer host is joined to a pool.

-------------------------

1) XenCenter Configuration

- Configuring NIC Bond for VM Traffic






- Destroy NICs Bond





2) xe CLI Configuration

- Open the XenServer host text console.*
- Create the network with the network-create command, which returns the UUID of the newly created network:

xe network-create name-label=

- Use the pif-list command to find the UUID of the PIF corresponding to the physical NIC supporting

xe pif-list

- 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=,, 

Enter two UUIDs if you are bonding two NICs and four UUIDs if you are bonding four NICs. The UUID for the bond is returned after running the command.



-----------------------------------------------------

* I'm using Terminal from my Linux Client

----------------------------------------------------

See you at the next post.... Enjoy!