10.5.2. tpm diag Command

The tpm diag command will create a ZIP file including log files and current dataservice status. It will connect to all servers listed in the tpm reverse output attempting to collect information.

shell> tpm diag
NOTE  >> host1 >> Diagnostic information written to /home/tungsten/tungsten-diag-2013-10-09-21-04-23.zip

The information collected depends on the installation type:

  • Within a staging directory installation, all the hosts configured within the cluster will be contacted, and all the information across all hosts will be incorporated into the Zip file that is created.

  • Within an INI installation, the other hosts in the cluster will be contacted if ssh has been configured and the other hosts can be reached. If ssh is not available, a warning will be printed, and each host will need to be accessed individually to run tpm diag.

The structure of the created file will depend on the configured hosts, but will include all the logs for each accessible host configured. For example:

Archive:  tungsten-diag-2013-10-17-15-37-56.zip   22465 bytes   13 files
drwxr-xr-x  5.2 unx        0 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/
drwxr-xr-x  5.2 unx        0 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host1/
-rw-r--r--  5.2 unx       80 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host1/thl.txt
-rw-r--r--  5.2 unx     1428 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host1/trepctl.txt
-rw-r--r--  5.2 unx   106415 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host1/trepsvc.log
drwxr-xr-x  5.2 unx        0 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host2/
-rw-r--r--  5.2 unx       82 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host2/thl.txt
-rw-r--r--  5.2 unx     1365 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host2/trepctl.txt
-rw-r--r--  5.2 unx    44128 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host2/trepsvc.log
drwxr-xr-x  5.2 unx        0 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host3/
-rw-r--r--  5.2 unx       82 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host3/thl.txt
-rw-r--r--  5.2 unx     1365 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host3/trepctl.txt
-rw-r--r--  5.2 unx    44156 t- defN 17-Oct-13 15:37 tungsten-diag-2013-10-17-15-37-56/host3/trepsvc.log