Collecting Grid Logs

TimesTen Scaleout enables you to collect various logs from every host that is part of your grid. These logs are useful for troubleshooting errors that you may encounter while using your grid or database. You can collect these logs with the ttGridAdmin gridLogCollect command:
  • ttGridAdmin.log

    Shows support messages about the grid.

  • tterrors.log

    Shows any error or warning messages that the TimesTen daemon encountered.

  • ttmesg.log

    Shows support messages about the TimesTen daemon.

  • Configuration files

    Configuration files that are stored in the timesten_home/conf/ directory of each instance.

Note:

The logs are stored in the timesten_home/diag/ directory. This directory contains multiple tterrors.log and ttmesg.log files that are appended with numbers. The logs without the appended number are the most recent log files.

Note:

Before collecting logs for your grid, ensure that you have configured a repository. See Working with Repositories.

This example collects the logs for a grid and stores these logs in the repository repo1. By default, TimesTen Scaleout names your collection of logs with the current date and time, Lyyyymmddhhss. The prefix of the backup name, L, stands for logs.

Note:

You can add the -name parameter to specify a collection name. For example, ttGridAdmin gridLogCollect -repository repo1 -name mylogs creates a collection of logs named mylogs.

% ttGridAdmin gridLogCollect -repository repo1

Logs copied to collection L20170331143740 in repository repo1

The ttGridAdmin gridLogCollect command creates a collection directory in the repository. The collection directory contains a directory for every host of your grid where each host directory contains logs for that specific host.