| ESX4 - How do I turn on/off a Virtual Machine from the command line ? |
| Vendor | VMware |
| Platform | ESX |
| Version | 4 |
| VMware - ESX |
| Monday, 12 July 2010 16:42 |
|
Using the vmware-cmd command you can perform a number of actions on your Virtual Machines from the command line. Below shows you some of the functions you can perform : List Virtual Machines[root@ESX4 ~]# vmware-cmd -l Turn On Virtual MachineBelow shows you how to start a virtual machine, to stop it just change the start command for stop. [root@ESX4 ~]# vmware-cmd "/vmfs/volumes/4c16a0ec-2c7ebe2a-6ad5-0011s8azz71c/OpenSolaris 2009.06/OpenSolaris 2009.06.vmx" start List Virtual Machine Status`sThere maybe another (and easier) way of listing the virtual machine status`s if so please send it in. vmware-cmd -l | sed '/^$/d' | while read VMX ; do STATE=$(vmware-cmd "${VMX}" getstate | awk ' { print $3 } ') ; echo "${VMX}" = "${STATE}" ; done |
Latest Articles
- F5 LTM VE 10.2.x - Interfaces not recognised
- Cisco ASA - Security Levels / NAT Control
- F5 LTM - OneConnect
- Django - CSRF verification failed. Request aborted.
- F5 LTM VE - Unable to attach to PCI device 02:01.00 for Interface 1.1
- F5 LTM - Connection Management
- Brocade ADX - FTP
- PKI - Chain of Trust
- Juniper SRX - Site to Site VPN using a Dynamic IP address
- F5 LTM - How do I perform software installations ?
- Juniper SRX - NAT
- Juniper SRX - How to configure a route based VPN
- Juniper SRX - Dynamic VPN
- Juniper SRX - How to configure a policy based VPN
- Brocade ADX - NAT
- Brocade ADX - CSW nested rules
- How do I upgrade a Juniper SRX Series gateway
- Cisco ASA - How do I capture ARP`s ?
- Juniper SRX - Configuring Source NAT with pool
- Running a packet capture on a Juniper SRX
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX Convertor - The session is not authenticated
- Troubleshooting a Netscreen Site 2 Site VPN
- ESX - ViClient Cannot connect to host
- Endpoint Connect Installation / Troubleshooting Guide
- Check Point - How to Reset SIC
- ESXi - Connecting to a named pipe
- Netscreen - Routing Basics / Virtual Routers / PBR
- Configuring Windows 2008 R2 as an NTP Server
- Check Point Logging Troubleshooting Guide


