g0t4 / consul-getting-started

This is a sample repo of examples for getting started with Consul. It even includes a multi datacenter example with 14 VMs to allow you to simulate failures in a multi DC environment!
81 stars 71 forks source link

dc1 Datacenter? #3

Open cvbarros opened 7 years ago

cvbarros commented 7 years ago

I've noticed that the upstart.conf has a variable to pass along for the consul process. However, using consul 0.7.0, the process spins up with dc = "consul", which means that no configuration is passing the string "dc1" (I've tried searching the repo, but couldn't find it)

Using Consul 0.7.1 on my "desktop" node, the process starts up as 'dc1'. I assume then that this minor change in behavior could confuse a few people. Wouldn't be better to explicitly set the datacenter 'dc1'?

PS: Great courses, keep up the good work!

g0t4 commented 7 years ago

I haven't run into this issue with 0.7.0.

Are you saying the hostname of the VM doesn't contain the hostname as set in the Vagrantfile?