In business, it is essential to ensure the high availability of your various services and applications to avoid service interruptions.
For this, you will find many features in VMware vSphere, part of which is necessary for enabling VMware HA.
In addition, you will also see that another VMware product will also allow you to improve it to achieve the best possible level of service for your VMware virtual infrastructure.
A highly available system is one that is continuously operational for a long period of time.
A fault-tolerant system is designed so that a backup component immediately takes over in the event of a failure so that there is no interruption of service.
To do this, you can use features available under VMware vSphere, as well as the VMware vCenter Site Recovery Manager (also called SRM) product.
Source : VMware vSphere 4.1: Install, Configure, Manage – Revision A - High Availability Module 12 - VMware (pages 7 and 8).
To make a VMware vSphere infrastructure fully highly available, you will need to manage high availability at different levels: hardware protection, zero downtime, and protection against unplanned downtime and disasters.
To do this, you will need to ensure the high availability of:
Note: on the left, this corresponds to the 99% service level and the further you go to the right, the more you arrive at the 99.999% service level. That said, the further right you go, the more technical skills and money it requires to best ensure the high availability of your VMware hardware and virtual infrastructure.
In addition to high availability for your VMware servers, don't forget to add high availability for related services:
Source : VMware - Delivering Business Continuity Solutions with VMware Virtualization (page 7)
VMware vSphere HA provides a simple way to ensure high availability of your applications.
In the event of a VMware ESXi host failure, the affected virtual machines will be automatically restarted on other VMware ESXi hosts.
VMware vSphere HA therefore makes it possible to reduce downtime for your services without having to resort to additional hardware and/or software.
In the background, VMware vSphere HA monitors all VMware ESXi hosts in a resource pool for possible failures of one or more hosts.
To do this, an agent called FDM (Fault Domain Manager) is automatically added to each host to ensure a heartbeat signal between them.
Thus, in the event of loss of the heartbeat signal, the virtual machines on the failed host are restarted on the other hosts in the resource pool.
Notes :
Source : VMware High Availability - Cost effective high availability for virtual machines.
When you enable VMware vSphere HA on a VMware cluster, an FDM agent is added automatically on each VMware ESXi host.
Note that the "hostd" is already present as standard on your VMware ESXi hosts, because it is it which manages many of the basic actions of your hypervisor. In addition, this FDM agent communicates directly with the "hostd". So it cannot work without the "hostd".
When you enable VMware vSphere HA, one of the hosts is automatically designated as the Master host. This main host is the one that will communicate with vCenter and monitor the other hosts, as well as their VMs.
Since different types of failures can occur, the primary host will use the network heartbeat signal, as well as the heartbeat signal from the datastore, to know what type of failure it is.
Other hosts will be designated as secondary hosts (Slaves).
Note that similar to a vDS switch, vCenter Server is only needed to configure VMware vSphere HA.
Indeed, VMware vSphere HA can continue to function correctly even if vCenter Server is inaccessible, because a copy of the configuration is present on each cluster member host (where VMware vSphere HA is enabled).
Source : How vSphere HA Works - VMware Docs.
To use VMware vSphere HA, you must:
When you want to use VMware vSphere HA, VMware recommends that you:
Sources :
On one of the hosts, add your iSCSI server(s) in the "Dynamic Discovery" tab.
As stated before, you will need at least 2 datastores for the heartbeat signal. Additionally, VMware recommends creating these on different iSCSI servers (although you can also create them on a single iSCSI server).
In our case, we installed 2 iSCSI servers on Windows Server and added them to the software iSCSI controller of our host "esxi1".
To learn how to configure this software iSCSI controller on VMware vSphere, refer to our tutorial: VMware vSphere 6.7 - Create an iSCSI datastore.
From this host, create a VMFS datastore on each device (iSCSI disk).
In our case, we created a datastore "iSCSI DS 1" on the 1st disk (which is on our 1st iSCSI server) and a datastore "iSCSI DS 2" on the 2nd disk (which is on our 2nd iSCSI server).
By going to the "Storage -> Storage Devices" section, you can see where each iSCSI disk is located via the "Paths" tab.
As you can see, our datastore "iSCSI DS 1" is located on an iSCSI disk of our iSCSI server "iscsi1".
For our "iSCSI DS 2" datastore, this is located on an iSCSI disk of our iSCSI server "iscsi2".
Once the iSCSI datastores are created from your 1st host, add the iSCSI targets (iSCSI servers) to the software iSCSI controller of the other hosts in your cluster (where you will enable vSphere HA later).
Your other hosts will see the same iSCSI disks and the datastores created on them.
If not, click "Rescan Storage" to have VMware vSphere detect the datastores there.
As expected, in the list of storage devices on your other hosts, you will see that one datastore is on one iSCSI server and the other datastore is on another iSCSI server.
VMware 7/20/2022
VMware 5/10/2024
VMware 5/3/2024
VMware 1/31/2025
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment