VMWare/esxcli

Aus SchnallIchNet
Version vom 22. August 2019, 15:28 Uhr von Cbs (Diskussion | Beiträge) (Move VM without VCenter)

Wechseln zu: Navigation, Suche

Move VM without VCenter

Find VM on one of your clustered host systems and grab the VM-ID:

vim-cmd vmsvc/getallvms | grep -i <hostname>


Power Off System:

vim-cmd vmsvc/power.off <VM-ID>


Unregister VM on host:

vim-cmd /vmsvc/unregister <VM-ID>


Register VM on new host which prints out the new VM-ID:

vim-cmd solo/registervm /vmfs/volumes/FF3_VMW_AO_03/VM-Name/VM-Name.vmx


Power on VM on new host:

vim-cmd vmsvc/power.on <VM-ID>