MySQL Forums
Forum List  »  NDB clusters

Direct Connection TCP Settings
Posted by: Stewart Burnett
Date: October 03, 2005 08:11AM

Hi,

I'm setting up a cluster using a direct connection between the storage node servers. I'm defining 2 storage nodes per server.

# Storage Engines
[NDBD]
Id=3
HostName=10.23.82.1
DataDir=/usr/local/mysql/cluster
ServerPort=2202

[NDBD]
Id=4
HostName=10.23.82.2
DataDir=/usr/local/mysql/cluster
ServerPort=2202

# Storage Engines
[NDBD]
Id=5
HostName=10.23.82.1
DataDir=/usr/local/mysql/cluster
ServerPort=2203

[NDBD]
Id=6
HostName=10.23.82.2
DataDir=/usr/local/mysql/cluster
ServerPort=2203

Do I need to define TCP settings between all combinations, or just between the groups e.g. Can I get away with

[TCP]
NodeId1=3
NodeId2=4
HostName1=1.1.0.1
HostName2=1.1.0.2

[TCP]
NodeId1=5
NodeId2=6
HostName1=1.1.0.1
HostName2=1.1.0.2

or do I need to add

[TCP]
NodeId1=3
NodeId2=6
HostName1=1.1.0.1
HostName2=1.1.0.2

[TCP]
NodeId1=5
NodeId2=4
HostName1=1.1.0.1
HostName2=1.1.0.2


Stewart

Options: ReplyQuote


Subject
Views
Written By
Posted
Direct Connection TCP Settings
2188
October 03, 2005 08:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.