In this article you’ll learn how to configure VMware High Availability (HA) cluster. It’s not in depth article about HA, but gives you enough knowledge and get things running. You could already read my article VMware HA cluster – how it works with an introductory video from VMware TechPub.
VMware HA components changed in vSphere 5 where the AAM agent (automated availability manager) responsible for the communication between hosts present in the cluster and vCenter, has been replaced by FDM (Fault Domain Manager). I written also a detailed article about FDM here: vSphere 5 – New High Availability Agent Introduced – FDM..
VMware High Availability (HA) components
VMware vSphere High Availability (HA) is composed from three main components, which each of them plays different role.
- FDM – Fault Domain Manager is responsible for communication between hosts which are part of the cluster, informing other members about available resource, and VMs state. FDM manages the restart of VMs in case host fails.
- Hostd Agent – responsible for communication between hostd and vCenter. If this agent has a problem, then HA stops functionning. Restart possible from DCUI – Under Troubleshooting Options >Enter > F11 >restart the services OR through the CLI… ./sbin/services.sh restart
- vCenter Server – is used to deploy and configure FDM agents inside the cluster. Manages the election of server elected master. If the whole vCenter server (or just the service) fails, the HA still continues to work.
Basic two hosts HA cluster running in my lab.
To be able to create cluster with ESXi hosts, a vCenter is needed. The most basic package, vSphere Essentials cannot be used since the limited licensing does not allow you to create HA cluster as only vSphere Essentials Plus allows you to do that. The essentials package basicaly allows you manage three hosts from central location which is – vCenter server for essentials.
The Essentials Plus allows you not only create HA cluster, but provides also vMotion, Enhanced vMotion, and also many other products which are part of the Essentials Plus bundle:
- vSphere Data Protection (backup product)
- vSphere Replication (VR) can replicate VMs to another host for DR scenarios – supports VSS) – see video.
- vShield Endpoint ( AV, Security)
Essentials Plus is an entry level package for small business which needs to consolidate (virtutalize) like 20-30 physical servers, and make the VMs to be high available. Any hardware failure of the physical hosts enables automatic restart of VMs on another host in the cluster.
VMware vSphere High Availability Cluster Requirements
There is many requirements for VMware HA. Firs one of them is to have the right VMware vSphere license, as I mentioned above. Here are other requirements:
- vSphere Essentials Plus or higher.
- Shared Storage – you’ll need some kind of shared storage. I say some kind, since you can use dedicated storage device (NAS, SAN) or also you can use other (software based) products which emulates the shared storage, like Stormagic’s SvSAN, VMware’s vSphere Storage Appliance for Essentials Plus, OR you can also transform Windows servers in to a SAN (with Starwind iSCSI SAN).
- CPU compatibility between the hosts – the ideal cluster is cluster with exactly same hardware and memory size. Small 3 host cluster allowing to run 20-30 VMs will satisfy most of SMBs. But you can use VMware EVC to adjust cluster settings for CPU compatibility.
Once you install vCenter Server, configure network of each of your ESXi hosts, you can start creating your cluster. Each of your hosts should have redundancy assured by using at least two physical NICs for each network:
- management network
- vm network
- vMotion network
To make this article shorter, I’m skipping the network configuration now. The installation of vCenter server on Windows Server OS is another piece which is not covered in my article as you can simply use easy install or you can deploy vCenter Server Appliance (vCSA) – read my detailed article : How-to install vCenter Server Appliance (vCSA) and possibly save on Microsoft’s licensing
The vCSA has the advantage that its all-in-one prepackaged product , part of the bundle, and so no need to install the individual components one by one.
Another requirement for creating VMware HA cluster is solid DNS architecture with forward and reverse zones created and working. If not already done, create on your DNS server the necessary records now.
Let’s create datacenter and cluster now.
To do so, fire up vSphere Client and go to Hosts and clusters
Then, position yourself on the Manage Tab > right click the vCenter server > New datacenter
Once done, you should see new icon appear. I called my Datacenter vladan. -:). Then again, right click the datacenter you just create, and create new cluster.
While going through the assistant you’re asked, if you want to Turn On DRS and Turn On HA. If you’re on the Essentials Plus licensing, you’ll get a pop-up saying that Essentials Plus isnt’s available, or something like this. As the DRS is available only in Enterprise and Enterprise Plus.
If you don’t want to activate those options now, you can leave unchecked, and continue the assistant.
You can do exactly the same steps by using the vSphere Windows Client, as configuration of VMware vSphere (HA) cluster is still the base element of VMware, and the new vSphere Web Client only brings new functions like vSphere Enhanced vMotion or deployment and management of vSphere Replication.
So we have Datacenter, we have cluster. Now we need to add our ESXi hosts to our cluster. To do so, just follow those steps, right-click (I like right clicking) the HA cluster we just created > Add Host
As you can see, my host’s FQDN (fully qualified domain name) is esxi5-01.vladan-fr.local
You’re prompted for a root password on that host.
And also, you’ll receive a security prompt before validating the assistant…
The last point is to attach a license. In my case, the license has already been entered in vCenter server, so I can assign that license to that host. When you first installing your hosts and vCenter server, you have 60 days for entering your license, and here through this assistant you wan use the Evaluation Mode license. But after 60 days, the VMs will get disconnected from vCenter and the HA won’t function.
Optionally, to reinforce your company’s security, you can prevent login directly to the host and check Enable lockdown mode. Users will be forced to login only through vCenter….
Finally, you can schedule the task. This might be useful in certain scenarios where you’re adding new hosts into the existing cluster where there are already some hosts.
That is it. Last page of the assistant ask you about scheduling the task. Click the change > and select the Run this action now radio button.
This assistant had seven pages. At any moment you can click on the right top corner, where are the two small black triangles. By clicking that it will interrupt the assistant and sends it with a cool animation to the Works in Progress window on the right hand side. You just added the host to your cluster. Do the same for the other host(s), knowing that minimum two hosts are necessary to form a HA cluster.
By clicking the propriety of the cluster you can configure the Host Monitoring, enable Admission Control and also use VM monitoring. I’m going to return back to this article, and complete the explications for those options.
This article does not mean to have all details about HA and clustering, and there are many books and websites which goes much deeper. For the sake of simplicity, this article is here to help people which are new to VMware, new to clustering, new to this terminology. vSphere 5.1 brought new vSphere Web client, and so the screenshosts done through the new vSphere Web client are different.The time necessary to configure vSphere cluster depends on many things, but it an be done quite fast when all prerequisites are met and all components and hosts are already installed and configured
VM monitoring. ، dl ، سرور hp گانفیگ هارد ، مقایسه سرورهای bl با سرور اچ پی ، سرورhp ، سرور ، hp server ،
دنبالک ها: dl, سرور hp گانفیگ هارد, مقایسه سرورهای bl با سرور اچ پی, سرورhp, سرور, hp server, hp, با قطعات, کاملا اورجینال , اصلی , و یک سال, گارانتی, تعویض با , hp , Storage , ارائه, انواع, سرورهای, اچ پی, Proliant , 350 G7 , , Proliant, ML350, G6 , HP , Proliant, ML, 370, G, 7 , HP Proliant ML 110 G7 , HP Proliant ML370 G6 , HP Proliant, DL, 380, G7 , HP, Proliant ,DL 380, G6 , HP ,Proliant, DL,580 ,G7 , HP ,Proliant, DL,385 G7 HP, Proliant, DL180, G6 , HP, Proliant ,DL,360, ,G7,اطلاعات, تکمیلی,,part, number,پارت نامبر ,اچ پی,hp, part ,number,g5 , g4 , g6,اچ پی,, ,hp,فیلم, ,اموزشی, hp,,pc, پی, سی ,سرور,DAS, D2600 , D2700,MSA,MSA,60 , MSA70, SAN, P2000, G3,محصولات ,ذخیره, سازی, اطلاعات, در, محیط ,شبکه, موسوم به ,NAS , HP, X,1400 , X,1600,,محصولات, ذخیره سازی, اطلاعات , محیط شبکه ,مبتنی , فیبر,SAN , ,سرور,, اچ پی,سرور,hp,سرور,hp ،
آخرین ویرایش: دوشنبه 18 خرداد 1394 11:37 ب.ظ