VMware

This Question is Answered

7 Replies Last post: Dec 12, 2008 5:59 AM by kklueber  

Setting order of machine startup after a crash or powerloss posted: Apr 28, 2008 1:59 AM

Click to view Svedja's profile Enthusiast 46 posts since
Jun 22, 2006

We had a major powerloss the other day (due to a human mistake) and our datacenter lost all it's power.

After that we had to restart all of our machines, one by one.

As it was weekend we didn't have our regular staff here, and as a result several machines were started in "wrong" order were ie database dependencies weren't fullfilled.

Is there any way to tell VC in which order to start up machines? Preferably set order within a group av virtual machines (or resource-pools maybe?).

The same could apply if an ESX machine crashes.

Click to view alanrenouf's profile Master 582 posts since
Feb 28, 2006

Dont have a console in front of me at the moment but I cant remember if there is a way to do this, the only thing I could think of was in 3.5 there is a new feature which delays the BIOS screen, could you use this to your advantageby setting different delays on the servers ?

VM BIOS Delay
One new feature, VM BIOS Delay setting, is very handy if you are
trying to get to the Boot menu to boot from a CD-ROM. Prior to 3.5, the
VMware BIOS screen only showed for a very brief second or two,
which made it difficult to get to the BIOS Setup Menu (F2) or Boot
Device Menu (ESC). You can now edit the VM's settings.

There is a boot options selection under advanced on the
options tab, here you can set a power-on boot delay in
milli-seconds.

Click to view Rajeev S's profile Hot Shot 194 posts since
Oct 27, 2006
Hi,

You can set the automatic startup and shutdown in each ESX host (under configuration>> VM startup/shutdown). You can configure the startup and shutdown delay in that. This option can help u.

Hope this helps :)
Click to view VBarak's profile Enthusiast 43 posts since
Jun 26, 2007

(under configuration>> VM startup/shutdown).

this is good for a non-clustered (HA\DRS) environment..

in HA environments you need to configure the priorities of your server (low\med\high) and the HA will start them from high to low...

Click to view VBarak's profile Enthusiast 43 posts since
Jun 26, 2007

yes but you do it just 1 time (in general) and you can always create it in a perl script of strating the machines in your order...


Click to view kklueber's profile Novice 3 posts since
Apr 11, 2007
we had a similar outage where we had to restart every VM, we also have a requirement to start some VMs in a particular order, understand this can be scripted on a single host, but how can you script this across an entire ESX cluster?

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities