MySQL Forums
Forum List  »  Install & Repo

Can not intergrate API node with NDB Management
Posted by: quan nguyen
Date: September 05, 2017 09:34PM

2 have 3 machines and their role in cluster are:
- node 1: installed ndb cluster management and mysqld service.
- node 2 and node 3 are installed ndbd.

After manual configuration I can start ndbd and ndbd_mgm successfully, but when I start mysqld, I got an error like this:

Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

Sep 06 17:36:27 mnp-db01 mysqld_pre_systemd[12376]: 2017-09-06T10:36:27.048217Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_f...e details).
Sep 06 17:36:27 mnp-db01 mysqld_pre_systemd[12376]: 2017-09-06T10:36:27.050446Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
Sep 06 17:36:27 mnp-db01 mysqld_pre_systemd[12376]: 2017-09-06T10:36:27.050469Z 0 [ERROR] Aborting

Those are configurations of ndbd and mysqld on node 01.

>>>>> NDBD:

[ndbd default]
NoOfReplicas=2
DataMemory=80M
IndexMemory=18M
ServerPort=2202
[ndb_mgmd]
HostName=mnp-db01
DataDir=/mysql/cluster
[ndbd]
HostName=mnp-db02
NodeId=2
DataDir=/mysql/data
[ndbd]
HostName=mnp-db03
NodeId=3
DataDir=/mysql/data
[mysqld]
HostName=mnp-db01


>>>>> MYSQLD:

[mysqld]
ndbcluster
socket=/mysql/node/mysql.sock
log-error=/mysql/node/log/mysqld.log
pid-file=/mysql/run/mysqld/mysqld.pid

[mysql_cluster]
ndb-connectstring=mnp-db01

Options: ReplyQuote


Subject
Written By
Posted
Can not intergrate API node with NDB Management
September 05, 2017 09:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.