Install and Configure the Composer Service Monitor
The Composer Service Monitor microservice is not installed as part of a default Composer installation. The microservice name is zoomdata-admin-server
.
To install, configure, and start the Service Monitor:
Open your SSH client.
Use the following command to install the Composer Service Monitor in a CentOS environment:
sudo yum install zoomdata-admin-server -y
Use the following command to install the Composer Service Monitor in an Ubuntu environment:
sudo apt-get install zoomdata-admin-server
After the Service Monitor is installed, you must specify a user name and password in its properties file. The properties file is called
admin-server.properties
and can be found in the/etc/zoomdata/
directory. If the properties file is not there, create it. The properties that must be defined are:monitor.user.name=<username>
monitor.user.password=<password>
Edit the properties file with a text editor and substitute a Service Monitor user name for
<username>
and its associated password for<password>
. The user name and password can be any user name and password you want.When you have finished, save the file.
Add the following properties to the
zoomdata.properties
file, located in the/etc/zoomdata
directory. These properties ensure that the Service Monitor has access to the Composer server actuator endpoints.actuator.user.name=<Composer-admin-username>
actuator.user.password=<Composer-pswd>
actuator.logging.external-file=<log-file-path>
Edit the properties file and substitute the valid user name and password of a Composer administrator for
<Composer-admin-username>
and<Composer-pswd>
. If the default Composer log file path is not used for your installation, substitute your custom log file path for<log-file-path>
(the default log file path is/opt/zoomdata/logs/zoomdata.log
).Setting these properties exposes valid Composer credentials as plain text in both the properties file and as tags in the Composer Consul. Anyone in your network with the ability to communicate directly with the Consul API or view the Consul UI will be able to see these values.
When finished, save the file.
Start the microservice. For example, use the following command to start the Composer Service Monitor using
systemd
in a CentOS or Ubuntu environment:sudo systemctl start zoomdata-admin-server
See also Start Composer Microservices.
Comments
0 comments
Please sign in to leave a comment.