In the second part I show up the necessary steps to get the previously installed edge nodes up and running inside NSX manager.
Category: NSX
When using Overlay networks within your NSX environment, you need at least two edge nodes. VMware´s preferred way of deployment is VMs, as it´s the easiest and most comfortable way of deployment and management.
To enhance network flow and ensure high data rates, I decided to have a look on bare metal edges.
This two-post series will show how to basic install and join them into a VCF NSX manager.
While rolling out a new Workload domain, the SDDC manager got stuck in a loop of deploying the NSX appliances and deleting them instantly after the deployment finished. The interesting thing was that one out of the three VMs got deployed and started without problems.

The cause of this could be found in the domainmanager logfile on the SDDC manager host
/var/log/vmware/vcf/domainmanager/domainmanager.log
Powering on VM: ***-nsx01a
[..] -
[..] - Task Completed
[..] - Error: Task failed on server: The host does not have sufficient memory resources to satisfy the reservation.
[..] - Deleting VM: ***-nsx01a
[..] - Warning:
[..] - - The manifest is present but user flag causing to skip it
[..] - Completed with errors on host ***
[..] ERROR [vcf_dm,677263b484ddb203cdedfa721556dc85,fe4c] [c.v.v.c.f.p.n.a.DeployNsxtManagerAction,dm-exec-1] Deployment of NSX Manager failed using OVF tool
[..] DEBUG [vcf_dm,677263b484ddb203cdedfa721556dc85,fe4c] [c.v.v.c.f.p.n.a.DeployNsxtManagerAction,dm-exec-1] Found error message - [Error: Task failed on server: The host does not have sufficient memory resources to satisfy the reservation.]
The management domain was also used to run other “Management VMs”. It slightly ran out of “reservable memory”. As the NSX VMs get a memory resource reservation, only the first VM got enough resources for the reservation and could be powered up, but there wasn´t enough for the latter two.
After increasing the memory of the ESXi Hosts the deployment could be finished without any problems.
When using NSX a quite common task is applying tags to VMs. This can be done in several ways, in this post I´m showing how to accomplish that task via the RESTapi of NSX 4.1.2
The API calls and all other scripts in this post were run with these versions:
– VMware NSX Version 4.1.2.1.0.22667789