Configure an NSX load balancer that serves the VMware Cloud Director cells.
Prerequisites
Deploy two NSX Edge nodes and configure them as Edge transport nodes. See Configure the Edge Nodes.
Create a VLAN-backed logical switch by selecting a standard VLAN-backed Transport Zone and using the VLAN ID of the management network.
Procedure
- Log in to the NSX Manager Web interface by using an account with administrative privileges.
- Create and configure a Tier-1 Router.
- Select Networking > Tier-1 Gateway.
- Click Add Tier-1 Gateway.
- Enter the following settings for the router:
Option
Value
Name
CD_LB_Tier-1
Tier-0
Leave it blank.
Edge Cluster
CD_LB_Cluster
Edges Pool Allocation Size
LB Small/LB Medium/LB large
Failover Mode
Leave the default.
- Click Save to save the settings.
- Add a service port for the Tier-1 Gateway.
- Click Service Interface to create ports.
- Select Service Interface > Set.
- Under Set Interface, click Add Interface
- Select .
- Configure the following settings to the port, and leave all other details as default, and save:
Option
Value
Name
CD_VIP_Interface
Logical Switch
Select the VLAN-backed logical switch that you created as part of the prerequisites.
IP Address/mask
Enter the router port IP address in the CIDR notation.
- Enable Route Advertisement as per user requirement.
- Create and configure the load balancer.
- Select Networking > Load Balancing > Add Load Balancer.
- Enter CD_LB as the load balancer name and provide a description.
- Select the load balancer virtual server size.
- Connect to Tier-1 gateway, created in previous steps from the drop-down menu.
- Leave all other details as default and save.
- Create a health monitor.
- Navigate to Load Balancing > Server Pools > Health Monitors.
- Click Add Active Monitor and select TCP Protocol to create a health monitor.
- Configure the health monitor settings, leave all other details as default, and save
Option
Value
Name
TCP_CD
Description
Provide a description.
Monitoring Port
443
- Add a server pool for load balancing.
- Navigate to Add. and click
- Configure the General Properties settings.
Option
Value
Name
CD_VIP_Pool
Description
Provide a description.
Load Balancing
ROUND_ROBIN
SNAT Translation Mode
Auto Map
Active Monitor
Selecting health monitor TCP_CD that you created earlier.
- Configure the Pool Members settings.
Option
Value
Membership Type
Static
Pool Members
Add three pool members.
Member 1 settings:
Name - TCI_CD_Primary
Set an IP address.
State - Enabled.
Member 2 settings:
Name - TCI_CD_Standby_1
Set an IP address.
State - Enabled.
Member 3settings:
Name - TCI_CD_Standby_2
Set an IP address.
State - Enabled.
- Click Save.
- Configure a virtual server.
- Navigate to Load Balancing > Virtual Servers, click Add Virtual Server, and select L4 TCP.
- Configure the General Properties settings.
Option
Value
Name
CD_VIP
Description
Provide a description.
Port
443, 80
Load Balancer
Select the Load Balancer that you created previously.
Server Pool
Select the Server Pool that you created previously.
Application Profile
default-tcp-lb-app-profile
Persistence
Source IP
- Click Save.