HP DL385 XenServer Administrator's Guide 4.1.0 - Page 48

Changing XenServer Host IP address configuration in resource, pools

Page 48 highlights

Networking xe bond-create network-uuid= pif-uuids=, Note See Section 4.2.4.2, "Controlling the MAC address of the bond" for details on controlling the MAC address used for the bond PIF. 6. Use the pif-list command to determine the UUID of the new bond PIF. Include the host-uuid parameter to list only the PIFs on the host being configured: xe pif-list device=bond0 host-uuid= 7. Use the pif-reconfigure-ip command to configure the desired management interface IP address settings for the bond PIF. See Chapter 5, Command line interface for more detail on the options available for the pif-reconfigure-ip command. This command must be run directly on the server to be affected: xe pif-reconfigure-ip uuid= mode=DHCP 8. 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. This command must be run directly on the member server to be affected: xe host-management-reconfigure pif-uuid= 9. 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. This command must be run directly on the member server to be affected: xe pif-reconfigure-ip uuid= mode=None 10. Move existing VMs to the bond network using the vif-destroy and vif-create commands. This step can also be completed via XenCenter by editing the VM configuration and connecting the existing VIFs of the VM to the bond network. 11. Repeat steps 3 - 10 for member servers. 12. Restart the VMs previously shut down. 4.3.3. Changing XenServer Host IP address configuration in resource pools XenServer Hosts in resource pools have a single management IP address used for management and communication to and from other hosts in the pool. The steps required to change the IP address of a host's management interface are different for master and member hosts. 42

  • 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
42
xe bond-create network-uuid=<network UUID> pif-uuids=<PIF UUID 1>,<PIF UUID 2>
Note
See Section 4.2.4.2, “Controlling the MAC address of the bond” for details on controlling the
MAC address used for the bond PIF.
6.
Use the
pif-list
command to determine the UUID of the new bond PIF. Include the
host-uuid
param-
eter to list only the PIFs on the host being configured:
xe pif-list device=bond0 host-uuid=<host UUID>
7.
Use the
pif-reconfigure-ip
command to configure the desired management interface IP address set-
tings for the bond PIF. See Chapter 5,
Command line interface
for more detail on the options available
for the
pif-reconfigure-ip
command. This command must be run directly on the server to be affected:
xe pif-reconfigure-ip uuid=<bond PIF UUID> mode=DHCP
8.
Use the
host-management-reconfigure
command to move the management interface from the exist-
ing physical PIF to the bond PIF. This step will activate the bond. This command must be run directly
on the member server to be affected:
xe host-management-reconfigure pif-uuid=<bond PIF UUID>
9.
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. This command must be run directly on
the member server to be affected:
xe pif-reconfigure-ip uuid=<old mgmt PIF UUID> mode=None
10.
Move existing VMs to the bond network using the
vif-destroy
and
vif-create
commands. This step can
also be completed via XenCenter by editing the VM configuration and connecting the existing VIFs of
the VM to the bond network.
11.
Repeat steps 3 - 10 for member servers.
12.
Restart the VMs previously shut down.
4.3.3. Changing XenServer Host IP address configuration in resource
pools
XenServer Hosts in resource pools have a single management IP address used for management and com-
munication to and from other hosts in the pool. The steps required to change the IP address of a host's
management interface are different for master and member hosts.