Xen-Serverdocumentation

Page 62

XenServer Administrator's Guide 3.

Networking

56

Use the pif-list command to determine the UUIDs of the PIFs to use in the bond: xe pif-list

4.

Use the bond-create command to create the bond; separated by commas, specify the newly created network UUID and the UUIDs of the PIFs to be bonded. The UUID for the bond is returned: xe bond-create network-uuid=<network_uuid> pif-uuids=<pif_uuid_1>,<pif_uuid_2>

Note See the section called “Controlling the MAC address of the bond” for details on controlling the MAC address used for the bond PIF.

5.

Use the pif-list command to determine the UUID of the new bond PIF: xe pif-list device=<bond0>

6.

Use the pif-reconfigure-ip command to configure the desired management interface IP address settings for the bond PIF. See Chapter 8, Command line interface for more detail on the options available for the pif-reconfigure-ip command. xe pif-reconfigure-ip uuid=<bond_pif_uuid> mode=DHCP

7.

Use the host-management-reconfigure command to move the management interface from the existing physical PIF to the bond PIF. This step will activate the bond: xe host-management-reconfigure pif-uuid=<bond_pif_uuid>

8.

Use the pif-reconfigure-ip command to remove the IP address configuration from the non-bonded PIF previously used for the management interface. This step is not strictly necessary but might help reduce confusion when reviewing the host networking configuration. xe pif-reconfigure-ip uuid=<old_management_pif_uuid> mode=None

9.

Move existing VMs to the bond network using the vif-destroy and vif-create commands. This step can also be completed using XenCenter by editing the VM configuration and connecting the existing VIFs of a VM to the bond network.

10. Restart the VMs shut down in step 1.

Controlling the MAC address of the bond Creating a bond on a dual-NIC host implies that the PIF/NIC currently in use as the management interface for the host will be subsumed by the bond. If DHCP is used to supply IP addresses to the host in most cases the MAC address of the bond should be the same as the PIF/NIC currently in use, allowing the IP address of the host received from DHCP to remain unchanged. The MAC address of the bond can be changed from PIF/NIC currently in use for the management interface, but doing so will cause existing network sessions to the host to be dropped when the bond is enabled and the MAC/IP address in use changes.


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.