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.

Setup Nginx Website Easy Simple Guide

What is needed for a quick Nginx server and website setup? A Dedicated or VPS Server A compatible operating system 247Rack recommends: Centos OS A domain name pointed to the

What Cloud Computing Really Means

Cloud Computing 1. SaaS – Software As A Service This type of cloud computing delivers a single application through the browser to thousands of customers using a multitenant architecture. On the

A Look at vCenter 5.5 SSO RC Installation

vCenter single sign on (SSO)  vsphere 5.5  release has several improvements, like the following: Completely re-written from the ground Multi-master architecture Native replication mechanism SSO now has site awareness (think

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