Zoomdata Version

Migrating Properties to the Configuration Server

If you have the configuration microservice configured and running in a high availability environment, you can maintain properties for microservices of a given type in a single location in the Service Monitor. For example, if you have two query engine microservices running in your high availability environment, you can change the properties for both microservices in a single location, ensuring that the query engine microservices operate in the same manner across the product nodes.

A utility is provided that can be used to migrate the microservice properties from your standalone Zoomdata server to the Zoomdata configuration data in the high availability PostgreSQL data store, where the configuration microservice can maintain them. The utility is located in the zoomdata tarball at …/scripts/zoomdata/config-server-upload.jar.

Run this utility using the following syntax:

java -jar config-server-upload.jar <service> <properties-file> <config-server-url>

where <service> is the microservice name, <properties-file> is the fully qualified file name of the properties file you want to migrate, and <config-server-url> is the URL of the PostgreSQL data store in whichconfiguration data is stored.

The following example migrates the properties from /etc/zoomdata/zoomdata.properties for the Zoomdata microservice to the configuration data in the high availability PostgreSQL data store at the URL http://localhost:8888/api/environment:

java -jar config-server-upload.jar Zoomdata /etc/zoomdata/zoomdata.properties http://locahost:8888/api/environment
In high availability environments, you will need to run this utility for every type of microservice in the environment to ensure that you can maintain the properties for all microservices in the Service Monitor.

Was this topic helpful?