Collect Log Information about the Grid (gridLogCollect)
The gridLogCollect
command collects daemon logs and other diagnostic information along with TimesTen configuration files from all instances in the grid. The aggregation of all of this is a collection.
ttGridAdmin gridLogCollect -repository reponame [collection]
Options
The gridLogCollect
command has the options:
Option | Description |
---|---|
|
Name of the repository where the collection of logs, diagnostic information, and configuration files is stored. |
|
Name of the collection created to store the logs, diagnostic information, and configuration files. If not specified, the name will be a timestamp in the format |
Examples
This example creates a repository then creates a collection of logs, diagnostic information, and configuration files in that repository. (See Create a Repository (repositoryCreate) for information about the repositoryCreate
command.)
% ttGridAdmin repositoryCreate repocollection -path /repositories -method scp -address mysys1.example.com Repository repocollection created % ttGridAdmin gridLogCollect -repository repocollection mycollection Logs copied to collection mycollection in repository repocollection
In the repocollection
directory, the repository.json
file has information about the repository.
The mycollection
directory contains logs and configuration files for each instance. (See Collecting Grid Logs in Oracle TimesTen In-Memory Database Scaleout
User's Guide for information about the log files.)
Notes
These are automatically included in the collection:
-
Contents of the
diag
directory on each instance (or other diagnostics directory according to thesupportlog
setting intimesten.conf
), such as daemon logs and core files -
TimesTen configuration files from the
conf
directory on each instance. -
Any
.inval
files from theDataStore
directory of each element, as specified in the database definition