Citrix Systems 6 Server User Manual


 
132
The host(s) on which this operation should be performed are selected using the standard selection mechanism
(see host selectors above).
host-is-in-emergency-mode
host-is-in-emergency-mode
Returns true if the host the CLI is talking to is currently in emergency mode, false otherwise. This CLI
command works directly on slave hosts even with no master host present.
host-apply-edition
host-apply-edition [host-uuid=<XenServer_host_UUID>]
[edition=xenserver_edition=<"free"><"advanced"><"enterprise"><"platinum"><"enterprise-xd">]
Assigns a XenServer license to a host server. When you assign a license, XenServer contacts the Citrix License
Server and requests the specified type of license. If a license is available, it is then checked out from the license
server.
For Citrix XenServer for XenDesktop editions, use <"enterprise-xd">.
For initial licensing configuration, see also license-server-address and license-server-port.
host-license-add
host-license-add [license-file=<path/license_filename>] [host-uuid=<XenServer_host_UUID>]
For XenServer (free edition), use to parses a local license file and adds it to the specified XenServer host.
host-license-view
host-license-view [host-uuid=<XenServer_host_UUID>]
Displays the contents of the XenServer host license.
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 parameters listed at the beginning
of this section.
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. 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.