To tylko jedna z 2 stron tej notatki. Zaloguj się aby zobaczyć ten dokument.
Zobacz
całą notatkę
Sections of the config.ini File
There are six different sections that you can use in the config.ini configuration file, as described in
the following list:
• [computer]: Defines cluster hosts. This is not required to configure a viable MySQL Cluster, but
be may used as a convenience when setting up a large cluster. See Section 17.3.2.4, “Defining
Computers in a MySQL Cluster”, for more information.
• [ndbd]: Defines a cluster data node (ndbd process). See Section 17.3.2.6, “Defining MySQL
Cluster Data Nodes”, for details.
• [mysqld]: Defines the cluster's MySQL server nodes (also called SQL or API nodes). For a
discussion of SQL node configuration, see Section 17.3.2.7, “Defining SQL and Other API Nodes in
a MySQL Cluster”.
• [mgm] or [ndb_mgmd]: Defines a cluster management server (MGM) node. For information
concerning the configuration of management nodes, see Section 17.3.2.5, “Defining a MySQL
Cluster Management Server”.
• [tcp]: Defines a TCP/IP connection between cluster nodes, with TCP/IP being the default
connection protocol. Normally, [tcp] or [tcp default] sections are not required to set up a
MySQL Cluster, as the cluster handles this automatically; however, it may be necessary in some
situations to override the defaults provided by the cluster. See Section 17.3.2.8, “MySQL Cluster
TCP/IP Connections”, for information about available TCP/IP configuration parameters and how to
use them. (You may also find Section 17.3.2.9, “MySQL Cluster TCP/IP Connections Using Direct
Connections” to be of interest in some cases.)
• [shm]: Defines shared-memory connections between nodes. In MySQL 5.6, it is enabled by
default, but should still be considered experimental. For a discussion of SHM interconnects, see
Section 17.3.2.10, “MySQL Cluster Shared-Memory Connections”.
• [sci]:Defines Scalable Coherent Interface connections between cluster data nodes. Such
connections require software which, while freely available, is not part of the MySQL Cluster
distribution, as well as specialized hardware. See Section 17.3.2.11, “SCI Transport Connections in
MySQL Cluster” for detailed information about SCI interconnects.
You can define default values for each section. All Cluster parameter names are case-insensitive,
which differs from parameters specified in my.cnf or my.ini files.
... zobacz całą notatkę
Komentarze użytkowników (0)