HP BL680c XenServer Administrator's Guide 4.1.0 - Page 50

Re-ordering NICs

Page 50 highlights

Networking xe pif-list params=uuid,device,MAC,currently-attached,carrier,management, \ IP-configuration-mode uuid ( RO) : 1ef8209d-5db5-cf69-3fe6-0e8d24f8f518 device ( RO): eth0 MAC ( RO): 00:19:bb:2d:7e:8a currently-attached ( RO): true management ( RO): true IP-configuration-mode ( RO): DHCP carrier ( RO): true uuid ( RO) : 829fd476-2bbb-67bb-139f-d607c09e9110 device ( RO): eth1 MAC ( RO): 00:19:bb:2d:7e:7a currently-attached ( RO): false management ( RO): false IP-configuration-mode ( RO): None carrier ( RO): true If the hosts have already been joined in a pool, add the host-uuid parameter to the pif-list command to scope the results to the PIFs on a given host. 4.3.4.2. Re-ordering NICs It is not possible to directly rename a PIF, although you can use the pif-forget and pif-introduce commands to achieve the same effect with the following restrictions: • The XenServer Host must be standalone and not joined to a resource pool. • Re-ordering a PIF configured as the host's management interface requires additional steps which are included in the example below. Because the management interface must first be disabled the commands must be entered directly on the host console. For the example configuration shown above use the following steps to change the NIC ordering so that eth0 corresponds to the device with a MAC address of 00:19:bb:2d:7e:7a: 1. Use XenCenter or the vm-shutdown command to shut down all VMs in the pool to force existing VIFs to be unplugged from their networks. xe vm-shutdown uuid= 2. Use the host-management-disable command to disable the management interface: xe host-management-disable 3. Use the pif-forget command to remove the two incorrect PIF records: 44

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Networking
44
xe pif-list params=uuid,device,MAC,currently-attached,carrier,management, \
IP-configuration-mode
uuid ( RO)
: 1ef8209d-5db5-cf69-3fe6-0e8d24f8f518
device ( RO): eth0
MAC ( RO): 00:19:bb:2d:7e:8a
currently-attached ( RO): true
management ( RO): true
IP-configuration-mode ( RO): DHCP
carrier ( RO): true
uuid ( RO)
: 829fd476-2bbb-67bb-139f-d607c09e9110
device ( RO): eth1
MAC ( RO): 00:19:bb:2d:7e:7a
currently-attached ( RO): false
management ( RO): false
IP-configuration-mode ( RO): None
carrier ( RO): true
If the hosts have already been joined in a pool, add the
host-uuid
parameter to the
pif-list
command to
scope the results to the PIFs on a given host.
4.3.4.2. Re-ordering NICs
It is not possible to directly rename a PIF, although you can use the
pif-forget
and
pif-introduce
commands
to achieve the same effect with the following restrictions:
The XenServer Host must be standalone and not joined to a resource pool.
Re-ordering a PIF configured as the host's management interface requires additional steps which are
included in the example below. Because the management interface must first be disabled the commands
must be entered directly on the host console.
For the example configuration shown above use the following steps to change the NIC ordering so that eth0
corresponds to the device with a MAC address of 00:19:bb:2d:7e:7a:
1.
Use XenCenter or the
vm-shutdown
command to shut down all VMs in the pool to force existing VIFs
to be unplugged from their networks.
xe vm-shutdown uuid=<VM UUID>
2.
Use the
host-management-disable
command to disable the management interface:
xe host-management-disable
3.
Use the
pif-forget
command to remove the two incorrect PIF records: