HP BL680c XenServer Administrator's Guide 4.1.0 - Page 62

Host selectors, Host parameters

Page 62 highlights

Command line interface Host selectors Several of the commands listed here have a common mechanism for selecting one or more XenServer Hosts on which to perform the operation. The simplest is by supplying the argument host=. XenServer Hosts can also be specified by filtering the full list of hosts on the values of fields. For example, specifying enabled=true will select all XenServer Hosts whose enabled field is equal to true. Where multiple XenServer Hosts are matching, and the operation can be performed on multiple XenServer Hosts, the option --multiple must be specified to perform the operation. The full list of parameters that can be matched is described at the beginning of this section, and can be obtained by the command xe hostlist params=all. If no parameters to select XenServer Hosts are given, the operation will be performed on all XenServer Hosts. Host parameters XenServer Hosts have the following parameters: Parameter Name uuid name-label name-description enabled API-version-major API-version-minor API-version-vendor API-version-vendorimplementation logging suspend-image-sr-uuid crash-dump-sr-uuid software-version capabilities other-config hostname address supported-bootloaders Description Type The unique identifier/object reference for read only the XenServer Host The name of the XenServer Host read/write The description string of the XenServer Host read only false if disabled which prevents any new read only VMs from starting on them, which prepares the XenServer Hosts to be shut down or rebooted; true if the host is currently enabled major version number read only minor version number read only read only details of vendor implementation read only map parameter logging configuration read/write map parameter the unique identifier/object reference for read/write the SR where suspended images are put the unique identifier/object reference for read/write the SR where crash dumps are put list of versioning parameters and their values read only map parameter list of Xen versions that the XenServer Host can run read only set parameter A list of key/value pairs that specify read/write map parameter additional configuration parameters for the XenServer Host XenServer Host hostname read only XenServer Host IP address read only list of bootloaders that the XenServer Host read only set parameter supports, for example, pygrub, eliloader 56

  • 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
56
Host selectors
Several of the commands listed here have a common mechanism for selecting one or more XenServer Hosts
on which to perform the operation. The simplest is by supplying the argument
host=<UUID or name-
label>
. XenServer Hosts can also be specified by filtering the full list of hosts on the values of fields. For
example, specifying
enabled=true
will select all XenServer Hosts whose
enabled
field is equal to
true
.
Where multiple XenServer Hosts are matching, and the operation can be performed on multiple XenServer
Hosts, the option
--multiple
must be specified to perform the operation. The full list of parameters that
can be matched is described at the beginning of this section, and can be obtained by the command
xe host-
list params=all
. If no parameters to select XenServer Hosts are given, the operation will be performed on
all XenServer Hosts.
Host parameters
XenServer Hosts have the following parameters:
Parameter Name
Description
Type
uuid
The unique identifier/object reference for
the XenServer Host
read only
name-label
The name of the XenServer Host
read/write
name-description
The description string of the XenServer
Host
read only
enabled
false if disabled which prevents any new
VMs from starting on them, which prepares
the XenServer Hosts to be shut down
or rebooted; true if the host is currently
enabled
read only
API-version-major
major version number
read only
API-version-minor
minor version number
read only
API-version-vendor
read only
API-version-vendor-
implementation
details of vendor implementation
read only map parameter
logging
logging configuration
read/write map parameter
suspend-image-sr-uuid
the unique identifier/object reference for
the SR where suspended images are put
read/write
crash-dump-sr-uuid
the unique identifier/object reference for
the SR where crash dumps are put
read/write
software-version
list of versioning parameters and their
values
read only map parameter
capabilities
list of Xen versions that the XenServer
Host can run
read only set parameter
other-config
A list of key/value pairs that specify
additional configuration parameters for the
XenServer Host
read/write map parameter
hostname
XenServer Host hostname
read only
address
XenServer Host IP address
read only
supported-bootloaders
list of bootloaders that the XenServer Host
supports, for example, pygrub, eliloader
read only set parameter