To start/stop the Consul service, the following commands are used: service iwtm-consul start
service iwtm-consul stop
Manual start of You can manually start the Consul agent can be done the following way,in this case, if the System has more than one network interface, the parameter bind should be specified: consul agent -data- dir =path <path> -bind=bind<bind_addr addr> -bootstrap -server -uiIn addition, the path to configuration file can be specified using the option -config-file (or -config-dir). When downloading few configuration files, their option are to be combined
where <path> - a path to the directory with service data (for example,: /opt/iw/tm5/var/consul),<bind> - the address of a network interface.
If the System has more than one network interface, specify either of the following: -config-file or -config-dir - a path to the configuration file (for example, /opt/iw/tm5/etc/consul).
If several configuration files are loaded, their options are merged. |