Firewall in MySQL cluster server
Beware MySQL Cluster is not using only 1186!
If you have a firewall you must consider that when it starts (default settings) every node is seeking the other in a random “hight port” , port is allocated dynamically in such a way as to ensure that no two nodes on the same host computer receive the same port number, so if you start the cluster without firewall and then you enable it is going to be ok but... if you are going to restart the cluster from ndb_mgm or stop and start it you are going to have an error like:
Management server closed connection early. It is probably being shut down (or has problems). We will retry the connection.
I did not test if you are going to have other problems but the right thing here is to setup your config.ini under [ndbd default] ServerPort=37650 or some port, or in my opinion to setup your firewall to open the high ports (above 1024) I hope this helped, dimitrios.
Last edited by dloghis; 10-06-2012 at 05:05 AM.
|