Hello, I’m using a amazon cluster with two nodes. The ip from the nodes are:
Node1 → Public IP 54.76.254.95 Local IP: 172.31.12.161 Node2 → Public IP 54.254.141 Local IP: 172.31.12.160
The config files are:
Node1 config
heartbeat {
mode mesh
address 54.76.254.95
port 3002
mesh-port 3002
mesh-address 54.76.254.141
interval 250
timeout 50
}
Node 2 config
heartbeat {
mode mesh
address 54.76.254.141
port 3002
mesh-port 3002
mesh-address 54.76.254.95 #172.31.12.161 #54.76.242.110
interval 250
timeout 50
}
I change the host file to use public IP in address parameter
Node 1 host file: 54.76.254.95 localhost Node 2 host file: 54.76.254.141 localhost
When I run the example with -h 54.76.254.95 ServerInfo I see in the log: 2014-06-26 13:17:23 CEST WARN Add node 172.31.12.160:3000 failed: Error Code 11: Failed to connect to host aliases: [172.31.12.160:3000] and I only see the information for the first node.
Somebody can help me.
Thanks.