3. Prepare ESXi Hosts for NSX

Lets prepare Cluster for NSX

Click on Networking & Security and navigate to Installation > Host Preparation tab and select the cluster and click on gear button to start installation of NSX VIB’s. NSX will start pushing the required VIB’s on host. Its similar to RPM in linux.

Verify NSX vibs by running esxcli software vib list | grep nsx [root@localhost:~] esxcli software vib list | grep nsx

Modules: vmkload_mod -l | grep nsx

It looks like below once Host is prepared for NSX

netcpa gets deployed during the NSX host preparation stage, netcpa is for communication with controllers. Please check service below on esxi host.

Verify the vsfwd process is in a running state using the following command:

/etc/init.d/vShield-Stateful-Firewall status

2. Configure and Deploy an NSX Controller Cluster

NSX controllers are required for dlr-logical router, vxlan-logical switching so we go with configure and deploy NSX controllers before host preparation. NSX controller is the central point for all logical switches. NSX Controller cluster are responsible for updating esxi hosts on the state of logical switches.

Create three NSX Controller nodes in each NSX Controller cluster.

Installation –> Management –> Add controller

Click plus sign, in the Add Controller dialog box, configure and deploy NSX Controller instance as below. Select respective NSX Manager, add details respective details. Click the Connected To > Select link-In the Select Network dialog box, select Distributed Portgroup from the Object Type drop-down menu. In the Available Objects list, select portgroup and click OK. Click the IP Pool > Select link. At the bottom of the Select IP Pool dialog box, click the New IP Pool link. This IP pool is used for ip addressing NSX controllers.

NOTE: Anti affinity rule for controllers so that it will be on different ESXi hosts.