If you are installing Composer in a Windows environment, you can install the Service Monitor as part of running the initial bootstrap script. See Install Composer in a Windows Environment and Windows Bootstrap Reference.
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.propertiesand can be found in the
/etc/zoomdata/directory (Linux) or the
<install-path>/conf-modify/directory (Windows). If the properties file is not there, create it. The properties that must be defined are:
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.propertiesfile, located in the
/etc/zoomdatadirectory (Linux) or the
<install-path>/conf-modify/(Windows). These properties ensure that the Service Monitor has access to the Composer server actuator endpoints.
Edit the properties file and substitute the valid user name and password of a Composer administrator for
<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.logfor Linux and
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
systemdin a CentOS or Ubuntu environment:
sudo systemctl start zoomdata-admin-server
See also Start Composer Microservices.