Configuring server to server synchronization - lemon-mint/event-broker GitHub Wiki

System configuration

server 1

HostName: ws1.example.com

SYNC_ENDPOINT: ws://ws1.example.com/sync/syncpoint

ENVS

EVENTBROKER_SYNC=on
EVENTBROKER_SYNC_SERVER_0=ws://ws2.example.com/sync/syncpoint
EVENTBROKER_SYNC_SERVER_1=ws://ws3.example.com/sync/syncpoint

server 2

HostName: ws2.example.com

SYNC_ENDPOINT: ws://ws2.example.com/sync/syncpoint

ENVS

EVENTBROKER_SYNC=on
EVENTBROKER_SYNC_SERVER_0=ws://ws1.example.com/sync/syncpoint
EVENTBROKER_SYNC_SERVER_1=ws://ws3.example.com/sync/syncpoint

server 3

HostName: ws3.example.com

SYNC_ENDPOINT: ws://ws3.example.com/sync/syncpoint

ENVS

EVENTBROKER_SYNC=on
EVENTBROKER_SYNC_SERVER_0=ws://ws1.example.com/sync/syncpoint
EVENTBROKER_SYNC_SERVER_1=ws://ws2.example.com/sync/syncpoint