HP BL680c XenServer Administrator's Guide 4.1.0 - Page 45

Adding NIC bonds to new resource pools

Page 45 highlights

Networking 4.3.2.1. Adding NIC bonds to new resource pools 1. Install the master host and use XenCenter to create the pool. 2. Create the NIC bond on the master as follows: 1. Use the network-create command to create a new pool-wide network for use with the bonded NICs. The UUID of the new network is returned. xe network-create name-label= 2. Use the host-list command to find the UUID of the master host: xe host-list 3. 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, specifying the network UUID created in step 1 and the UUIDs of the PIFs to be bonded, separated by commas. The UUID for the bond is returned: 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. 5. Use the pif-list command to determine the UUID of the new bond PIF: xe pif-list device= 6. 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. xe pif-reconfigure-ip 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: 39

  • 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
39
4.3.2.1. Adding NIC bonds to new resource pools
1.
Install the master host and use XenCenter to create the pool.
2.
Create the NIC bond on the master as follows:
1.
Use the
network-create
command to create a new pool-wide network for use with the bonded
NICs. The UUID of the new network is returned.
xe network-create name-label=<network name>
2.
Use the
host-list
command to find the UUID of the master host:
xe host-list
3.
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, specifying the network UUID created in step 1
and the UUIDs of the PIFs to be bonded, separated by commas. The UUID for the bond is returned:
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.
5.
Use the
pif-list
command to determine the UUID of the new bond PIF:
xe pif-list device=<network UUID>
6.
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.
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: