In scenarios where HTTPS (UI) access to the manager is not an option , You can still trigger and collect a log bundle for analysis if SSH is available.
Symptoms:
Unable to collect Support bundle when NSX manager UI/HTTPS access is down.
Failure to connect to NSX manager over UI/HTTPS
Use the below steps to trigger and collect Support bundle ,
1. Access the manager via SSH
2. Enter "engineering mode" (nsxmgr# st en)
3. Once in engineering mode run this script:
'/opt/vmware/bin/techsupport_bundle.sh'
4. Check "/tmp" you will find the support bundle there
5. Extract the bundle using SCP
--------------------------------------------------------------------------------------------------------------------------------------
[root@nsxmgr~]# /opt/vmware/bin/techsupport_bundle.sh [root@nsxmgr-01a ~]# ls -lha /common/tmp total 128M drwxrwxrwt 6 root root 4.0K Jan 11 20:20 . drwxr-xr-x 22 root root 4.0K Jun 6 2018 .. -rw-rw-rw- 1 root root 11 Jan 11 20:20 cronsync.time -rw-r--r-- 1 root root 325K Jan 11 20:19 dbanalysis.html drwxr-xr-x 2 root root 4.0K Jan 11 20:19 hsperfdata_root -rw------- 1 root root 2.6K Jan 11 20:21 monit.state drwxr-xr-x 2 root root 4.0K Nov 10 00:20 pktcap srw------- 1 secureall secureall 0 Jan 11 20:06 .s.PGSQL.5432 -rw------- 1 secureall secureall 45 Jan 11 20:06 .s.PGSQL.5432.lock drwxr-xr-x 2 root root 4.0K Nov 10 00:20 uipktcap -rw-r--r-- 1 root root 127M Jan 11 20:20 VMware-NSX-Manager-tech-support-2019Jan11--20-19-29-455438787.tar.gz drwx------ 2 root root 4.0K Nov 10 00:15 vmware-root [root@nsxmgr-01a ~]#