red hat linux9 for x86 (or reduster shell>cd /var/lib/mysql-cluster shell>vi [NDBD DEFAULT] # Options affecting ndbd processes on all data nodes: NoOfReplicas=2 # Number of replicas DataMemory=80M # How much memory to allocate for data storage IndexMemory=52M # How much memory to allocate for index storage # For DataMemory and IndexMemory, we have used the # default values. Since the "world" database takes up # only about 500KB, this should be more than enough for # this example Cluster setup. [TCP DEFAULT]
[NDB_MGMD] # Management process options: hostname= # Hostname or IP address of MGM node datadir=/var/lib/mysql-cluster # Directory for MGM node logfiles
[NDBD] # Options for data node "A": # (one [NDBD] section per data node) HostName= # Hostname or IP address DataDir=/usr/local/mysql/data # Directory for this data node's datafiles
[NDBD] # Options for data node "B": hostname= # Hostname or IP address datadir=/usr/local/mysql/data # Directory for this data node's datafiles
[MYSQLD] # SQL node options: hostname= # Hostname or IP address # Directory for SQL node's datafiles # (additional mysqld connections can be # specified for this node for various # purposes such as running ndb_restore)
[MYSQLD] # SQL node options: hostname= # Hostname or IP address # Directory for SQL node's datafiles # (additional mysqld connections can be # specified for this node for various # purposes such as running ndb_restore)