Warning:

Be extremely careful when using this CLI command off-host, since once it is run it will not be possible to connect to the control domain remotely over the network to re-enable it.

host-management-reconfigure

host-management-reconfigure [interface=<device> ] [pif-uuid=<uuid>]

Reconfigures the XenServer host to use the specified network interface as its primary management interface, which is the interface that is used to connect to the XenCenter. The command rewrites the MANAGEMENT_INTERFACE key in /etc/xensource-inventory.

If the device name of an interface (which must have an IP address) is specified, the XenServer host will immediately rebind. This works both in normal and emergency mode.

If the UUID of a PIF object is specified, the XenServer host determines which IP address to rebind to itself. It must not be in emergency mode when this command is executed.

Warning:

Be careful when using this CLI command off-host and ensure that you have network connectivity on the new interface. Use xe pif-reconfigureto set one up first. Otherwise, subsequent CLI commands will reach the XenServer host.

host-power-on

host-power-on [host=<host_uuid> ]

Turns on power on XenServer hosts with Host Power On functionality enabled. Before using this command, host- set-power-onmust be enabled on the host.

host-get-cpu-features

host-get-cpu-features{features=<pool_master_cpu_features>} [uuid=<host_uuid>]

Prints a hexadecimal representation of the host's physical-CPU features.

host-set-cpu-features

host-set-cpu-features{features=<pool_master_cpu_features>} [uuid=<host_uuid>]

Attempts to mask the host's physical-CPU features to match the given features. The given string must be a 32-digit hexadecimal number (optionally containing spaces), as given by the host-get-cpu-featurescommand.

host-set-power-on

host-set-power-on{host=<host uuid> {power-on-mode=<""><"wake-on-lan"> <"iLO"> <"DRAC"> <"custom"> } [power-on-config=<"power_on_ip"><"power_on_user"><"power_on_password_secret">] }

Use to enable Host Power On functionality on XenServer hosts that are compatible with remote power solutions. Workload Balancing requires Host Power On functionality is enabled for it to turn off underused hosts in Maximum Density mode. When using the host-set-power-oncommand, you must specify the type of power management solution on the host (that is, the <power-on-mode>). Then specify configuration options using the <power-on-config>argument and its associated key-value pairs. To use the secrets feature to store your password, specify the key "power_on_password_secret".

host-reboot

host-reboot[<host-selector>=<host_selector_value>...]

133

Page 151
Image 151
Citrix Systems 6 Host-management-reconfigure, Host-power-on, Host-get-cpu-features, Host-set-cpu-features, Host-reboot