Documentation Home
MySQL Cluster Manager 1.3 User Manual
Related Documentation Download this Manual
PDF (US Ltr) - 1.8Mb
PDF (A4) - 1.8Mb
EPUB - 1.0Mb
HTML Download (TGZ) - 0.9Mb
HTML Download (Zip) - 0.9Mb


4.2.5 The collect logs Command

collect logs [cluster_name]

This command collects log files and other related files from all hosts. When the name of a cluster (cluster_name) is supplied with the command, it collects all the log files (.log) as well as the configuration files (.ini, .cnf), error files (.err), and option files (.opt) used by all processes belonging to the cluster, and also all the agent log files.

The collected files are put under the MySQL Cluster Manager data repository (/opt/mcm_data/ by default, or specified by the option --manager-directory) inside a folder named collected_files, under which the files are organized under a hierarchy of timestamps [for the file collections] and then host names; below the host name level, the file organization mimics that on the host. For example, the agent log for the host tonfisk, collected on 2014-07-31 at 07:44:05, is found at:

 /opt/mcm_data/collected-files/2014-07-31T07:44:05Z/tonfisk/opt/mysql/logs/mcmd-tonfisk-19001.log

If cluster_name is omitted, only the agent log files are collected.


User Comments
Sign Up Login You must be logged in to post a comment.