XenServer Commands

List, unplug, or destroy PBD storage repository

xe pbd-list
xe pbd-unplug uuid=[UUID for VM]
xe sr-destroy uuid=[UUID for VM]

List, unplug, or destroy storage repository.

xe sr-list
xe sr-unplug uuid=[UUID for VM]
xe sr-destroy uuid=[UUID for VM]

List VM’s

xe vm-list

Shutdown VM

xe vm-shutdown uuid=[UUID for VM]

Force shutdown VM

xe vm-shutdown -–force uuid=[UUID for VM]

List Task

xe task-list

Cancel Task

xe task-cancel uuid=[task uuid]

External Links

http://www.queryadmin.com/801/useful-storage-repository-commands-xenserver/

https://www.serveroperations.net/citrix/shutdown-a-hung-vm-on-xenserver

https://linuxconfig.org/how-to-take-and-restore-vm-snapshot-using-command-line-on-xenserver

Leave a Reply

Your email address will not be published. Required fields are marked *