<data:blog.pageTitle/>

This Page

has moved to a new address:

https://vmvirtual.blog

Sorry for the inconvenience…

Redirection provided by Blogger to WordPress Migration Service
BIOLNX: gennaio 2013

BIOLNX

mercoledì 30 gennaio 2013

Command to start TSM GUI from client windows with different opt file

dsm -optfile=<path and filename of desired options file>". 

Etichette: , , ,

How to view ip address from command line ESXI


Find ID Virtual Machine:


~ # vim-cmd vmsvc/getallvms

Vmid      Name                         File                         Guest OS       Version                                                                                                        Annotation                 
10     Virtual_Lab   [storage216] Virtual_Lab/drv_va.vmx        otherLinuxGuest    vmx-04  

 
If virtual machine is power on:

~ # vim-cmd vmsvc/get.summary 10 | egrep '(power|ip)'
      powerState = "poweredOn",
      ipAddress = "x.x.x.x",

If virtual machine is power off:

~ # vim-cmd vmsvc/get.summary 10 | egrep '(power|ip)'
      powerState = "poweredOff",
      ipAddress = ,
Power on the virtual machine:

~ # vim-cmd vmsvc/power.on 10

reuse the command :
 vim-cmd vmsvc/get.summary 10 | egrep '(power|ip)'



Etichette: ,