How to Deploy NSX Controllers and Configure Hosts for NSX

Once you’ve deployed the NSX manager appliance and you’ve setup the registration with your vCenter, its time to deploy our controllers and being our host preparations for NSX. From the Networking & Security pane click Installation > Management. At the bottom you will see the NSX Controller nodes pane. Click the green +

controller1

Click Select next to the IP Pool entry

controller2

Click New IP Pool…at the bottom of the window.

controller3

We need to create a pool of IP addresses that will be assigned to the controllers automatically when they are deployed. Fill in the appropriate information and click OK.

controller4

Fill in the appropriate information for adding the controller and select the newly created IP Pool. Click OK.

controller5

Wait on the controller to deploy and show Normal in the Status column. It is recommended by VMware to deploy at least 3 controllers for resiliency.

controller6

Now lets prepare the hosts for NSX by installing the VIBs and configuring VXLAN. After you’ve installed the VIBs by clicking Install under Host Preparation > Actions, give it a moment and make sure the Installation Status has a green check and the Firewall Status is Enabled. Next click Not Configured under the VXLAN column. vtep1

Select your vDS. Leave the MTU size at 1600. Select Use IP Pool > New IP Pool…to create a pool for the VXLAN Tunnel Endpoints (VTEPs) to use.

vtep2

Enter in the appropriate information and click OK.

vtep3

Select the newly created IP pool for VMKNic IP Addressing and click OK.

vtep4

Give it a moment to configure and wait until the VXLAN status shows Configured

vtep5

Now if we click the Logical Network Preparation tab and look under VXLAN Transport, we can see that our host has been assigned a new kernel interface and IP address for its VTEP.

Ex: ESXI-B-01 was assigned 172.20.111.150 from the VTEP-Pool IP Pool that we created.

vtep6

Also if we go look at the vDS, we will notice that a new port group has been created. This is what our host’s VTEP will connect to.

vtep7

Next we need to create our Segment IDs. Segment IDs in NSX can be compared to VLANs on a switch. This will be what our logical switches/networks will use as they are created. Click on the Segment ID > Edit

vtep8

Starting with at least 5000, we can create our range of Segment IDs. This value can be changed later if we didn’t allocate enough. Also, make sure that these segments do no overlap with other Segment IDs that may be used in the same NSX deployment.

vtep9

Now that we have the Segment IDs created, its time to create our Transport Zone. This is where we define what clusters will be able to communicate with each other in the NSX deployment. Click the green +.

vtep110

Enter a name for the Transport Zone and select your Replication mode. Unicast is the default. Select the clusters that you want to be apart of the Transport Zone. Click OK.

vtep11

And that’s it. Now we have the basic setup needed to begin creating logical networks in NSX.

2 thoughts on “How to Deploy NSX Controllers and Configure Hosts for NSX

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 )

Facebook photo

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

Connecting to %s