Solved

ESX VM failback?

Posted on 2010-08-28
6
1,065 Views
Last Modified: 2012-05-10
I had a power outage on one of our ESX 4.0 hosts last night. We run a 2 ESX host cluster via VCenter so all those Virtual Machines shifted to the other ESX host. What was interesting is when power came back on 4 minutes later, none of the Virtual Machines failed back to the other server as we had them for load balancing.

I checked the configuration tab and under networking I selected the VSwitch with the VMs on it and the little weird box to the left when clicked did say Failback enabled on both ESX hosts.

How do I get failback working and is this actually a good idea or is it better to go in and manually move the VMs back?

Thanks in advance guys/gals
0
Comment
Question by:snyderkv
6 Comments
 
LVL 28

Accepted Solution

by:
bgoering earned 167 total points
ID: 33552189
I think that you may be talking about the failback on NIC Teaming tab? If so that setting has effect when you have standby NICs configured on the vSwitch so that if your main NIC or NICs go down, the standby NIC takes over. The NIC will go down in the event the physical swith it is plugged into goes down, someone trips over the cable, etc. Anyway when the primary becomes available the network traffic will fialback to the primary NIC.

In HA, it sounds like it is woking as designed. When one host went down it restarted your vms that were running on that host on the remaining host.

There is no "failback" setting for moving the VMs back to the original host when it becomes available. However, if you have DRS enabled on the cluster it will move hosts back if the load is too high on the 2nd host, and continue to vMotion hosts between the cluster Nodes whenever the host utilization reaches a threshold that would cause DRS to decide to balance the load.

There are DRS rules you can create that will dictate the DRS keep the VMs running on seperate hosts -- doing that MAY be able to give you the results you want. But not sure if trying that would prevent HA from restarting them. Hmmm.

If you want specific VMs running on specific hosts, you will need to manually move them.

Hope this helps - Good Luck
0
 
LVL 5

Assisted Solution

by:Stappmeyer
Stappmeyer earned 167 total points
ID: 33552878
Keep in mind that even with DRS enabled, if the load is not high enough on the host with all the VMs, it will not vMotion guests over to the server that had the power outage and then came back into service.  Ensure that you have DRS enabled and ensure that you have set how aggressive you would like it to apply recommendations.   These setting along with the actual VM Guest requirements will cause the loads to be shifted.

0
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 166 total points
ID: 33552902
If are you doing DRS it will not "failback" unless there is lack of resources.  If your single system does not run into resource issues all the VMs will stay on there unless you're going a more aggressive DRS configuration.
0
What Security Threats Are You Missing?

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.

 

Author Comment

by:snyderkv
ID: 33553727
No we can have all VMs on one server no problem. Only all the VMs shift over to the second ESX host every time their is a power failure on one or the other. If this happens every day, then you can see how much of a pain it would be to manually migrate half those VMs over.

Yes I believe DRS is enabled. and I see the Failback option but I think that was something else like what bgoering mentioned
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33553891
Sorry I don't have better news for you. How do you get power failure on only one server if both are in same datacenter? Only UPS for one? (Just curious)
0
 

Author Comment

by:snyderkv
ID: 33555630
This case may have been one of the remote site admins tripping over the cable or mistaking it for something else.

At least I know the answer to my question. So thanks again everyone.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
DCpromo down a server and adding it back 8 39
Veeam backup Catalog 6 62
vswitch question 6 42
vmware 1 49
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
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 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…

707 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

14 Experts available now in Live!

Get 1:1 Help Now