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/19 16:06] 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 | + | |'' |
- | |xe pif-list | + | |'' |
- | |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: | + | |'' |
- | |xe host-set-hostname-live host-name=< | + | |'' |
- | |xe vm-list params=name-label, | + | |'' |
===== VLANs ===== | ===== VLANs ===== | ||
Line 53: | Line 77: | ||
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. | 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: | + | Adding a NIC bond to an existing pool requires |
+ | |||
+ | * 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 ==== | ||
- | * Using the CLI to configure the bonds on the master and then each member | + | If you are using bonding for resiliency for your storage traffic, you may want to consider using LACP instead |
- | * Using 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. | + | |
- | * Using 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. | + |