HP BL680c XenServer Administrator's Guide 4.1.0 - Page 69

Log commands

Page 69 highlights

Command line interface 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 hostrestore, 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 mechanism (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 mechanism (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 configuration information defined in the host logging parameter. The host(s) on which this operation should be performed are selected via 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. 5.4.6. Log commands Commands for working with logs. 63

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

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.