In the first part of the post – VMware NSX Deployment, we looked at What is VMware NSX, its components and working along with the use cases.

In this second part, we’ll look at the step-by-step process involved in deploying a VMware NSX-V:

  • Installing NSX Manager
  • Deploying NSX Controllers
  • ESXi Host Preparation
  • Deploying VXLAN
  • Setting up transport zones

Installing the VMware NSX Manager

The first component of VMware NSX that you will install in your environment is the NSX Manager. The NSX Manager with NSX-V integrates with the VMware vCenter Server in your environment to provide cohesive solution for virtualized networks in your vSphere environment.
Download the VMware NSX Manager appliance from VMware. This will be an OVA file found in your “My VMware” portal site.

Deploying VMware NSX

Download the NSX Manager OVA appliance

The OVA deployment process for the NSX Manager Appliance is straightforward and in line with a normal OVA deployment process. There is only a slight bit of configuration to do during the NSX Manager OVA deployment process.

Download Banner

In the first screen, choose your downloaded OVA appliance file.

Deploying VMware NSX

Choose the NSX Manager OVA appliance that was downloaded

The next step is to select a name and folder for the deployed VMware NSX Manager.

Deploying VMware NSX

Name the NSX Manager appliance in VMware inventory

Select your compute resource for running the NSX Manager appliance.

Deploying VMware NSX

Choose the compute resource

The next page is a Review details screen that has you review the details of the initial OVA appliance deployment.

Deploying VMware NSX

Finalizing the initial OVA deployment

Review and agree to the License agreement by placing a checkbox in the I accept all license agreements.

Deploying VMware NSX

Accept the VMware EULA

Select your storage for the NSX OVA appliance deployment.

Deploying VMware NSX

Choose storage for the NSX Manager appliance

Next, select the network you want to connect your NSX Manager to for the management interface. This will provide the access you need to navigate to the management page of the NSX Manager to configure integration with vCenter Server.

Deploying VMware NSX

Select the Destination network for the NSX Manager appliance

One the Customize Template screen, you need to fill in the following information:

  • CLI Admin User Password
  • CLI Privilege Mode Password
  • Hostname
  • Network 1 IPv4 Address
  • Network 1 IPv6 (if using IPv6)
  • Network 1 Netmask
  • Default IPv4 Gateway
  • DNS Server list
  • Domain Search List
  • NTP Server List
  • Enable SSH
  • Join the VMware CEIP

Deploying VMware NSX

Customize the NSX Manager appliance

After finishing the configuration of the required variables you need to populate such as passwords, etc, you should see the message that All properties have valid values and click Next.

Deploying VMware NSX

After populating the customize template fields

Finally, you are Ready to complete the OVA deployment wizard for the NSX Manager appliance.

Deploying VMware NSX

Ready to complete the NSX Manager deployment

Once the NSX Manager appliance has finished deploying, power on the appliance and wait for the appliance to boot and services to start. After a few minutes, you should be able to browse to the web interface of the NSX Manager appliance. After logging in with the password configured during the appliance deployment, click the Manage vCenter Registration button.

Deploying VMware NSX

Getting started integrating the NSX Manager with vCenter Server

There are two configuration settings you need to populate for connecting the NSX Manager appliance to the vCenter Server in your vSphere environment – Lookup Service URL and vCenter Server. For most environments, this will be your vCenter Server with the integrated Platform Services Controller.

Deploying VMware NSX

Getting started integrating NSX Manager with vCenter Server

For the Lookup Service URL, populate the Lookup Service Host with your vCenter Server name and the SSO administrator credentials and password.

Deploying VMware NSX

Configuring the Lookup Service URLr

You will be prompted to accept and trust and accept the certificate presented by your vCenter Server.

Deploying VMware NSX

Trust the vCenter Server certificate

After populating both the Lookup Service URL and the vCenter Server with the vCenter Server host, you should see the status for both showing as Connected.

Deploying VMware NSX

After configuring the Lookup Service URL and vCenter Server

Now that the NSX Manager appliance is tied to your vCenter Server, the NSX components are integrated into your vSphere Client. You most likely will need to logout and log back into your vSphere Client to see the new Networking and Security menu. You may even see a ribbon at the top of the vSphere Client directing you to do so.

Now that we have access to the Networking and Security menu, we can continue with the NSX installation in the environment by deploying NSX Controllers into the environment.

Install NSX Controller

The next step after deploying the NSX Manager is installing NSX Controllers in the environment. First, navigate to the Networking and Security menu under the Menu.

Deploying VMware NSX

Networking and Security menu is available in the vSphere Client after integrating the NSX Manager with vCenter Server

The NSX Controllers are deployed from the Installation and Upgrade menu. Click Installation and Upgrade > Management > NSX Controller Nodes > Add.

Deploying VMware NSX

Launching the Add Controller wizard

This launches the Add Controller wizard. In the first screen, set the credentials for the controller.

Deploying VMware NSX

Set credential password for the NSX Controller

Step two of the Add Controller wizard is the Deployment & Connectivity configuration. Here you configure the compute, networking, and storage for the new NSX controller.

Deploying VMware NSX

Deployment and Connectivity configuration for NSX controller

One of the configuration items under the Deployment and Connectivity wizard is how you want to configure IP addressing for the NSX Controller. This can be configured using IP Pools. Think of the IP Pool as a “static DHCP” configuration where you set aside IP addresses that are assigned to the NSX Controllers for provisioning.

Deploying VMware NSX

Adding a new IP Pool

Once you complete the Add Controller wizard you will see the new controller start deploying. You can monitor the progress of the NSX Controller deployment right from the controller nodes dashboard.

Deploying VMware NSX

New NSX Controller node deploying

Deploying VMware NSX

NSX Controller node deployed successfully and connected

As mentioned earlier under the NSX Controller section, VMware only supports an NSX Controller cluster configuration of three NSX Controller nodes. Be sure to deploy the three NSX controllers for a supported configuration.

After deploying both the NSX Manager and the NSX Controller cluster, the next step is to prepare your ESXi hosts in the vSphere environment. Preparing your ESXi hosts involves installing the specific NSX VIB files on each host as well as configuring VXLAN which makes the overlay network possible.

NSX Host Preparation

Under the Networking and Security > Installation and Upgrade > Host Preparation tab, click the Install NSX link to begin preparing your ESXi hosts for the NSX installation.

Deploying VMware NSX

Preparing VMware ESXi for the NSX installation

At this point as well, make sure you have installed a proper license for VMware NSX. If a license has not been installed, you will receive an error during the Host Preparation configuration.

Deploying VMware NSX

NSX license error during the Host Preparation phase

After a few minutes of installation and synchronization time, you should eventually see the Firewall show as Enabled and the Communication Channels show as UP.

Deploying VMware NSX

After the ESXi Host Preparation you should see Enabled and UP for the status of each ESXi host

After installing the NSX VIBs on your ESXi hosts, you can now start using VMware NSX to create firewall rules. For the more advanced networking capabilities provided by VMware NSX, you will need to complete the configuration of VXLAN and Transport Zones in your environment, which we will cover next.

Configure NSX VXLAN

In addition to installing the NSX VIBs, the Install NSX process does not configure VXLAN. VXLAN is an extremely important part of the process as the VXLAN tunnels are what make the Overlay network possible with NSX-V. Still under the Host Preparation tab, next to VXLAN, click Configure.

Deploying VMware NSX

Getting started configuring VXLAN in ESXi host preparation for NSX

This launches the Configure VXLAN Networking wizard. Here you configure the:

  • Switch
  • VLAN
  • MTU
  • vmkNIC IP Addressing
  • vmkNIC Teaming Policy
  • VTEP

The switch needs to be a vSphere Distributed Switch that you have added to your ESXi hosts in the environment.

Deploying VMware NSX

Configure VXLAN Networking for ESXi hosts

After configuring VXLAN for your ESXi hosts, under the VXLAN Settings tab, you also need to add Segment IDs. Click Edit.

Deploying VMware NSX

Adding Segment IDs under VXLAN Settings

This launches the Edit Segment ID Settings. As you can see below the Segment ID pool range is 5000-16777215. VXLAN segments are built between VXLAN tunnel endpoints (VTEPs). Each VXLAN tunnel has a segment ID. You must specify a segment ID pool for the primary NSX Manager to isolate your network traffic.

When determining the size of each segment ID pool, consider that the segment ID range controls the number of logical switches that can be created. Choose a small subset of the 16 million potential VNIs. Do not configure more than 10,000 VNIs in a single vCenter because, vCenter limits the number of dvPortgroups to 10,000.

Deploying VMware NSX

Configuring Segment ID Settings

The Segment ID Pool settings are now populated.

Deploying VMware NSX

Verifying the Segment ID Pool is populated

Configuring an NSX Transport Zone

One of the final configurations that need to be made in the initial NSX deployment is configuring the Transport Zones.

What is the transport zone?

A transport zone controls which hosts a logical switch can reach and can span one or more vSphere clusters. Transport zones dictate which clusters and, therefore, which VMs can participate in the use of a particular network. Universal transport zones can span vSphere cluster across a cross-vCenter NSX environment.

To configure a new Transport Zone, navigate to Installation and Upgrade > Logical Network Settings > Transport Zones > Add.

Deploying VMware NSX

Adding a new NSX Transport Zone

Populate the New Transport Zone configuration with:

  • Name
  • Description
  • Replication Mode
  • (Select Clusters that will participate)

Deploying VMware NSX

Creating a new NSX Transport Zone

After creating the new Transport Zone it should be listed under the Transport Zones tab.

Deploying VMware NSX

NSX Transport Zones

After configuring the Transport Zones, you should now have a basic VMware NSX deployment into your VMware vSphere environment. You can now begin to start creating virtualized network objects like Logical Switches (LS) and Distributed Logical Routers (DLRs).

Final Thoughts

VMware NSX is a powerful software-defined networking technology that will help your business to unlock networking capabilities that are simply not possible with traditional physical networking. You are most likely going to need to be able to move with agility and flexibility as your environment may span on-premises, public cloud, and multi-cloud environments. VMware NSX allows you to do this effectively.

Creating networks inside of software is the way to solve many of the network challenges encountered while running today’s workloads across various landscapes. Deploying VMware NSX is certainly a more advanced deployment process and should be approached with careful planning and testing before making changes in production environments.

However, as shown, VMware has greatly simplified the process with the easy provisioning of the required components for standing up the VMware NSX network virtualization environment. With VMware NSX running on top of your vSphere environment, you will have several features and capabilities unlocked for housing business-critical data and services where you need them. This allows ensuring network communication between the required application components, regardless of where they live.

While VMware NSX provides the ability to serve your data from any location, even spanning multiple environments, be sure you are properly protecting your data with a backup solution that can also span environments and can properly protect your business-critical applications.
Be sure to check out Vembu BDR Suite for a fully-featured trial version to effectively backup your VMware vSphere workloads.

Follow our Twitter and Facebook feeds for new releases, updates, insightful posts and more.

Like what you read? Rate us
Deploying VMware NSX – Part 2
Rate this post