Username or Email Address
In the first article Building a Cluster based on VMware (part I) we saw Cluster Technologies types and understand how to install VMware ESXi, in the second article Building a Cluster based on VMware (part II) we look at how to deploy the vCenter Server Appliance (VCSA) 6.5. In this, a final part we will look at how to configure VMware HA Cluster.
High Availability (HA) – the clustering technology is designed to increase the availability of the system, and in case of failure of one of the ESXi nodes, it is possible to start its virtual machines on other ESXi nodes automatically, without the participation of maintenance personnel.
To create a cluster, we need all the virtual machines to be within the same disk storage, it can be not only hard disk storage but also be software. VMware implemented this with vSAN.
Isolation Response (6)
A script that runs if there are no cluster availability signals is determined by the value of Isolation Response, determines the actions of the ESXi node if it does not receive the Heartbeat signal. This happens if the ESXi host was either isolated from the cluster, as an example – a network card failure.
All events can be determined by two scenarios:
In the first case, we use the value of Isolation Response – “Leave powered on”, then all VMs will continue to work.
In the second case, it is necessary to select Power off or Shutdown (used by default) if the node stops receiving signals, HA will allocate the VM to the nodes remaining in the network, and the failed node must finish the work, so there would not be a conflict between the VMs.
Reservation of Resources (Reservation)
When calculating the Failover Capacity, the cluster creates slots defined by the Reservation parameter. It is calculated according to the maximum size of VMs on all working nodes.
Failover Capacity parameter
After Failover Capacity is determined, it determines the maximum number of nodes in the cluster that can fail. In this case, all VMs will work.
1 Open vCentre and on the main page click “Create Datacenter”:
2 Enter the Name of the Datacenter:
3 Create Cluster:
4 Set the Name, do not use the rest and click OK:
5 Next, after descending on the tree to the cluster “Add a host”:
6 Set IP address or Network node Name:
7 Set Username and Password for ESXi nodes:
8 Answer Yes to Security Alert:
9 Let’s check the information on the added node:
10 Next, we see the license management window on the node, we can add the necessary ones and click Next:
11 Determine the level of blocking the console node – the description is clear:
12 Location VM and click next:
13 And that is all, we have done:
Repeat steps 5-13 for each node in the Cluster.
At this stage, we get a non-configured cluster, without a shared storage and any add-ons.
Right-click on our Datacenter, go to the Distributed switch and click New:
Set the Name for the list:
Choose the generation of the switch. The generation is determined by the oldest generation in the network:
Then we set the number of ports, if necessary, specify the name of the port group:
Next, go to the settings created by the switch, and add the Hosts participating in the cluster to it:
Click Add host:
Add a New hosts:
Choose hosts that need to be added:
And click Next, after checking information:
Determine where we want to add ports (you can leave by default):
Now assign uplinks for the port group:
Create new adapters. To create, just click New adapter. Select the port group associated with the switch, and click Next:
Then specify the services for which the switch and the IP address of this virtual adapter are created. Click “Next” to complete the creation of the VMKernel adapter:
Check all information and if its correct – click Finish:
Re-create the VMKernel adapters for each ESXi host. In the end, you should have something like below:
Before configuring, the wizard will analyze the impact. Once everything is in order, click “Next”.
Go to the cluster settings. vSAN – General – Configure.
Determine the appropriate scenario and click on it further:
The system will check whether vSAN is allowed on all hosts on the network:
We mark disks for the cache and for storage in the manager vSAN:
Then finish the settings.
So we got the VMware based Cluster with the vSAN storage.
This procedure is not very simple and has a lot of configuration parameter, that is why this series of articles is not a complete instruction for setting up a cluster in production, and it does not give an accurate knowledge of how everything works but will give a general understanding of the configuration.
We wish you a greater experience in Clusters technology and you always may learn more about it on official VMware site.
Sample rating item
HowTo, Software, VMware by Veniamin Kireev
[…] the next article (p III), we’ll look at how to how to configure VMware HA […]
You must be logged in to post a comment.