Skip to main content

4. NSX Controllers Automated Deployment & Clustering

There are 2 methods of deploying NSX controllers for vSphere integration with NSX-T:
  • Automated Installation of Controller from NSX Manager
  • Manual Installation of NSX Controller on ESXi via GUI or OVF tool
In this post we will not talk about controller deployment for non-vSphere infrastructure.
Also in this post we will be discussing only about Automated method for controllers. Manual installation will be covered in Next post of this series.
In order to deploy NSX controllers to consume NSX-T for your vSphere infrastructure, make sure following prerequisites are met:
  • vCenter Server and ESXi hosts are deployed.
  • Esxi hosts have been added to vCenter and networking and storage configuration on hosts are in place. 
  • NSX Manager is deployed.
  • ESXi host must have enough CPU, memory, and hard disk resources to support 12vCPUs, 48 GB RAM, and 360 GB Storage.
Now once all the above prerequisites have been met, we have to add vCenter server to NSX manager as Compute Manager. To do so login to NSX manager and navigate to Home > Fabric > Compute Managers and click on add button. 

Provide a name for the vCenter server and optional description. 
For domain name enter vCenter server FQDN and credentials via which NSX manager can talk to vCenter server. Service account is prefered here.
Leave SHA Thumbprint option blank and click on Add

Accept the thumbprint presented by vCenter server by clicking on Add button.

Wait for a couple of minute for vCenter server showing as Registered and connection status as UP.

Once vCenter server is registered as Compute Manager, Next is to add the controllers node. To add the first controller node navigate to Systems > Components tab and click on Add-Controllers option.

Enable ssh for admin and root user if you wish and specify the passwords for both the user. Also you have to specify the shared secret that will be used by the other controllers to form the cluster with the first controller. Since this is first controller of the cluster, you do not need to enable Join Existing Cluster option.
Note: You won’t be able to change the Form Factor which is set to medium by default. With this form factor, controllers will be deployed with 4 vCPU and 16 GB Memory and all 16 GB reserved. So make sure your Esxi host have more resources than this. Although you can change the memory reservation once vm is deployed and boots up, but if more than 20 GB is not available on Esxi host, then deployment gonna fail for sure. It happened to me 2 times and I was forced to add atleast 24 GB RAM to Esxi host. 

Specify the placement container for the controller vm and hit Finish button.


Controller deployment will kick off




Wait for 3-4 minutes for controller cluster and manager connectivity to report as Up.


And our first controller is deployed successfully. From the same console we can add more controllers. Just make sure to enable option Join existing cluster so that newly deployed controller will form cluster relationship with the previously deployed controller.



And the 2nd controller has now booted up. Repeat the same steps for deploying the 3rd controller to ensure high availability for NSX controllers.


Comments

Popular posts from this blog

Console Mouse Not Working in Windows 2012 VMs

I recently ran into some problems while deploying a Windows Server 2012 R2 VM in my vSphere 6.5 U2 lab. I’ve come to expect that the console mouse response is going to be terrible until VMware Tools is installed, but for some odd reason I had no mouse control whatsoever. Thinking it may be a quirk of the Web Console, I tried both the Remote Console and the HTML5 client to no avail. The VM appeared to be healthy and would register keyboard input, but the motion of the mouse cursor was erratic or the cursor would not move at all. Thinking that I just needed to battle on and get Tools installed, I attempted to use the keyboard for this purpose – what a chore. You think it would have been easy, but the installer kept losing focus and falling behind other open windows. Many of the windows keyboard shortcuts I’d normally use were not functioning because they register on my laptop – not in the console. I couldn’t RDP to the VM either because the NIC needed to be configured with a vali...

UEFI Secure Boot with ESXi 6.5

UEFI Secure Boot: UEFI, or Unified Extensible Firmware Interface, is a replacement for the traditional BIOS firmware. In UEFI, Secure Boot is a “protocol” of the UEFI firmware. UEFI Secure boot ensures that the boot loaders are not compromised by validating their digital signature against a digital certificate in the firmware. UEFI can store whitelisted digital certificates in a signature database (DB). There is also a blacklist of forbidden certificates (DBX), a Key Exchange Keys (KEK) database and a platform key. These digital certificates are used by the UEFI firmware to validate the boot loader.  Boot loaders are typically cryptographically signed and their digital signature chains to the certificate in the firmware.The default digital certificate in almost every implementation of UEFI firmware is a x509 Microsoft UEFI Public CA cert. Most of the UEFI implementations also allows the installation of additional certificate in the UEFI firmware and UE...

Dell EMC VxRail – VMware Virtual SAN Stretched Cluster

Logical Diagram of VMware vSAN Stretched Cluster Physical Diagram of VMware vSAN Stretched Cluster Last week I deployed a test environment of VMware vSAN Stretched Cluster which is running on Dell EMC VxRail Appliance. In this post we will describe how to setup VMware vSAN Stretched Cluster on Dell EMC VxRail Appliance. Above figure is the high level of physical system diagram. In site A/B there are six VxRail Appliances and two 10GB Network Switch which are interconnected by two 10GB links, and each VxRail Appliance has one 10GB uplink connects to each Network Switch. In site C, there are one vSAN Witness host and one 10GB Network Switch. For the details of configuration of each hardware equipment in this environment, you can reference the followings. Site A (Preferred Site) 3 x VxRail E460 Appliance Each node includes 1 x SSD and 3 x SAS HDD, 2 x 10GB SFP+ ports 1 x 10GB Network switch Site B (Secondary Site) 3 x VxRail E460 Appliance Each node includes 1 x SSD and...