Carbonio Mesh is a Carbonio CE Core Component that is built on HashiCorp’s Consul. This article is intended to give some of the most commonly used CLI commands for inspecting and resolving any issues that may emerge when using Consul.
It is possible to communicate with Consul on any node in a cluster, however keep in mind that the consul always runs on the current node. To operate on a different node, you must specifically provide it, as in this command, which shows all services running on node #ID 7ea9631e.
The initial procedure whenever you wish to utilise Consul is to get the bootstrap-token, which allows connection and interaction with the service.
Export the token, which looks like e5a4966f-a83e-689d-618d-08a0fe7e695b.
You may automate the export procedure by using the one-liner below.
Cluster Operations in Common
To view a cluster, use the following commands:
Operation of Common Services
These commands allow you to get and manage a list of services registered to a Consul cluster.