Learning NSX-Part-4-Preparing Esxi Hosts and Cluster


In previous posts of this series, we talked about NSX Manager and NSX Controllers Deployment and also validated NSX Control Cluster status.

If you have missed earlier posts of this series you can read them from here:

1: Introduction to VMware NSX

2: Installing and Configuring NSX Manager

3: Deploying NSX Controllers

In this post we are going to learn about how to prepare Clusters and Esxi Hosts for NSX.

At this point we have NSX manager and controllers ready and established connection between control and management plane. Next step is to prepare cluster and Esxi hosts.

NSX installs three vSphere Installation Bundles (VIB) that enable NSX functionality to the host. One VIB enables the layer 2 VXLAN functionality, 2nd VIB enables the distributed router, and the 3rd VIB enables the distributed firewall. After adding the VIBs to a distributed switch, that distributed switch is called VMware NSX Virtual Switch.

Login to vCenter Server using vSphere Web Client and Navigate to Networking & Security > Installation > Host Preparation. Choose your cluster and click the Install link.

Once you click on install option, NSX will start installing the VIB’s on the Esxi hosts that are part of the cluster.

host-0

Give it a few seconds to install the VIB’s. Once installation is completed you can see Installation status as OK and also Firewall status as enabled.

host-1

At this point VXLAN is not configured and we will cover this part in next section.

Verify Status of NSX VIBs

You can verify the VIBs installation by logging onto Esxi hosts using ssh.

You can use following commands to check status of NSX VIBs

# esxcli software vib list | grep vxlan

# esxcli software vib list | grep vsip

host-2

You can also get detailed information about these VIBs by using command

# esxcli software vib get | less

You have to navigate through the output to search for vxlan and vsip VIBs info

host-3

host-4

Verifying NSX User World Agent (UWA) Status:

The user world agent (UWA) is composed of the netcpad and vsfwd daemons on the ESXi host. UWA Uses SSL to communicate with NSX Controller on the control plane. UWA Mediates between NSX Controller and the hypervisor kernel modules,except the distributed firewall. Communication related to NSX between the NSX Manager instance or the NSX Controller instances and the ESXi host happen through the UWA. UWA Retrieves information from NSX Manager through the message bus agent.

You can verify the status of User World agents (UWA) using the below command:

# /etc/init.d/netcpad status

host-6

On doing esxtop, we can verify the netcpa deamon is running

host-7.PNG

Post completion of Cluster Preparation, you can see the vxlan is loaded under custom stacks in TCP/IP configuration of the ESXi hosts.

host-5.PNG

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable :)

About Alex Hunt

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in NSX, Vmware. Bookmark the permalink.

7 Responses to Learning NSX-Part-4-Preparing Esxi Hosts and Cluster

  1. Pingback: Learning NSX-Part-5-Configure VXLAN on the ESXi Hosts | Virtual Reality

  2. Pingback: Learning NSX-Part-6-Logical Switching and Transport Zones | Virtual Reality

  3. Pingback: Learning NSX-Part-7-Distributed Logical Router Tidbits | Virtual Reality

  4. Pingback: Learning NSX-Part-7-Installing Distributed Logical Router | Virtual Reality

  5. Pingback: Learning NSX-Part-8-Installing Distributed Logical Router | Virtual Reality

  6. Pingback: Learning NSX-Part-9-Edge Services Gateway | Virtual Reality

  7. Pingback: Learning NSX-Part-11-Replacing NSX default SSL Certficates with CA Signed Certificates | Virtual Reality

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s