hi,

i want to configure a two-machines mysql clusters. i have compiled from source by enabling the clustering feature with no problem at all. i read the documentation on mysql. but, i am not understanding on how to make a simple mysql cluster. basically, i just want to have a kickstart. that's all.

i have a config.ini file at my /usr/local/mysql/mysql-cluster, as such

[NDBD DEFAULT]
NoOfReplicas= 1

[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]

[NDB_MGMD]
HostName= node1.mysql

[NDBD]
HostName= myhost.example.com DataDir= /var/lib/mysql-cluster


[MYSQLD]
[MYSQLD]
[MYSQLD]

then, when i start ndb_mgm, i get this.

NDB> SHOW
Cluster Configuration
---------------------
[ndbd(NDB)]     1 node(s)
id=2    @127.0.0.1  (Version: 3.5.3, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @127.0.0.1  (Version: 3.5.3)

[mysqld(API)]   3 node(s)
id=3    @127.0.0.1  (Version: 3.5.3)
id=4 (not connected, accepting connect from any host)
id=5 (not connected, accepting connect from any host)


now, i have my second machine, let's called it node2.mysql. i have no ideas to join the ndb node2.mysql into the mgmd at node1.mysql. pls guide me.....



i read someone had mentionedNdb.cfg file. i have not noticed that file in my machine. weird.... pls give me more information and ideas.........thanks


--
Mr. Hiu Yen Onn
System Administrator
Shin Yang Group of companies
Website: www.shinyang.com.my
Email: [EMAIL PROTECTED]
Tel: (6085)656699 ext.253
----------------------------------------------
Butterfly de Micro$oft - The King of Desktops
Penguin de Linux - The Mighty Lord of Servers
----------------------------------------------


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to