(mysql.info) mgm-client-commands
Info Catalog
(mysql.info) mysql-cluster-startup-phases
(mysql.info) mysql-cluster-management
(mysql.info) mysql-cluster-event-reports
15.6.2 Commands in the Management Client
----------------------------------------
In addition to the central configuration file, a cluster may also be
controlled through a command-line interface available through the
management client `ndb_mgm'. This is the primary administrative
interface to a running cluster.
Commands for the event logs are given in
mysql-cluster-event-reports. commands for creating backups and
restoring from backup are provided in mysql-cluster-backup.
The management client has the following basic commands. In the listing
that follows, NODE_ID denotes either a database node ID or the keyword
`ALL', which indicates that the command should be applied to all of the
cluster's data nodes.
* `HELP'
Displays information on all available commands.
* `SHOW'
Displays information on the cluster's status.
* In a cluster where multiple management nodes are in use,
this command displays information only for data nodes that are
actually connected to the current management server.
* `NODE_ID START'
Starts the data node identified by NODE_ID (or all data nodes).
* `NODE_ID STOP'
Stops the data node identified by NODE_ID (or all data nodes).
* `NODE_ID RESTART [-N] [-I]'
Restarts the data node identified by NODE_ID (or all data nodes).
* `NODE_ID STATUS'
Displays status information for the data node identified by
NODE_ID (or for all data nodes).
* `ENTER SINGLE USER MODE NODE_ID'
Enters single-user mode, whereby only the MySQL server identified
by the node ID NODE_ID is allowed to access the database.
* `EXIT SINGLE USER MODE'
Exits single-user mode, allowing all SQL nodes (that is, all
running `mysqld' processes) to access the database.
* `QUIT'
Terminates the management client.
* `SHUTDOWN'
Shuts down all cluster nodes, except for SQL nodes, and exits.
Info Catalog
(mysql.info) mysql-cluster-startup-phases
(mysql.info) mysql-cluster-management
(mysql.info) mysql-cluster-event-reports
automatically generated byinfo2html