Simple dev environment to stand up a two-datacenter federated consul cluster.
Roughly speaking:
- Checkout
https://github.com/hashicorp/consul
, switch to thewan-mgw
branch and runmake dev-docker
. - In the
mgw
project runmake up-pri
to bring up the primary datacenter - Check progress with
docker-compose logs -f dc1-server1
when it stabilizes... - Run
make up
to bring up the rest. - Check progress with
docker-compose logs -f dc1-server1
anddocker-compose logs -f dc2-server1
. - Check what each datacenter thinks is the WAN with
./consul.sh dc1 members -wan
and./consul.sh dc2 members -wan
.