Purpose of "computer" section in MySQL Cluster 7.2?

Posted by dpk on Server Fault See other posts from Server Fault or by dpk
Published on 2012-09-22T01:01:28Z Indexed on 2012/09/22 3:39 UTC
Read the original article Hit count: 506

Filed under:
|

According to the cluster documentation, you can either define data nodes with:

[ndbd]
NodeId=n
HostName=1.2.3.4

or

[ndbd]
NodeId=n
ExecuteOnComputer=m

[computer]
Id=m
HostName=1.2.3.4

I don't see a substantial difference between the two. The documentation has this to say:

The [computer] section has no real significance other than serving as a way to avoid the need of defining host names for each node in the system.

I'm stumped. If I have to define a hostname, what benefit is there to defining it in [computer] instead of [ndbd]?

© Server Fault or respective owner

Related posts about mysql-cluster

Related posts about mysql5.5