Introduction
Today we are working on NSX! Not NSX-V (the older NSX for vSphere environments) but the “new” NSX-T, which since version 4.0 is just called NSX. Lately I have been working a lot with this and have made some internal posts about this. I figured why not share this in some blog posts on my own website. I will not entirely go deep into the workings of NSX. If you have reached this page, I estimate that you have some knowledge on what this piece of software does and what it allows you as the end-user to do. But a very short summary is the following: NSX is the Software Defined Networking stack for VMware and physical environments. By running NSX you will be able to essentially virtualize your networking environment and bring on a lot of efficiency in your SDDC stack which you might already be running.
To do anything with NSX we need to have a so called Manager. A NSX Manager is one (of clustered 3) appliances which you need to you guessed it, manage your NSX environment. This NSX Manager provides you with the GUI and API tools that you need to manage your NSX Fabric. Without this, there is no NSX. So without further explanation let’s go ahead and deploy these managers!
NSX Manager VM requirements
If you wish to deploy your NSX Managers you will have to fulfill some prerequisites which I will discuss about shortly below:
- You have to have a working ESXi host on which you can deploy the NSX Managers.
- Make sure you have 1 (or 3 depending if you are going to deploy a cluster (Required for production)) IP adresses ready to use.
- Make sure your DNS records (A and PTR) are in place.
- If you are deploying this for production, make sure the latency between appliances is below 10ms.
- Once you are deploying more than one appliance, make sure you spread them evenly across ESXi hosts to create a failure domain.
- If you are deploying a cluster you need 1 more IP for the Virtual IP (To provide Cluster High Availability and fault tolerance).
- Make sure the maximum network latency between NSX Managers and Transport nodes is less than 150ms.
- Make sure the disk latency is less than 10ms.
- Make sure you choose the correct sizing. The Extra Small and Small sizes are not usable for the Local NSX-T Manager role. Have a look at the official documentation to find your best sizing here.
Deploying the first NSX Manager
- Download the NSX Manager bits on the following link: LINK. Make sure you download the “NSX Manager/ NSX Global Manager / NSX Cloud Service Manager for VMware ESXi” package. The other downloads are not required initially with a standard NSX Setup.
- Use the vCenter Server / ESXi host to deploy the downloaded .ova from step 1. Pick a name for the appliance and choose a folder.
- Pick a ResourcePool te deploy the appliance in.
- Choose the size for the appliance. As mentioned before in this post you should choose Medium or higher for a local NSX-T Manager appliance.
- Pick the datastore cluster.
- Choose the network the NSX-T Manager appliance will run in.
- In the last screen you can enter the following information:
- System GRUB Root User password
- System GRUB menu timeout
- System Root user password
- CLI “admin” password.
- CLI “audit” password.
- (Optional) Change the CLI “admin” and “audit” user usernames.
- Enter the NSX-T Manager hostname.
- Choose the NSX-T Manager Role. This can be NSX Manager, Cloud Service Manager (CSM) or Global NSX Manager.
- Enter the management IPv4 address information.
- Enter the DNS servers
- Enter the Domain Search List.
- Enter the NTP servers.
- (Optional) Enable SSH and SSH root user logins.
- (Optional) Software Integrity Checker
At this point the appliance will deploy and once done you can login to the appliance. The first thing you have to do is accept the EULA and choose to join the VMware CEIP once you login. After this you will be greeted with a warm welcome:
Now there are a couple of steps you want to verify after continuing:
- Check if the configured IP is picked up on correctly on the NSX-T Manager. Go to System -> Appliances and check the IP on the first node:
- Check if all services are running.
- Login to the NSX-T Manager through SSH and execute the following command
get services
. All services should be in the “running” state except liagent, migration-coordinator, snmp and nsx-message-bus.
- Login to the NSX-T Manager through SSH and execute the following command
The last part in this blogpost we will do is enter the license that is required for NSX-T Manager to run. Once logged in to the NSX-T Manager follow the next couple of steps:
- Login to the NSX-T manager on the FQDN defined in the .ova deployment.
- You should see a blue banner in the screen stating the license is not OK. Click on it. It will take you to System -> Settings -> Licenses.
- Click on the Add license bullet and enter the license key and press “Add”.
The license should now be working! At this point you have deployed your first NSX-T Manager appliance. The next installement of this series will show you how to deploy the rest (it’s easier ;)) and how to set the Virtual IP the NSX-T Manager environment receives High Availabilty and Fault Tolerance.
0 Comments