Using vim-cmd To Power On Virtual Machines

September 13, 2013

Table of Contents

When you have a lab it is very wise to have a UPS that will protect you in case of a power shortage, this is because a power shortage can bring everything down. When everything is 100% virtualized, DHCP , DNS and active directory. Recovering this type of environment is a little hard from a complete outage. This is because after you have brought the network, storage and ESXi hosts online. Still the DHCP will not be on, from which you leverage to open the vSphere Client and connect to an ESXi host. What this means is that you bring up a few infrastructures VMs from the ESXi host TSM(Tech Support Mode ) console. This can be done using the vmware-cmd

On ESXi 5.0 update 1, vmware-cmd does not work. The command has been deprecated and replaced by /usr/bin/vim-cmd.

Before starting infrastructure VMs using vim-cmd, first find the corresponding Vmid using vim-cmd vmsyc/getallvms ( add more at the end to pause at each page of a long list of registered virtual machines ).

You can now power on using this command vim-cmd vmsvc/power.on 77 you have the DHCP and you can use the vSphere Client on my workstation to power up the remaining virtual machines. This can also be done using the vim-cmd. When you have done that you will see how much more can be done using the vim-cmd from the output you will see. Try this in your own lab. This can come in handy when tackling VCAP-DCA exams. This will also help you during a power outage.

Share on
Facebook
Twitter
LinkedIn
Pinterest
More posts

Dedicated Servers Quick Guide

What is a Dedicated Servers? Why bother using a dedicated server over a VPS or Shared Hosting?A dedicated server is a server 100% dedicated to your website/project or business needs.

vCloud API 5.1 Metadata

Over the years there has been a lot of changes in metadata in vCloud director,so am going to give te difference between the metadata in vCloud director 5.1 and the

Dedicated Server or VPS Server?

What is the difference between Dedicated Server or VPS Server?In short, VPS hosting works on a virtual shared server, where you host your website alongside others; dedicated hosting, meanwhile, gives

🎉 New Year’s Special🎉
50% OFF for Life!

🔥 DELL Bare-metal Dedicated Server in New York

🔹  Intel Gold 80 Cores
🔹  23TB SSD Flash +
🔹1TB NVMe (W RAID)
🔹 1TB DDR4 RAM 
🔹 10Gbps Redundant Uplinks 
🔹 10 IPv4 + IPv6 Addresses Included 

💲 Just $699/month – 50% OFF FOR LIFE! (Reg $1399/month)
🚀 Zero Setup Costs | Flexible OS: Ubuntu, Proxmox, ESXi, Windows, etc.

✅ Reserve Risk-Free! 30-Day Money-Back Guarantee
💡 100% Uptime Assurance – Enterprise-Grade Hardware 

🖥 Ideal for Virtualization, Data-Intensive Apps, & High Traffic Sites

Use coupon code at checkout for the discount to apply FBHEO3023EJFB
⚡ Limited Availability – Don’t Miss Out!

Get 90% Discount

First 3 People gets the Bonus!
Don't Miss Out Our Big Sale

Get 0-90% On All
247Rack Services

247Rack

The Sale Is Until The End Of March