VMware vSphere/ESXi Commandline

registerVM

Registrieren einer neuen VM nach dem Kopieren des kompletten Containers:

  • rCLI:
    • vmware-cmd -H hostname -U username -P password -s register /vmfs/volumes/datastore1/myVM/myVM.vmx pool Resources
  • SSH:
    • vim-cmd solo/registervm /vmfs/volumes/datastore1/myVM/myVM.vmx

startVM

  • rCLI:
    • vmware-cmd -H hostname -U username -P password /vmfs/volumes/datastore1/myVM/myVM.vmx start powermode
  • SSH:
    • vim-cmd vmsvc/getallvms
Vmid              Name                                         File                                    Guest OS          Version                                     Annotation  
112    opsi_depot_cdinst            [datastore2] opsi_debian5/opsi_debian5.vmx            ubuntuGuest             vmx-07                                                  
128    opsi.client01.XP             [datastore2] opsi.client01/opsi.client01.vmx          winXPProGuest           vmx-07                                                  
144    opsi.client02.XP             [datastore2] opsi.client02/opsi.client02.vmx          winXPProGuest           vmx-07                                                  
16     tom.TSM                      [datastore2] tom.TSM/tom.TSM.vmx                      rhel5_64Guest           vmx-04                                                  
  • vim-cmd vmsvc/power.on Vmid

Links

 
wissen/vmware/vmware-vsphere-esxi-rcli-commandline.txt · Zuletzt geändert: 27.07.2009 12:22 von mhe
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de