25.4.3.10 NDB Cluster TCP/IP Connections (original) (raw)

25.4.3.10 NDB Cluster TCP/IP Connections

TCP/IP is the default transport mechanism for all connections between nodes in an NDB Cluster. Normally it is not necessary to define TCP/IP connections; NDB Cluster automatically sets up such connections for all data nodes, management nodes, and SQL or API nodes.

To override the default connection parameters, it is necessary to define a connection using one or more[tcp] sections in theconfig.ini file. Each[tcp] section explicitly defines a TCP/IP connection between two NDB Cluster nodes, and must contain at a minimum the parametersNodeId1 andNodeId2, as well as any connection parameters to override.

It is also possible to change the default values for these parameters by setting them in the [tcp default] section.

Important

Any [tcp] sections in theconfig.ini file should be listed_last_, following all other sections in the file. However, this is not required for a [tcp default] section. This requirement is a known issue with the way in which the config.ini file is read by the NDB Cluster management server.

Connection parameters which can be set in[tcp] and [tcp default] sections of the config.ini file are listed here:

Restart types. Information about the restart types used by the parameter descriptions in this section is shown in the following table:

Table 25.21 NDB Cluster restart types

Symbol Restart Type Description
N Node The parameter can be updated using a rolling restart (seeSection 25.6.5, “Performing a Rolling Restart of an NDB Cluster”)
S System All cluster nodes must be shut down completely, then restarted, to effect a change in this parameter
I Initial Data nodes must be restarted using the--initial option