~$ndb_mgmd -f /var/lib/MysqL-cluster/config.ini
MySQL Cluster Management Server MysqL – 5.5.25 ndb-7.2.7
2012-07-27 16:44:51 [MgmtSrvr] INFO — The default config directory ‘/user/local
/MysqL/MysqL-cluster’ does not exist. Trying to create it…
Failed to create directory ‘/usr/local/MysqL/MysqL-cluster’,error: 2 2012-07-27 16:44:51
[MgmtSrvr] ERROR — Could not create directory ‘/usr/local/MysqL/MysqL-cluster’.
Either create it manually or specify a different directory with –configdir=
~$ndb_mgmd –skip-config-cache -f /var/lib/MysqL-cluster/config.ini
MysqL Cluster Management Server MysqL – 5.5.25 ndb-7.2.7
2012-07-27 16:44:51 [MgmtSrvr] INFO — Skipping check of config directory since config cache is disabled.
Failed to parse parameters for log handler: ‘FILE:filename=/var/lib/MysqL-cluster/ndb_1_cluster.log,maxsize=1000000,
maxfiles=6’,error:13 ‘(null)’
/var/lib/MysqL-cluster/config.ini:
[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=18M # How much memory to allocate for index storage [tcp default] # TCP/IP options: [ndb_mgmd] # Management process options: hostname=192.168.0.3 # Hostname or IP address of MGM node datadir=/var/lib/MysqL-cluster # Directory for MGM node log files NodeId=1 [ndbd] # Options for data node-1: # (one [ndbd] section per data node) hostname=192.168.0.1 # Hostname or IP address datadir=/usr/local/MysqL/data # Directory for this data node's data files NodeId=2 [ndbd] # Options for data node-2: hostname=192.168.0.2 # Hostname or IP address datadir=/usr/local/MysqL/data # Directory for this data node's data files NodeId=3 [MysqLd] # sql node options: hostname=192.168.0.4 # Hostname