Add custom sh formatting. Add new command
This commit is contained in:
parent
e0297d8f2e
commit
af28123c9f
@ -9,22 +9,44 @@ visible: true
|
||||
|
||||
Show running VMs
|
||||
|
||||
[shroot]
|
||||
|
||||
```sh
|
||||
xe vm-list --multiple power-state=running
|
||||
xe vm-list power-state=running
|
||||
```
|
||||
|
||||
[/shroot]
|
||||
|
||||
Show only the names of running VMs
|
||||
|
||||
[shroot]
|
||||
|
||||
```sh
|
||||
xe vm-list power-state=running | grep "name-label"
|
||||
```
|
||||
|
||||
[/shroot]
|
||||
|
||||
Poweroff all VMs currently running
|
||||
|
||||
[shroot]
|
||||
|
||||
```sh
|
||||
xe vm-shutdown --multiple power-state=running
|
||||
```
|
||||
|
||||
[/shroot]
|
||||
|
||||
Start VM
|
||||
|
||||
[shroot]
|
||||
|
||||
```sh
|
||||
xe vm-start uuid={VM UUID}
|
||||
```
|
||||
|
||||
[/shroot]
|
||||
|
||||
## Host reboot procedure
|
||||
|
||||
Disable the host so that no new VM can be started on this host and so that the rest of the pool knows that the host was disabled on purpose.
|
||||
|
Loading…
Reference in New Issue
Block a user