Unlike a central load balancer, a Distributed Load Balancer (DLB) instance is attached to virtual interfaces of a VM group.
It is only possible to create and attach a DLB instance through API commands.
Add a policy group consisting of VMs. For example, such a VM group can be related to the App tier that receives requests from a VM on the Web-tier.
- ♦ Run
"connectivity_path" : "/infra/domains/default/groups/<clientVMGroup>",
"enabled" : true,
"size" : "DLB",
"error_log_level" : "INFO",
"access_log_enabled" : false,
"resource_type" : "LBService",
"display_name" : "mydlb"
A DLB instance is created and attached to the VM group. The DLB instance created on the Web-tier is attached to all the virtual interfaces of the App-tier VM group.
- If the connectivity path is set to Null or Empty, the DLB instance is not applied to any transport nodes.
- If the connectivity path is set ALL, all virtual interfaces of all transport nodes are bound to the DLB instance. One DLB instance is applied to all the virtual interfaces of the policy group.
- size: Set to value DLB. As each application or virtual interface gets an instance of DLB, there is just a single size form factor of the DLB instance.
- enabled: By default, the created DLB instance is enabled.
What to do next
After creating a DLB instance, log in to the NSX Manager, go to. View details of the DLB instance.