This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:xenserver:xenserver_networking [2014/02/18 22:02] gcooper |
virtualization:xenserver:xenserver_networking [2019/10/30 12:19] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== XenServer Networking Notes ====== | ====== XenServer Networking Notes ====== | ||
+ | |||
+ | See also **[[virtualization: | ||
+ | |||
+ | See also **[[networking: | ||
http:// | http:// | ||
+ | |||
+ | ===== Management Network ===== | ||
+ | |||
+ | * No Jumbo Frames | ||
+ | * No VLANs | ||
+ | |||
+ | ===== Storage Networks ===== | ||
+ | |||
+ | Jumbo Frames are enabled by setting MTU to 9000 on all Storage network interfaces: | ||
+ | |||
+ | * ZFS Storage Server | ||
+ | * Virtualization Hosts | ||
+ | |||
+ | Something like: | ||
+ | |||
+ | - Shutdown all VM's | ||
+ | - Remove the bond | ||
+ | - Set the MTU to 9000 on the NIC's | ||
+ | - Re-create the bond with MTU 9000 | ||
+ | - Start the VM's back up making sure the new bond is listed under the VM's networking | ||
===== Helpful Commands ===== | ===== Helpful Commands ===== | ||
Line 13: | Line 37: | ||
</ | </ | ||
- | ==== xe Examples ==== | + | ==== '' |
- | ^XenServer “xe” | + | ^XenServer “xe” |
- | |xe network list |List the networks and attributes | + | |'' |
- | |xe pif list |List interface attributes (UUID values)| | + | |'' |
- | |xe vif list | | | + | |'' |
- | |xe pif forget uuid= |Forgetting an interface means the Xen host no longer has control. Configure through Linux. | | + | |'' |
- | |xe pif introduce hostuuid= mac= device= | + | |'' |
- | |xe pif reconfigure ip ip=xx.xx.xx.xx uuid= |Change the IP attributes of management interface. | | + | |'' |
- | |xe pif uuid= | + | |'' |
- | |xe vif uuid= | + | |'' |
- | |xe pif param set other config: | + | |'' |
- | - | + | |'' |
- | duplex=“full” | + | |'' |
- | uuid= | + | |
- | Usually used to set adapter specific attributes. | + | |
- | xe host | + | |
- | - | + | |
- | set | + | |
- | - | + | |
- | hostname | + | |
- | - | + | |
- | live host | + | |
- | - | + | |
- | name=fqdn.com | + | |
- | host | + | |
- | - | + | |
- | uuid= | + | |
- | Change the FQDN of the host. | + | |
- | xe vm | + | |
- | - | + | |
- | list params=name | + | |
- | - | + | |
- | label,dom | + | |
- | - | + | |
- | id | + | |
- | Shows VMs and their dom | + | |
- | - | + | |
- | id to associate with | + | |
- | VIF names | + | |
===== VLANs ===== | ===== VLANs ===== | ||
Line 76: | Line 74: | ||
http:// | http:// | ||
+ | |||
+ | Whenever possible, create NIC bonds as part of initial resource pool creation prior to joining additional hosts to the pool or creating VMs. Doing so allows the bond configuration to be automatically replicated to hosts as they are joined to the pool and reduces the number of steps required. | ||
+ | |||
+ | Adding a NIC bond to an existing pool requires **one** of the following: | ||
+ | |||
+ | * Use the CLI to configure the bonds on the master and then each member of the pool. | ||
+ | * Use the CLI to configure the bonds on the master and then restarting each member of the pool so that it inherits its settings from the pool master. | ||
+ | * Use XenCenter to 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. | ||
+ | |||
+ | If you are not using XenCenter for NIC bonding, the quickest way to create pool-wide NIC bonds is to create the bond on the master, and then restart the other pool members. Alternatively, | ||
+ | |||
+ | ==== XenCenter ==== | ||
+ | |||
+ | **Select Host -> NICs (tab) -> Create Bond** | ||
+ | |||
+ | ==== CLI ==== | ||
+ | |||
+ | < | ||
+ | xe network-list | ||
+ | |||
+ | xe network-create name-label=" | ||
+ | |||
+ | xe pif-list | ||
+ | |||
+ | xe bond-create network-uuid=< | ||
+ | |||
+ | reboot | ||
+ | </ | ||
+ | |||
+ | ==== Storage ==== | ||
+ | |||
+ | If you are using bonding for resiliency for your storage traffic, you may want to consider using LACP instead of the Linux bridge bonding. To use LACP bonding, you must configure the vSwitch as your networking stack. For more information, |