I have my management node and sql node on the same server, and 2 data nodes (3 machines in total). Do I need to run ./mysqld –ndb-cluster (or /etc/init.d/mysql-server start) on 1) the data nodes, or 2) on the sql node, or 3) on both?
I am following this which doesn't seem to specify.
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-install-first-start.html
Thanks.
Best Answer
There are three types of nodes
According to MySQL Clustering, page 7 paragraphs 3,4 say:
Based on this, you could run mysqld on a Storage Node if the dataset is small. You are not obligated to do so. It is preferable if you had a separate Storage Node and a separate SQL node. If you have separate Storage and SQL nodes, then do not run mysqld on the Storage Node.