Hi all, i've installed mysql cluster via deb and apt.
i followed this guide:
https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-cluster-install
-----------------------------------------------------
i want to have 2 VM running management and SQL together
and 2 VM for data node on.
So it's possible to have mysqld and ndb_mgmd running on same VM x 2?
i've tried but it's not working.
----------------------------------------------------------
here my /etc/my.cnf on VM1 and VM2:
[mysqld]
ndbcluster
[mysql_cluster]
ndb-connectstring=dbmng1,dbmng2
-----------------------------------------------------------
here my config.ini on VM1 and VM2:
[ndbd default]
NoOfReplicas=2
DataMemory=98M
[ndb_mgmd]
NodeId=1
HostName=dbmng1
DataDir=/var/lib/mysql-cluster
[ndb_mgmd]
NodeId=2
HostName=dbmng2
DataDir=/var/lib/mysql-cluster
[ndbd]
NodeId=3
HostName=dbdata1
DataDir=/usr/local/mysql/data
[ndbd]
NodeId=4
HostName=dbdata2
DataDir=/usr/local/mysql/data
[mysqld]
HostName=dbmng1
[mysqld]
HostName=dbmng2
--------------------------------------------------