O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works…

Once the command has executed successfully the Consul agent starts running in server mode, giving us the following output:

We can also list the members of the Consul cluster by executing the following command:

$ consul members

This will give us the following result:

Because Consul can be run either in server or client mode with at least one server, to keep the setup at a bare minimum we have started our agent in server mode, though it is not recommended because there are chances of data loss in a failure scenario. 

Moreover, browsing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required