To collect diagnostic information for VMware NSX for vSphere:
http://NSX_Manager_IP
vsm.log
file is rotated after 200MB. A maximum of 10 files are retained. The log is compressed when stored and has a .gz file extension.POST
https://<nsxmgr_ip>/api/1.0/appliance-management/techsupportlogs/NSX
GET
https://<nsxmgr-ip>/api/1.0/appliance-management/techsupportlogs/filename
nsxmgr_ip
is the IP address of the NSX Managerfilename
is the name of the techsupport bundle generated in post method.
Using the export host-tech-support Central CLI command
Starting with NSX 6.2.3, the export host-tech-support
Central CLI command is introduced, allowing you to export an ESXi host Support bundle to a specified server. This command collects NSX related outputs and files on specified hosts, such as:
To export an ESXi support bundle to a specified server:
export host-tech-support host-id scp uid@ip:/path
show cluster all
command to get host-id information.nsx-support
/bin/nsx-support {-h|start|getstatus|cleanup} [datastore_name]
nsx-support start datastore_name
nsx-support start datastore_name
is not proper, such as nsx-support start abc.
Path does not exist: /vmfs/volumes/abc. Please specify output datastore name.
nsx-support getstatus
/vmfs/volumes/”{datastoreName}"/xxxxxxxx.eng.vmware.com-2015-11-17--19.35.tgz.
nsx-support delete
Done.
To collect NSX Controller logs using the Command Line Interface (CLI):
save status-report filename
show file
shows the filename. Log files are rotated after 100MB. A maximum of 5 files are retained. Files are compressed when stored.copy file filename root@remote_host:/tmp
To collect Edge and Distributed Logical Router (DLR) logs:
Note: For the NSX Edge, all logs are stored in /var/log/messages
, rotated after 2MB. A maximum of 5 files are retained. VMware recommends to use syslog for long term retention of the logs as all NSX components support it. As the disk on the appliances, such as NSX Manager, NSX Controller, NSX Edge are limited by the virtual machine sizing, the log rotation policy is primarily based on size (and not based on time.).
For more information, see Collecting diagnostic information for VMware NSX Edge (343353).
To simplify and expedite the log upload process, is is recommended to use the Log Assist feature of VMware Skyline, which (with permission) automatically uploads log files. Skyline is available to all Production Support and Premier Services customers.
To collect Topology information, Broadcom requests customers to provide a clear diagram containing hostnames and IP addresses, which shows the network topology including NSX components such as Logical Switches, LDR and ESG.
Troubleshooting the NSX Manager Web Client Plug-In in NSX for vSphere 6.x
Uploading files to cases on the Broadcom Support Portal
Collecting diagnostic information for VMware vCenter Server 4.x, 5.x, 6.x, 7.x and 8.x
Collecting diagnostic information for VMware NSX Edge
Troubleshooting SSL VPN-Plus for VMware NSX for vSphere 6.x
Troubleshooting the NSX Manager Web Client Plug-In in NSX for vSphere 6.x