Overview
VMware Technical Support routinely requests diagnostic information from you when a support request is handled. This diagnostic information contains product specific logs, configuration files, and data appropriate to the situation for analysis.
Important logs for VMware NSX for vSphere: Below table provide examples for information on logs that are important to debug various NSXv Services / Issues
NOTE: NSXv have already reached “End of General Support” on Jan 16th 2022. Please refer vmware Product lifecycle Matrix
NSX Components Services |
Manager | Controller | Hyper- visor | Edge |
Logical Switching | ||||
Logical Routing | ||||
Distributed Firewall | ||||
Edge Services |
For log collection please refer KB article: https://kb.vmware.com/s/article/2074678
VMware recommends using syslog for long term retention of logs. All NSX components support syslog. Since the disk space on each appliance (NSX Manager, NSX Controller and NSX Edge) is limited by the VM size, the log rotation policy is primarily based on size (and not based on time).
Important logs for VMware NSX-T Data Center
Below table provide examples for information on logs that are important to debug various NSX-T Services / Issues
NSX Components Services |
NSX Manager | Hypervisor | Edge |
Install/Upgrade | |||
Logical Switching | |||
Routing | |||
Firewall | |||
Edge Services |
Doc: Please refer NSX-T Admin Guide for logging level details
Other important logs & data
Apart from the above basic logs mentioned above, VMware’s Global Support can ask for specific set of logs based on the type of issue and situation.
Information to be kept handy when engaging GS for Severity 1 issue
RCA Expectation & Log Rollover
Troubleshooting operations such as ‘Reboot’ or ‘Redeploy’ can lead to logs being rolled over. This is applicable for components such as Edge/DLR, NSX Mangers, Controllers etc.
It is recommended that logs are collected before performing any intrusive operations. GS will need these for investigations when you are looking for potential triggers to the issue.
However, collecting logs requires time hence customer will need to take the decision if they are ok to wait or want GSS to immediately take steps in restoring the production.
NOTE: Incase the logs are not collected and operations like Reset / Reboot etc. are performed, it will restrict GS to provide any conclusive RCA.
Configuring Syslog
VMware recommends using 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 the Configure Remote Syslog Servers section in the NSX Administration Guide.
NSX-T: Configuring Remote Logging
NSXv: Configuring a Syslog Server
Monitoring tools through NSX
NSX provides comprehensive monitoring tools through NSX native monitoring capability and integration with 3rd party tools. This includes inbuilt dashboard, Alarms/Events, Troubleshooting Alerting etc. Below are few VMware solutions which can give more insight into the environment including customized alert and recommendations
Automation of logs upload
To simplify and expedite the log upload process, we recommend using the Log Assist feature of VMware Skyline, which (with your permission) automatically uploads log files. Skyline is available to all Production Support and Premier Services customers.