Configure and Start the Configuration Microservice
This applies to: Visual Data Discovery
Install, configure, and start the Symphony configuration microservice
Verify that you have set up a PostgreSQL metastore or a GitHub repository to store the property metadata. See Set Up the Configuration Microservice Metadata Store or Repository.
Open the SSH client associated with your Symphony instance.
-
Configure all installed and enabled Symphony microservices to use the Symphony configuration microservice. Run the following script:
for i in $(systemctl list-unit-files | grep zoomdata | grep enabled | awk '{print $1}'|sed -e 's/\.service/.properties/g' -e 's/zoomdata\-//g');
do
echo "config-server.enabled=true">>/etc/zoomdata/$i;
done -
Each Symphony microservice supports two configuration properties related to the configuration microservice:
config-server.enabled: Enables or disables integration with the configuration microservice. Valid values aretrue(enable integration) andfalse(disable integration). The default istrue.config-client.retry.max-attempts: Sets the maximum number of attempts that should be made to connect to the configuration microservice. The default is 20. The Symphony microservice will fail if the number of attempts to connect to the configuration microservice exceeds this value. This property is useful in situations where the configuration microservice starts with a delay. If your Symphony microservice fails while waiting for the configuration microservice and you want to give it more time, increase this value.
Update these properties, as appropriate, for each microservice.
-
Install, enable and start the Symphony configuration microservice. Enter the following commands:
sudo yum install zoomdata-config-server \
&& systemctl enable zoomdata-config-server \
&& systemctl start zoomdata-config-serverNote: After starting the configuration microservice with a valid database configuration, the microservice should connect to the database and create a properties table. -
Restart all the other Symphony microservices. Enter the following command:
sudo systemctl restart $(systemctl list-unit-files | grep zoomdata | grep enabled | awk '{print $1}')See also Restart Microservices.
Comments
0 comments
Please sign in to leave a comment.