Solved

Vmware HA

Posted on 2010-09-04
12
463 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
 
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VMWare changing paths to SAN storage 4 32
vswitch question 6 42
Vmware 5.5 3 22
Recreate datastore 7 48
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
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…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

708 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now