Gathering logs for a VMware environment
The generate_postmortem.sh
script gathers all logs for troubleshooting
and diagnostics.
About this task
When you contact IBM Support, logs and VMware environment data are normally required to help
diagnosis. Run the generate_postmortem.sh
script on each API Connect VM to gather all
the required logs and data. The data that is gathered by the script includes OS-level information
from each VM, so if you have a three replica deployment, it is
recommended to run the generate_postmortem.sh
script on each VM in the cluster.
The logs that are gathered by the generate_postmortem.sh
script include the logs
of the currently running API Connect processes. The
logs have a maximum size, and older log messages are not retained when the maximum size is reached.
To ensure that the logs gathered cover the time when the problem occurred, it is recommended to
reproduce the problem and then immediately gather the logs. Offboarding the logs to an external
server is the recommended best practice for long-term storage of log data. See Configuring remote logging for a VMware deployment.