Verify whether the Distributed Load Balancer was configured completely on ESXi hosts.

After you securely connect to the ESXi host, run /opt/vmware/nsx-nestdb/bin/nestdb-cli. From the nestdb-cli prompt, run the following commands.

Command Sample Response

To view the configured DLB service, run get LbServiceMsg.

{'id': {'left': 13946864992859343551, 'right': 10845263561610880178}, 'virtual_server_id': [{'left': 13384746951958284821, 'right': 11316502527836868364}], 'display_name': 'mydlb', 'size': 'DLB', 'enabled': True, 'access_log_enabled': False, 'log_level': 'LB_LOG_LEVEL_INFO', 'applied_to': {'type': 'CONTAINER', 'attachment_id': {'left': 2826732686997341216, 'right': 10792930437485655035}}}

To view the virtual server configured for DLB, run get LbVirtualServerMsg.

{'port': '80', 'revision': 0, 'display_name': 'mytcpvip', 'pool_id': {'left': 4370937730160476541, 'right': 13181758910457427118}, 'enabled': True, 'access_log_enabled': False, 'id': {'left': 13384746951958284821, 'right': 11316502527836868364}, 'ip_protocol': 'TCP', 'ip_address': {'ipv4': 2071690107}, 'application_profile_id': {'left': 1527034089224553657, 'right': 10785436903467108397}}

To view configuration of the DLB pool members, run get LbPoolMsg.

{'tcp_multiplexing_number': 6, 'display_name': 'mylbpool', 'tcp_multiplexing_enabled': False, 'member': [{'port': '80', 'weight': 1, 'display_name': 'Member_VM30', 'admin_state': 'ENABLED', 'ip_address': {'ipv4': 3232261280}, 'backup_member': False}, {'port': '80', 'weight': 1, 'display_name': 'Member_VM31', 'admin_state': 'ENABLED', 'ip_address': {'ipv4': 3232261281}, 'backup_member': False}, {'port': '80', 'weight': 1, 'display_name': 'Member_VM32', 'admin_state': 'ENABLED', 'ip_address': {'ipv4': 3232261282}, 'backup_member': False}], 'id': {'left': 4370937730160476541, 'right': 13181758910457427118}, 'min_active_members': 1, 'algorithm': 'ROUND_ROBIN'}

To view NSX controller configuration pushed to the ESXi host, run get ContainerMsg.

{'container_type': 'CONTAINER', 'id': {'left': 2826732686997341216, 'right': 10792930437485655035}, 'vif': ['cd2e482b-2998-480f-beba-65fbd7ab1e62', 'f8aa2a58-5662-4c6b-8090-d1bd19174205', '83a1f709-e675-4e42-b677-ff501fd0f4ec', 'b8366b39-4c81-41fc-b89e-de7716462b2f'], 'name': 'default.clientVMGroup', 'mac_address': [{'mac': 52237218275}, {'mac': 52243694681}, {'mac': 52233233291}, {'mac': 52239463383}], 'ip_address': [{'ipv4': 16844388}, {'ipv4': 16844644}, {'ipv4': 16844132}, {'ipv4': 3232261283}, {'ipv4': 16844298}, {'ipv4': 16844554}, {'ipv4': 16844042}]}

To view application profile configuration on the ESXi host, run get LbApplicationProfileMsg.

{'display_name': 'default-tcp-lb-app-profile', 'id': {'left': 1527034089224553657, 'right': 10785436903467108397}, 'application_type': 'FAST_TCP', 'fast_tcp_profile': {'close_timeout': 8, 'flow_mirroring_enabled': False, 'idle_timeout': 1800}}