Solved

VMware ESXI failover

Posted on 2014-04-06
8
881 Views
Last Modified: 2014-04-27
Hi,

I have two ESXi physical servers. On one physical ESXi server I have a Vcenter running on it with a cluster set up with the two physical ESXi servers which both can see the storage etc.

If I lost the main physical ESXi server  including the Vcentre, how will the remaining physical ESXi server take over the virtual servers?

I shut down the main physical ESXi host today but although the other ESXi server could see the storage, it had not taken the virtual machines over or could see how I can start them from the other box.

Do I need a Vcentre cluster on the other ESXi host too?

How would I point the other ESXI server too the virtual machines? I assumed the cluster would automatically take them over

A little confused?
0
Comment
Question by:monarchit
8 Comments
 
LVL 10

Expert Comment

by:Schuyler Dorsey
ID: 39981318
What is your storage? Do you have centralize storage with a SAN? Is it setup via iscsi/nfs?

Do you have HA enabled for the cluster? And both ESXI hosts are members of the cluster, correct?

You only need ONE instance of vcenter.
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39981332
If it's a planned shutdown of the host first migrate the VM's to the other host, obviously, if it's unplanned you have to have HA enabled, properly configured it would restart the VM's on the host that remains active.
0
 

Author Comment

by:monarchit
ID: 39981348
Yes a SAN via iSCSCi

Yes, both are members of a HA and both can see the storage?

How do I  manually migrate a VM to another host to test?
Yesterday. I manually shit down the virtual exchange servers , the Vcente and then the host but when I checked on the other physically esxi host, although it could see the SAN, the  virtual machines were not present so I could start them on that host if I wanted?
0
 
LVL 10

Accepted Solution

by:
Schuyler Dorsey earned 500 total points
ID: 39981352
If you are going to manually shut down the host, it will not automatically fail over the VMs. If you are going to manually power them down, you should migrate them first.

To migrate, right click on the VM and hit migrate. It will walk you through a simple wizard to migrate it to the other host.

As long as HA is enabled, when hostA fails, it will reboot the VMs on hostB.
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 10

Expert Comment

by:Schuyler Dorsey
ID: 39981355
The reason you don't see the VMs on hostB when you connect after shutting down hostA is because the VMs are still registered to hostA.

If you go to Storage and into the datastore where your VMs sit, you should be able to see them there from each host.
0
 
LVL 10

Expert Comment

by:Schuyler Dorsey
ID: 39981358
If you want/NEED to test it. The closest way would probably be to pull the power from hostA so it takes a hard shutdown. But don't worry about shutting down VMs first.
0
 
LVL 117
ID: 39981404
If you had vCenter Server and VMware HA configured correctly if you just pulled out the power on the failing host, it will start the VMs automatically on Host B.

It needs to be a controlled shutdown.

Otherwise, what you need to do, is browse the shared storage VM folders, find the VMX file, Right Click it, and Select Register with Inventory, and then select VM and Power On!

You may not have Licenses, that include vMotion (e.g. Migrate when Powered On!)
0
 
LVL 10

Expert Comment

by:Schuyler Dorsey
ID: 39981409
^ To my knowledge, the only licensing structure that does not allow you to migrate a powered on VM is Essentials. Everything Essential Plus and on up allows to migrate the powered on VM.

The only limitation with Essentials Plus is the datastore cannot be changed while the VM is powered on s-vmotion is not supported in this license.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This Tutorial covers a very basic and common question asked on Experts Exchange, "How Do I Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x, ESXi 5.0?" Using the following method, no third party tools are required or need…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…

705 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

19 Experts available now in Live!

Get 1:1 Help Now