Solved

VMware ESXI failover

Posted on 2014-04-06
8
911 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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
 
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 119
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare esxi 5.1 to 6.0 upgrade 15 119
VEEAM Basic Setup for 3 main locations 8 66
vmware 5.5 1 66
VMWARE heartbeat 2 50
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

831 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