HP BL680c XenServer Administrator's Guide 4.1.0 - Page 68

Caution, Warning

Page 68 highlights

Command line interface 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. Caution 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, which would be a bad thing. The command should only be used from a remote off-host machine where you have space to hold the copy of the logs. 5.4.5.17. 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. 5.4.5.18. 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 the UUID of a PIF object is specified, the XenServer Host will determine which IP address to rebind to itself. It must not be in emergency mode when this command is executed. Warning Be careful when using this CLI command off-host and ensure you have network connectivity on the new interface (by using xe pif-reconfigure to set one up first). Otherwise, subsequent CLI commands will not be able to reach the XenServer Host. 5.4.5.19. host-reboot host-reboot [ host-selector=host selector value...] Reboot 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 62

  • 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
62
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.
Caution
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, which would be a bad thing. The command should
only
be used from a
remote off-host machine where you have space to hold the copy of the logs.
5.4.5.17. host-management-disable
host-management-disable
Disables the host agent listening on an external management network interface and disconnects all con-
nected 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.
5.4.5.18. host-management-reconfigure
host-management-reconfigure
[interface=
device
] | [pif-uuid=
uuid
]
Reconfigures the XenServer Host to use the specified network interface as its management inter-
face, 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 the UUID of a PIF object is specified, the XenServer Host will determine which IP address to rebind
to itself. It must not be in emergency mode when this command is executed.
Warning
Be careful when using this CLI command off-host and ensure you have network connectivity on
the new interface (by using
xe pif-reconfigure
to set one up first). Otherwise, subsequent CLI
commands will not be able to reach the XenServer Host.
5.4.5.19. host-reboot
host-reboot
[
host-selector
=
host selector value
...]
Reboot 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