It’s not very well documented at the moment (and we haven’t released any binaries yet so you’ll have to build from source - dev branch). However, if you build from source, you’ll want to start multiple nodes like this:
start-cluster.bat:
start EventStore.ClusterNode.exe --mem-db --int-ip 172.16.7.146 --ext-ip 172.16.7.146 --int-tcp-port=1111 --ext-tcp-port=1112 --int-http-port=1113 --ext-http-port=1114 --cluster-size 3 --commit-count 2 --prepare-count 2 --gossip-seed 172.16.7.146:2113
–gossip-seed 172.16.7.146:3113 --use-dns-discovery-
start EventStore.ClusterNode.exe --mem-db --int-ip 172.16.7.146 --ext-ip 172.16.7.146 --int-tcp-port=2111 --ext-tcp-port=2112 --int-http-port=2113 --ext-http-port=2114 --cluster-size 3 --commit-count 2 --prepare-count 2 --gossip-seed 172.16.7.146:1113
–gossip-seed 172.16.7.146:3113 --use-dns-discovery-
start EventStore.ClusterNode.exe --mem-db --int-ip 172.16.7.146 --ext-ip 172.16.7.146 --int-tcp-port=3111 --ext-tcp-port=3112 --int-http-port=3113 --ext-http-port=3114 --cluster-size 3 --commit-count 2 --prepare-count 2 --gossip-seed 172.16.7.146:1113
–gossip-seed 172.16.7.146:2113 --use-dns-discovery-
This will start three in-memory nodes running on the same machine (172.16.7.146) but running on ports starting with 1xxx, 2xxx or 3xxx respectively. Gossip seeds for each node will need to point to every other node. There are tools which make this kind
of config significantly easier which come with the commercial support etc.
This is the same stuff as is running the HA showcase at
http://ha.geteventstore.com (though that’s down right now as the web server running it has decided it wants activating and I don’t have the Windows key for it to hand right now… doh!)
Cheers,
James