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

Windows Update Cleanup Plugin

Here is some good news for windows 7 SP1 users and maybe for VDI admins running windows 7 desktops in their VDI environments. Windows update cleanup plugin allows to uninstall

Easy Website Creation Software

At 247Rack, we want to help you understand how easy it can be to create online shops, media streaming websites, education. Any kinds of websites you would like to setup

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