HP BL680c XenServer Administrator's Guide 4.1.0 - Page 103

vm-reboot, 4.22.21. vm-reset-powerstate, 4.22.22. vm-resume, 4.22.23. vm-shutdown, 4.22.24

Page 103 highlights

Command line interface 5.4.22.20. vm-reboot vm-reboot [ vm-selector=vm selector value...] [force=true ] Reboot the specified VMs. The VM or VMs on which this operation should be performed are selected via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. Use the force argument to cause an ungraceful shutdown, akin to pulling the plug on a physical server. 5.4.22.21. vm-reset-powerstate vm-reset-powerstate [ vm-selector=vm selector value...] {force=true} The VM or VMs on which this operation should be performed are selected via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. This is an advanced command only to be used when a member host in a pool goes down. You can use this command to force the pool master to reset the power-state of the VMs to be "halted". Essentially this forces the lock on the VM and its disks so it can be subsequently started on another pool host. This call requires the force flag to be specified, and fails if it is not on the command-line. 5.4.22.22. vm-resume vm-resume [ vm-selector=vm selector value...] [force=true | false ] [on=XenServer Host UUID ] Resume the specified VMs. The VM or VMs on which this operation should be performed are selected via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. If the VM is on a shared SR in a pool of hosts, use the on argument to specify which host in the pool on which to start it. By default the system will determine an appropriate host, which might be any of the members of the pool. 5.4.22.23. vm-shutdown vm-shutdown [ vm-selector=vm selector value...] [force=true | false ] Shut down the specified VM. The VM or VMs on which this operation should be performed are selected via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. Use the force argument to cause an ungraceful shutdown, akin to pulling the plug on a physical server. 5.4.22.24. vm-start vm-start [ vm-selector=vm selector value...] [force=true | false ] [on=XenServer Host UUID ] [--multiple] 97

  • 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
97
5.4.22.20. vm-reboot
vm-reboot
[
vm-selector
=
vm selector value
...] [force=
true
]
Reboot the specified VMs.
The VM or VMs on which this operation should be performed are selected via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
Use the
force
argument to cause an ungraceful shutdown, akin to pulling the plug on a physical server.
5.4.22.21. vm-reset-powerstate
vm-reset-powerstate
[
vm-selector
=
vm selector value
...] {force=true}
The VM or VMs on which this operation should be performed are selected via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
This is an
advanced
command only to be used when a member host in a pool goes down. You can use this
command to force the pool master to reset the power-state of the VMs to be "halted". Essentially this forces
the lock on the VM and its disks so it can be subsequently started on another pool host. This call
requires
the force flag to be specified, and fails if it is not on the command-line.
5.4.22.22. vm-resume
vm-resume
[
vm-selector
=
vm selector value
...] [force=
true | false
] [on=
XenServer Host
UUID
]
Resume the specified VMs.
The VM or VMs on which this operation should be performed are selected via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
If the VM is on a shared SR in a pool of hosts, use the
on
argument to specify which host in the pool
on which to start it. By default the system will determine an appropriate host, which might be any of the
members of the pool.
5.4.22.23. vm-shutdown
vm-shutdown
[
vm-selector
=
vm selector value
...] [force=
true | false
]
Shut down the specified VM.
The VM or VMs on which this operation should be performed are selected via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
Use the
force
argument to cause an ungraceful shutdown, akin to pulling the plug on a physical server.
5.4.22.24. vm-start
vm-start
[
vm-selector
=
vm selector value
...] [force=
true | false
] [on=
XenServer Host
UUID
] [--multiple]