XenServer Administrator's Guide 4.1.0

Command line interface
63
and the master will continue to function. If you shut down the master, the pool will be out of action until the
master is rebooted and back on line, at which point the members will reconnect and synchronize with the
master, or until you make one of the members into the master.
5.4.5.20. host-restore
host-restore [file-name=backup_filename ] [ host-selector=host selector value...]
Restore a backup named file-name of the XenServer Host control software. Note that the use of the word
"restore" here does not mean a full restore in the usual sense, it merely means that the compressed backup
file has been uncompressed and unpacked onto the secondary partition. After you've done a xe host-
restore, you have to boot the Install CD and use its "restore secondary partition to primary partition" option.
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.
5.4.5.21. host-set-hostname-live
host-set-hostname host-uuid=UUID of host hostname=new hostname
Change the hostname of the XenServer Host specified by host-uuid. This command persistently sets
both the hostname in the control domain's agent database and the actual Linux hostname of the XenServer
Host. Note that hostname is not the same as the value of the name_label field.
5.4.5.22. host-shutdown
host-shutdown [ host-selector=host selector value...]
Shut down 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
and the master will continue to function. If you shut down the master, the pool will be out of action until the
master is rebooted and back on line, at which point the members will reconnect and synchronize with the
master, or until you make one of the members into the master.
5.4.5.23. host-syslog-reconfigure
host-syslog-reconfigure [ host-selector=host selector value...]
Reconfigure the syslog daemon on the specified XenServer Hosts. This command will apply the configura-
tion information defined in the host logging parameter.
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.
5.4.6. Log commands
Commands for working with logs.