Solved

Vmware HA

Posted on 2010-09-04
12
476 Views
Last Modified: 2012-05-10
when configuring High Availibility in Vmware, then one of ESX servers fails and the VMs move to another ESX server. In this case would the VMs that were on and servicing,  would move to the other ESX server as they were previously or would they reboot.??
thanks
0
Comment
Question by:jskfan
  • 5
  • 5
  • 2
12 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 33603979
They Vmotion to other host, meaning they're migrated while powered on.

~coolsport00
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 334 total points
ID: 33603988
So yes, they continue to run as normal.

~coolsport00
0
 

Author Comment

by:jskfan
ID: 33604008
Would the DRS also reboot the VM>>
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 334 total points
ID: 33604014
No....DRS distributes resources (RAM, CPU) to VMs.
0
 

Author Comment

by:jskfan
ID: 33604018
I remember we tested HA , and after we shut down one of the ESX server, the VM moved to another ESX server and rebooted.
0
 
LVL 3

Assisted Solution

by:robdcoy
robdcoy earned 166 total points
ID: 33604560
Just putting my 2 cents in here, if a VM Host fails, your VM Guest would start up on another host.  The Guest system is in a "crash consistant state" meaning it would be like a power failure.  The benifets of VMware are 2 fold:

1.  The ability to move a VM Guest to another Host in order to do maintenance such as firmware updates, hardware updates, etc.

2.  The ability to quickly recover from a hardware, power, or host failure.

To avoid the "crash consistant state" you would have to implement another feature of VMware called fault tolerance.  This feature allows you to run the same machine on two hosts provided that they have common storage.

Attachment is form VMware's vCenter Server.
2010-09-04-151141.png
0
 

Author Comment

by:jskfan
ID: 33604661
<<<Just putting my 2 cents in here, if a VM Host fails, your VM Guest would start up on another host.>>>

If I understood your statement, it means  Yes the VM machine will move to another host but it will be rebooted.  Correct?

0
 
LVL 3

Assisted Solution

by:robdcoy
robdcoy earned 166 total points
ID: 33604679
Correct, but only in the event of a host failure.  You can always move them "online" using vmotion.

Also, if you are planning 2 sites, Data Center and Backup Data Center, systems will have to be shutdown and started on the secondary site or what we call, a Failover.  To do this, it requires an additional license for Site Recovery Manager or SRM.  It's not cheap but neither is building 2 Data Center so the investment is worth it.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 334 total points
ID: 33604686
Let me further explain my statement above. If you have HA solely, yes, the VM will be "restarted" on the other host; if you have HA in your cluster as part of a *shared storage* cluster, the VM will NOT be rebooted, but VMotioned, as I mentioned above. I was going under the assumption of using HA in a shared storage/SAN environment. You can read specifically more about HA in the Availability Guide, pg. 11-12
http://www.vmware.com/pdf/vsphere4/r41/vsp_41_availability.pdf
It states in the guide that the VM does restart. In my environment, it doesn't because I have VMotioned enabled in my cluster. So, the most appropriate answer to your question is 'it depends'. It depends on how your cluster is set up. Again, if it's solely just HA, yes, the VM will reboot. Sorry I didn't further clarify.

Regards,
~coolsport00
0
 

Author Comment

by:jskfan
ID: 33604794
in VI client console, there is a link "Migrate virtual machine" I believe this is Vmotion )kind of manual vmotion. I remember I tried this on a powered VM and moved it to another host and the VM rebooted.

When you check off  "Turn on Vmware HA"
I guess this means automatic Vmotion, in case the host fails. Correct ?

As of DRS, I guess we just need to check it off and let it do the job, because we can not see the results as long as there is no bottleneck noticed. Correct?
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 334 total points
ID: 33604810
No, migrate "can" mean VMotion, but if VMotion isn't configured (you need to configure a VMkernel Port on your vSwitch for VMotion), 'migrate' simply means a move with the VM powered off...in other words a cold migration. But, if you have VMotion configured on all ESX/i hosts in a cluster with shared storage, selecting 'migrate' yes...is VMotion. VMotion'ing to a new host does not reboot the VM. It moves the VM to another host will powered on, in whatever state the VM is in...logged onto or logged off.

I recommend keeping DRS on since it "load balances" the resources (RAM, CPU) in a cluster. It's a 'failsafe' mechanism really. So, if you go to VMotion or cold-migrate a VM to another host, but that host doesn't have the resource capacity for the extra VM, you will know as DRS will let you know. DRS doesn't cause bottlenecks...it just makes sure resources are dispersed where needed to all VMs within the cluster.

~coolsport00
0
 

Author Comment

by:jskfan
ID: 33604819
Thanks all guys!!
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question