XenServer Administrator's Guide 4.1.0

Command line interface
62
The host(s) on which this operation should be performed are selected via the standard selection mecha-
nism (see host selectors above). Optional arguments can be any number of the host selectors listed at the
beginning of this section.
Caution
While the xe host-logs-download command will work if executed on the local host (that is, without a
specific hostname specified), do not use it this way. Doing so will clutter the control domain partition
with the copy of the logs, which would be a bad thing. The command should only be used from a
remote off-host machine where you have space to hold the copy of the logs.
5.4.5.17. host-management-disable
host-management-disable
Disables the host agent listening on an external management network interface and disconnects all con-
nected API clients (such as the XenCenter). Operates directly on the XenServer Host the CLI is connected
to, and is not forwarded to the pool master if applied to a member XenServer Host.
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.
5.4.5.18. host-management-reconfigure
host-management-reconfigure [interface=device ] | [pif-uuid=uuid ]
Reconfigures the XenServer Host to use the specified network interface as its management inter-
face, 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 the UUID of a PIF object is specified, the XenServer Host will determine 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 you have network connectivity on
the new interface (by using xe pif-reconfigure to set one up first). Otherwise, subsequent CLI
commands will not be able to reach the XenServer Host.
5.4.5.19. host-reboot
host-reboot [ host-selector=host selector value...]
Reboot the specified XenServer Hosts. The specified XenServer Hosts must be disabled first using the xe
host-disable command, otherwise a "HOST_IN_USE" error message is displayed.
The host(s) on which this operation should be performed are selected via the standard selection mecha-
nism (see host selectors above). Optional arguments can be any number of the host selectors listed at the
beginning of this section.
If the specified XenServer Hosts are members of a pool, the loss of connectivity on shutdown will be handled
and the pool will recover when the XenServer Hosts returns. If you shut down a pool member, other members