×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

VM Turn on automatically, How?
3

VM Turn on automatically, How?

VM Turn on automatically, How?

(OP)
Hi Guys,

We Have 5.0 ESXi Hypervisor with 3 Virtual Machines. One of the is our Corporate Firewall (Virtual Fortigate).

It has happened that electricity sometimes is removed by the building guys for maintenance. How do we make our VM to turn ON Automatically.

Currently we have to log into VMware locally and turn VM on.

Regards,

Daniel
 

RE: VM Turn on automatically, How?

You can set the boot priority order under the configuration of your host.

In the vSphere client, click on the host computer. Then click on the configuration tab. Depending upon the version, it may look different but the settings will be found in the VM startup/shutdown section.

RE: VM Turn on automatically, How?

In the vShpere Client click on your host. Click the Configuration Tab. Click Virtual Machine Startup/Shutdown. In the upper right corner click Properties. Click the check mark for Allow virtual machines to start and stop automatically with the system. There you can set select the specific order machines boot. Since we have killer hosts I set the delay for start up and shutdown to 10 seconds.

Also, for a shutdown action by default it is set to Power Off, this liken to pulling the power cored, you will want to change that to Guest Shutdown. That will allow the guest to shutdown gracefully in the event of a shutdown event.

http://www.vmware.com/support/ws5/doc/ws_running_poweroff_vs_shutdown.html

Hope that helps.

Cheers
Rob

The answer is always "PEBKAC!"

RE: VM Turn on automatically, How?

And boy I should spell check when I answer these while on a conference call!

Whew!

The answer is always "PEBKAC!"

RE: VM Turn on automatically, How?

(OP)
ArizonaGeek,

I followed what you seggested but it didn't work... I noted that under column "Startup" all VMs are Disabled, and whatever Startup Order I choose is ignored after clicking OK. Also, the "Edit..." button is grayed out.

Any ideas...?

Regards,

Daniel

RE: VM Turn on automatically, How?

Rob's direction are correct, you need to set the start up order for it to work.  

Quote (ArizonaGeek):


In the vShpere Client click on your host. Click the Configuration Tab. Click Virtual Machine Startup/Shutdown. In the upper right corner click Properties.

At this point, you should have a window open titled "Virtual Machine Startup and Shutdown"

Quote (ArizonaGeek):


Click the check mark for Allow virtual machines to start and stop automatically with the system.

This window has two sections in it, the check box is in the section titled "System Settings".  Here you will want to tune your virtual machine startup delay and the shutdown delay.

Quote (ArizonaGeek):


There you can set select the specific order machines boot.

Now you should be in the section titled "Startup Order"  All three of your virtual machines should be listed in the window just below "Startup Order".  You will also see there are three levels.  Level one would be Automatic Startup, level two is Any Order, and Level three is Manual Startup.  By default, all virtual machines are in Manual Startup.  Select a virtual machine in the list, then notice the buttons on the right become active.  You have Move Up, Move Down, and Edit.  Click the Move Up button to bring the virtual machine to the Automatic Startup level.  You can do that for all three and the order the virtual machines are listed is the order they will start up in.  Select the virtual machine and click the edit button to alter the behavior of the start up.

Keep in mind, placing machines in the Any Order level means just that.  If you make your startup delay to short, you can make VM's take longer to become usable (to many VM's booting at the same time can slow things down).  You don't have much to worry with only three virtual machines, but as the system grows it can be a problem.  Rob gets away with a 10second delay because he has a good system, and he tested it first ( at least I assume he knows what he's doing from reading his posts in the forums over the years wink ).  So test and tune for the system you have, don't set and go production.  

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt                    Senior Network Engineer
Keep IT Simple http://www.kiscc.com  
Novell Platinum Partner          Microsoft Gold Partner
VMWare Enterprise Partner    Citrix Gold Partner
 

RE: VM Turn on automatically, How?

(OP)
Ooops, I hadn't moved my VMs up to the "Automatic Startup".Thanks a lot ProvoGeek.

Regards,

Daniel

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close