Full list of XCP-ng commands in their documentation
Commands used in the video:
List VM’s
xe vm-list
Starting & Stopping VM’s
xe vm-start uuid=<VM UUID>
xe vm-start vm=Name\ Of \VM
xe vm-shutdown uuid=<VM UUID>
xe vm-shutdown vm=Name\ Of \VM
Promoting an XCP-ng host to master
xe pool-emergency-transition-to-master
Informing other hosts in the pool of the new master
xe pool-recover-slaves
Force reset a VM in a failed power state
xe vm-reset-powerstate uuid=<VM UUID> --force
Export & import a VM via SSH from one XCP-ng host to another
xe vm-export uuid=7f1ca571-aedf-972c-5c8a-c14a9391d7ed filename= | ssh root@172.16.16.46 'xe vm-import filename=/dev/stdin'