Solved

ESX VM failback?

Posted on 2010-08-28
6
1,070 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vmware horizon certificate question 2 59
VMware 6.0 (Free version) VSphere CLI 2 72
VCenter migration issue 10 54
Unified EndPoint Management 1 26
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:

809 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