VMWare/esxcli: Unterschied zwischen den Versionen

Aus SchnallIchNet
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „ == 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 Sy…“)
 
(Move VM without VCenter)
Zeile 15: Zeile 15:
  
 
  vim-cmd /vmsvc/unregister <VM-ID>
 
  vim-cmd /vmsvc/unregister <VM-ID>
+
 
  
 
Register VM on new host which prints out the new 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
+
vim-cmd solo/registervm /vmfs/volumes/FF3_VMW_AO_03/VM-Name/VM-Name.vmx
  
  

Version vom 22. August 2019, 15:28 Uhr

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>