Slownes uploading Inventory Groups configuration
search cancel

Slownes uploading Inventory Groups configuration

book

Article ID: 373399

calendar_today

Updated On:

Products

VMware NSX Networking VMware NSX

Issue/Introduction

When you are navigating in the Inventory Groups using the NSX-T UI and checking the Groups configuration, you experience these symptoms:

  • Performance is slow
  • Pages load longer than expected
  • Not showing the complete Groups settings 

In NSX Local Manager's /var/log/nvpapi/api_access.log, we can see the invocation takes long time. 

api_access.log.1.gz: INFO user@domain 'GET /api/v1/sites?version=latest' 200 39356 "https://NSX-T_FQDN/remote/<UUID>/nsx/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 85.356220

Environment

NSX-T 3.X 

NSX 4.X

NSX Federation

Cause

The delay is happening on DNA resolution, nvapi code adds additional logic to fetch FQDN from the IP address.

Resolution

  • Check for the DNS servers configured in the NSX-T Manager nodes
  • Using the linux command "dig" we can check if it is resolving the ip address and the time it takes to do it.
  • The query time it should be 10-200 msec

 

For Example:

cat etc/resolv.conf
nameserver 10.12.25.3
nameserver 10.25.12.3

dig @10.12.25.3 -x <IP_NSX-T_nodes>

dig @10.12.25.3 -x <FQDN_NSX-T_nodes>

dig @10.25.12.3 -x <IP_NSX-T_nodes>

dig @10.25.12.3 -x <FQDN_NSX-T_nodes>


With verbose enabled

dig @10.12.25.3 -x <IP_NSX-T_nodes> +trace

dig @10.12.25.3 -x <FQDN_NSX-T_nodes> +trace

dig @10.25.12.3 -x <IP_NSX-T_nodes> +trace

dig @10.25.12.3 -x <FQDN_NSX-T_nodes> +trace

 

Additional Information

How to change DNS server from NSX-T Manager command line (admin)

get name-servers

set name-servers DNS-SERVER_IP

del name-servers DNS-SERVER_IP