Bug #17848 32bit ndb_mgmd node can't connect to 64bit ndbd nodes
Submitted: 2 Mar 2006 6:56 Modified: 22 May 2006 9:58
Reporter: Simon Cope Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.18 OS:Linux (Suse10 32bit & 64bit)
Assigned to: CPU Architecture:Any

[2 Mar 2006 6:56] Simon Cope
Description:

5.0.18 unstalled from linux RPMs

Running 32bit binary ndb_mgmd on node 1, 32bit suse10 (2xP3 box)
Running 64bit binary ndbd on nodes 2/3, 64bit suse10 (P4 630 boxes)

ndb_mgmd can't connect to other nodes.  Network works fine (ping etc).

Install 64bit ndb_mgmd on node2, connects fine.

How to repeat:

See above config.

Suggested fix:

32bit mgmd should be able to work with 64bit ndbd?  Or at least give a proper error somewhere.
[2 Mar 2006 15:23] Valeriy Kravchuk
Thank you for a problem report. Sorry, but it looks like a documanted limitation. Please, read the manual (http://dev.mysql.com/doc/refman/5.0/en/mysql-cluster-limitations.html):

"All machines used in the cluster must have the same architecture. That is, all machines hosting nodes must be either big-endian or little-endian, and you cannot use a mixture of both. For example, you cannot have a management node running on a PowerPC which directs a data node that is running on an x86 machine. This restriction does not apply to machines simply running mysql  or other clients that may be accessing the cluster's SQL nodes."

This may apply to your case also.
[3 Mar 2006 1:49] Simon Cope
Please add this to the doco.
[4 Mar 2006 3:13] Jon Stephens
If 32-bit should work with 64-bit (per Jonas' comment), then this is a server bug, not a Docs bug, and needs to be fixed. (At which time I'll document the fix.)

Otherwise, please confirm that these are *not* expected to work together, and I'll update the Cluster Limitations documentation.

Thanks!
[13 May 2006 23:51] Hartmut Holzgraefe
This definetly works with x86_64 datanodes and x86 management and mysql nodes.

I can't check this on 32/64 IBM Power setups though due to lack of test systems though.