Oracle 5.0 Reference Manual page 1669

Table of Contents

Advertisement

ndb_waiter
Instead of waiting for the
status before exiting.
NOT_STARTED
--timeout=seconds,
Time to wait. The program exits if the desired state is not achieved within this number of seconds.
The default is 120 seconds (1200 reporting cycles).
--single-user
The program waits for the cluster to enter single user mode.
Sample Output.
Shown here is the output from
which two nodes have been shut down and then started again manually. Duplicate reports (indicated
by "...") are omitted.
shell>
./ndb_waiter -c localhost
Connecting to mgmsrv at (localhost)
State node 1 STARTED
State node 2 NO_CONTACT
State node 3 STARTED
State node 4 NO_CONTACT
Waiting for cluster enter state STARTED
...
State node 1 STARTED
State node 2 UNKNOWN
State node 3 STARTED
State node 4 NO_CONTACT
Waiting for cluster enter state STARTED
...
State node 1 STARTED
State node 2 STARTING
State node 3 STARTED
State node 4 NO_CONTACT
Waiting for cluster enter state STARTED
...
State node 1 STARTED
State node 2 STARTING
State node 3 STARTED
State node 4 UNKNOWN
Waiting for cluster enter state STARTED
...
State node 1 STARTED
State node 2 STARTING
State node 3 STARTED
State node 4 STARTING
Waiting for cluster enter state STARTED
...
State node 1 STARTED
State node 2 STARTED
State node 3 STARTED
State node 4 STARTING
Waiting for cluster enter state STARTED
...
State node 1 STARTED
State node 2 STARTED
— Wait for MySQL Cluster to Reach a Given Status
state,
STARTED
ndb_waiter
-t seconds
1649
continues running until the cluster reaches
when run against a 4-node cluster in
ndb_waiter

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents