I've been testing with version 5.1.22-0 and all kind of errors like one in this post
http://bugs.mysql.com/bug.php?id=28292 happened :_(
But, I managed to get it (5.1.22-0) working with this my.cnf on API nodes:
</etc/my.cnf> {app1,app2}
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysql_cluster]
ndb-connectstring=192.168.50.100:1186
[mysqld]
ndbcluster
ndb-connectstring=192.168.50.100:1186
port = 3306
socket = /var/lib/mysql/mysql.sock
(...)
------------------------------------------------------
So as you can see, it seems the way mysql server handles it's config files are confusing and inconsistent as well. Maybe is just a annoying bug or maybe I'm totally wrong and misundestanding the mysql correct config way..
Please help to solve this problem on 5.1.24-0 ^_^'
E.J.