NDB_ERROR_REPORTER(1)

NAME
ndb_error_reporter - NDB error-reporting utility

SYNOPSIS

ndb_error_reporter options

DESCRIPTION

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 Options Common to NDB Cluster Programs(1).

Table 21.248. Command-line options for the ndb_error_reporter program
Format | Description | Added, Deprecated, or Removed
--connection-timeout=timeout | Number of seconds to wait when connecting to nodes before timing out | (Supported in all MySQL 5.7 based releases)
--dry-scp | Disable scp with remote hosts; used only for testing | (Supported in all MySQL 5.7 based releases)
--fs | Include file system data in error report; can use a large amount of disk space | (Supported in all MySQL 5.7 based releases)
--skip-nodegroup=nodegroup_id | Skip all nodes in the node group having this ID | (Supported in all MySQL 5.7 based 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_YYYYMMDDhhmmss.tar.bz2, where YYYYMMDDhhmmss is a datetime string.

ndb_error_reporter also accepts the options listed here:

    • --connection-timeout=timeout
    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.

    • --dry-scp
    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.

    • --fs
    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.

    • --skip-nodegroup=nodegroup_id
    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.

COPYRIGHT

Copyright © 1997, 2020, Oracle and/or its affiliates. All rights reserved.

This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.

SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/.

AUTHOR
Oracle Corporation (http://dev.mysql.com/).