Oracle 5.0 Reference Manual page 1649

Table of Contents

Advertisement

ndb_config
Read configuration data from the
--query=query-options,
Command-Line Format
This is a comma-delimited list of query options—that is, a list of one or more node attributes to be
returned. These include
any configuration parameters whose values are to be obtained.
For example,
--query=id,type,indexmemory,datamemory
[1559], and
DataMemory
Note
If a given parameter is not applicable to a certain type of node, than an empty
string is returned for the corresponding value. See the examples later in this
section for more information.
--host=hostname
Command-Line Format
Specifies the host name of the node for which configuration information is to be obtained.
Note
While the hostname
127.0.0.1, this may not necessarily be true for all operating platforms and
configurations. This means that it is possible, when
config.ini, for
is run on a different host where
(for example, on some versions of SUSE Linux, this is 127.0.0.2). In
general, for best results, you should use numeric IP addresses for all MySQL
Clustewr configuration values relating to hosts, or verify that all MySQL
Cluster hosts handle
--id=node_id
--nodeid=node_id
Either of these options can be used to specify the node ID of the node for which configuration
information is to be obtained.
--nodes
Command-Line Format
— Extract MySQL Cluster Configuration Information
file.
my.cnf
-q query-options
--query=string
-q
Permitted Values
Type
string
Default
(node ID), type (node type—that is, ndbd, mysqld, or ndb_mgmd), and
id
[1560]
IndexMemory
--host=name
Permitted Values
Type
string
Default
localhost
ndb_config --host=localhost
localhost
is the preferred form.
--nodeid
--nodes
Permitted Values
Type
boolean
1629
returns the node ID, node type,
for each node.
usually resolves to the IP address
localhost
resolves to a different address
localhost
in the same fashion.
is used in
to fail if
ndb_config

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents