Search code examples
apachegeode

How to run 2 Locators on 2 seperate servers


Server 1, running below code:

start locator --name=locator1 --bind-address=xxx.xx.xx.111 --port=10334 --properties-file=..\config\gemfire.properties

Server 2,

connect --locator=locator1[10334]

then,

start locator --name=locator2 --bind-address=xxx.xx.xx.222 --port=10335 --properties-file=..\config\gemfire.properties

when listing members using:

list members

I do see both locators, but the 2nd locator seem to be stuck in the starting stage in an infinite loop. Logs were not very helpful. Am I starting the locators correctly?


Solution

  • The solution to this issue was PORTS... Completely disabling firewall allowed for the 2nd locator to start successfully.

    Next step is to open correct ports.

    More specifically, it's the ports on the 2nd Locator, as they are talking to each other