Difference between revisions of "Virtual Machines"

Jump to navigation Jump to search
414 bytes added ,  14:13, 11 October 2010
Line 197: Line 197:
** <code> vmware-cmd /vmfs/volumes/SAN1/ServerA/ServerA.vmx getstate </code>
** <code> vmware-cmd /vmfs/volumes/SAN1/ServerA/ServerA.vmx getstate </code>
** <code> getstate() = on </code>
** <code> getstate() = on </code>
* Shutdown a Virtual Machine running from the local ESX gracefully
** <code> vmware-cmd /vmfs/volumes/SAN1/ServerA/ServerA.vmx stop trysoft </code>
** <code> stop(hard) = 1 </code>
* Shutdown a Virtual Machine running from the local ESX forcefully
* Shutdown a Virtual Machine running from the local ESX forcefully
** <code> vmware-cmd /vmfs/volumes/SAN1/ServerA/ServerA.vmx stop hard </code>
** <code> vmware-cmd /vmfs/volumes/SAN1/ServerA/ServerA.vmx stop hard </code>
** <code> stop(hard) = 1 </code>
** <code> stop(hard) = 1 </code>
The <code> vmware-cmd </code> command isn't available in ESXi, though it is available via the RCLI, in the following format...
* <code> vmware-cmd.pl /path/to/My_VM.vmx start --server MyESX --username root --password "RootPassword"


== Upgrade ESX3 to ESX4 ==
== Upgrade ESX3 to ESX4 ==

Navigation menu