Using the Linux log collection utility
You can use the clsnap Linux command to collect data from a PowerHA® SystemMirror® cluster.
clsnap command
The clsnap command collects the log files from all nodes of the cluster and saves the log data as a compressed .tar file in the /tmp/ibmsupt/hacmp directory for every cluster node. The logs of the clsnap command are created in the /tmp/ibmsupt/hacmp.snap.log file. The clsnap command performs the following operations:- To collect log information from the local node, enter the following
command:
clsnap -L - To collect log information from the specified node, enter the following
command:
clsnap -n <node-name> - To collect log information in a specified directory, enter the following
command:
clsnap –d <dir>