host-license-view

host-license-view[host-uuid=<XenServer_host_UUID>]

For XenServer (free edition), displays the contents of the XenServer host license.

Note:

This command only applies to free XenServer. XenServer 5.6 Advanced edition and higher use the host- apply-edition, license-server-addressand license-server-portcommands. For these editions licensing has changed. They now use the licensing model described in the Citrix XenServer 5.6 Installation Guide.

host-logs-download

host-logs-download[file-name=<logfile_name>][<host-selector>=<host_selector_value>...]

Download a copy of the logs of the specified XenServer hosts. The copy is saved by default in a time- stamped file named hostname-yyyy-mm-dd T hh:mm:ssZ.tar.gz. You can specify a different filename using the optional parameter file-name.

The host(s) on which this operation should be performed are selected using the standard selection mechanism (see host selectors above). Optional arguments can be any number of the host selectors listed at the beginning of this section.

While the xe host-logs-downloadcommand 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. The command should only be used from a remote off-host machine where you have space to hold the copy of the logs.

host-management-disable

host-management-disable

Disables the host agent listening on an external management network interface and disconnects all connected 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.

host-management-reconfigure

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

Reconfigures the XenServer host to use the specified network interface as its 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:

159

Page 179
Image 179
Citrix Systems 5.6 manual Host-license-view, Host-logs-download, Host-management-disable, Host-management-reconfigure