Rechercher dans le manuel MySQL
ndb_error_reporter creates an archive from data node and management node log files that can be used to help diagnose bugs or other problems with a cluster. It is highly recommended that you make use of this utility when filing reports of bugs in NDB Cluster.
The following table includes command options specific to the NDB Cluster program ndb_error_reporter. Additional descriptions follow the table. For options common to most NDB Cluster programs (including ndb_error_reporter), see Section 22.4.31, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.
Table 22.344 Command-line options for the ndb_error_reporter program
Format | Description | Added, Deprecated, or Removed |
---|---|---|
Number of seconds to wait when connecting to nodes before timing out. | All NDB 8.0 releases |
|
Disable scp with remote hosts; used only for testing. | All NDB 8.0 releases |
|
Include file system data in error report; can use a large amount of disk space | All NDB 8.0 releases |
|
Skip all nodes in the node group having this ID. | All NDB 8.0 releases |
Usage
ndb_error_reporter path/to/config-file [username] [options]
This utility is intended for use on a management node host, and
requires the path to the management host configuration file
(usually named config.ini
). Optionally, you
can supply the name of a user that is able to access the
cluster's data nodes using SSH, to copy the data node log files.
ndb_error_reporter then includes all of these
files in archive that is created in the same directory in which
it is run. The archive is named
ndb_error_report_
,
where YYYYMMDDhhmmss
.tar.bz2YYYYMMDDhhmmss
is a datetime
string.
ndb_error_reporter also accepts the options listed here:
-
Property Value Command-Line Format --connection-timeout=timeout
Type Integer Default Value 0
Wait this many seconds when trying to connect to nodes before timing out.
-
Property Value Command-Line Format --dry-scp
Type Boolean Default Value TRUE
Run ndb_error_reporter without using scp from remote hosts. Used for testing only.
-
Property Value Command-Line Format --fs
Type Boolean Default Value FALSE
Copy the data node file systems to the management host and include them in the archive.
Because data node file systems can be extremely large, even after being compressed, we ask that you please do not send archives created using this option to Oracle unless you are specifically requested to do so.
-
Property Value Command-Line Format --connection-timeout=timeout
Type Integer Default Value 0
Skip all nodes belong to the node group having the supplied node group ID.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-mysql-cluster-programs-ndb-error-reporter.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.