Hi All
I have a 4 node cluster setup
ips are 192.168.0.2, 192.168.0.3, 192.168.0.7, and 192.168.0.8
the management node is at 192.168.0.25
the my.cnf file for the SQL nodes contains
[mysqld]
# IP address of the cluster management node
ndbcluster
ndb-connectstring=192.168.0.25
[mysql_cluster]
ndb-connectstring=192.168.0.25
the management node config.ini contains
#
[ndbd default]
NoOfReplicas= 4
MaxNoOfConcurrentOperations= 10000
DataMemory= 80M
IndexMemory= 24M
[tcp default]
[ndb_mgmd default]
DataDir= /var/lib/mysql-cluster
[ndb_mgmd]
Id=1
HostName= 192.168.0.25
datadir= /var/lib/mysql-cluster
[ndbd]
Id= 2
HostName= 192.168.0.2
[ndbd]
Id= 3
HostName= 192.168.0.3
[ndbd]
Id= 4
HostName= 192.168.0.7
[ndbd]
Id= 5
HostName= 192.168.0.8
[mysqld]
Id= 6
HostName= 192.168.0.2
[mysqld]
Id= 7
HostName= 192.168.0.3
[mysqld]
Id= 8
HostName= 192.168.0.7
[mysqld]
Id= 9
HostName= 192.168.0.8
[mysqld]
--------------
the sql nodes were started using the following commands
shell> /usr/local/mysql/bin/mysqld_safe --user=mysql --ndbcluster --ndb-connectstring=192.168.0.25&
shell> /usr/local/mysql/bin/ndbd --initial
shell> /usr/local/mysql/support-files/mysql.server start
my problem is that when i look at the management node and run a show in
/usr/local/mysql/bin/ndb_mgm
all i see is the entries in the datanodes.. none of the mysqld entries show
on looking at the log in each server this is what i find
100722 08:53:37 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100722 8:53:37 [Note] Plugin 'FEDERATED' is disabled.
100722 8:53:37 InnoDB: Started; log sequence number 0 44233
100722 8:53:37 [Note] NDB: NodeID is 7, management server '192.168.0.25:1186'
100722 8:53:38 [Note] NDB[0]: NodeID: 7, no storage nodes connected (timed out)
100722 8:53:38 [Note] Starting Cluster Binlog Thread
100722 8:53:38 [Note] Event Scheduler: Loaded 0 events
100722 8:53:53 [Warning] NDB : Tables not available after 15 seconds. Consider
100722 8:53:53 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
--------------------------------------------
i am on ubuntu using the tutorial presented here (my servers are dual processor with 4gb ram each)
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-multi-computer.html
the binary used is mysql-cluster-gpl-7.1.4b-linux-x86_64-glibc23.tar.gz
with obvious changes ie.. all my nodes are data+mysqld nodes
Any and all Help would be welcome
Thanks and Regards
Cirvesh
I have a 4 node cluster setup
ips are 192.168.0.2, 192.168.0.3, 192.168.0.7, and 192.168.0.8
the management node is at 192.168.0.25
the my.cnf file for the SQL nodes contains
[mysqld]
# IP address of the cluster management node
ndbcluster
ndb-connectstring=192.168.0.25
[mysql_cluster]
ndb-connectstring=192.168.0.25
the management node config.ini contains
#
[ndbd default]
NoOfReplicas= 4
MaxNoOfConcurrentOperations= 10000
DataMemory= 80M
IndexMemory= 24M
[tcp default]
[ndb_mgmd default]
DataDir= /var/lib/mysql-cluster
[ndb_mgmd]
Id=1
HostName= 192.168.0.25
datadir= /var/lib/mysql-cluster
[ndbd]
Id= 2
HostName= 192.168.0.2
[ndbd]
Id= 3
HostName= 192.168.0.3
[ndbd]
Id= 4
HostName= 192.168.0.7
[ndbd]
Id= 5
HostName= 192.168.0.8
[mysqld]
Id= 6
HostName= 192.168.0.2
[mysqld]
Id= 7
HostName= 192.168.0.3
[mysqld]
Id= 8
HostName= 192.168.0.7
[mysqld]
Id= 9
HostName= 192.168.0.8
[mysqld]
--------------
the sql nodes were started using the following commands
shell> /usr/local/mysql/bin/mysqld_safe --user=mysql --ndbcluster --ndb-connectstring=192.168.0.25&
shell> /usr/local/mysql/bin/ndbd --initial
shell> /usr/local/mysql/support-files/mysql.server start
my problem is that when i look at the management node and run a show in
/usr/local/mysql/bin/ndb_mgm
all i see is the entries in the datanodes.. none of the mysqld entries show
on looking at the log in each server this is what i find
100722 08:53:37 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100722 8:53:37 [Note] Plugin 'FEDERATED' is disabled.
100722 8:53:37 InnoDB: Started; log sequence number 0 44233
100722 8:53:37 [Note] NDB: NodeID is 7, management server '192.168.0.25:1186'
100722 8:53:38 [Note] NDB[0]: NodeID: 7, no storage nodes connected (timed out)
100722 8:53:38 [Note] Starting Cluster Binlog Thread
100722 8:53:38 [Note] Event Scheduler: Loaded 0 events
100722 8:53:53 [Warning] NDB : Tables not available after 15 seconds. Consider
100722 8:53:53 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
--------------------------------------------
i am on ubuntu using the tutorial presented here (my servers are dual processor with 4gb ram each)
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-multi-computer.html
the binary used is mysql-cluster-gpl-7.1.4b-linux-x86_64-glibc23.tar.gz
with obvious changes ie.. all my nodes are data+mysqld nodes
Any and all Help would be welcome
Thanks and Regards
Cirvesh