Bug #57235 | bind-address option in ndb connectstring does not work | ||
---|---|---|---|
Submitted: | 5 Oct 2010 2:27 | Modified: | 13 May 2013 12:34 |
Reporter: | John David Duncan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 7.1.8 | OS: | Any |
Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
[5 Oct 2010 2:27]
John David Duncan
[19 Sep 2011 9:37]
Hartmut Holzgraefe
Still not working in 7.1.15a
[19 Oct 2011 6:53]
Hartmut Holzgraefe
The bind-address in the connect string only defines the outgoing interface for connections to the management node. The SHOW command does not show the point of view of the management node though, it shows the interface used to connect to the data nodes instead. And for these the default route seems to be used unless the interface address of both nodes are explicitly given in a [TCP] section in the config.ini file. netstat shows that for mysqld -> management node connections the specified bind-address is used just fine as requested, it's just SHOW that has a different view of the world ...
[13 May 2013 12:34]
Magnus Blåudd
Specifying bind-address in the --ndb-connectstring used when mysqld connects to the ndb_mgmd works fine according to latest comments. Please note that output in the SHOW command is describing the peer name used for mysqld's connection to the cluster(the transporter connections) and since mysqld is not connected directly to ndb_mgmd, it has to ask a connected ndbd which address mysqld used for connecting to the cluster. Furthermore those connections are not controlled by NDB_CONNECTSTRING but rather settings in config.ini