Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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]?

share|improve this question
add comment

1 Answer

Its more a matter of convenience and clarity I would say. For example if you are referring the same HostName in multiple places in the config file, its better to define it under [computer] section and use the corresponding Id in [ndbd] sections. Also, if in case you have to change the HostName in the future, you would just have to change it under the [computer] section.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.