Edit a Composer Configuration File
You can edit the properties for your Composer configuration in the configuration files. For a complete list of configuration files, see Configuration Property Files.
insightsoftware discourages changing properties in the /opt/zoomdata/conf
directory (Linux) or <install-path>/conf
(Windows). Copy the files you want to change to the /etc/zoomdata
directory (Linux) or <install-path>/conf-modify
(Windows) and change them there. This will ensure that your changes are not overwritten when Composer is next upgraded.
Quickly determine what changes you've made to a properties file using diff
in Linux. For example:
diff /opt/zoomdata/conf/edc-<connector-name>.properties /etc/zoomdata/<edc-<connector-name>.properties
or
diff /opt/zoomdata/conf/zoomdata.properties /etc/zoomdata/zoomdata.properties
For Windows environments, use your preferred diff utility to compare the differences between your original and updated property files.
To edit a Composer configuration file in Linux:
From your terminal, SSH to your Composer server.
Stop the appropriate Composer microservice (Composer, Screenshot, or the specific connector server).
For the appropriate Linux command, see Stop Composer Microservices.
Use the following command to access and open the configuration file:
vi /etc/zoomdata/<config-file-name>
For example:
vi /etc/zoomdata/zoomdata.properties
Names of valid configuration files are listed in Configuration Property Files.
If the configuration file does not exist, this command creates it.
If you are not logged in as a root user, then you need to enter
sudo vi /etc/zoomdata/zoomdata.properties
to create the desired file.Make sure the file is readable by the
zoomdata
microservice account.Add the new variable or property into the file on a new line or edit an existing one, as needed. See:
Save and exit the configuration file.
Restart Composer microservices.
For the appropriate Linux command line, see Restart Composer Microservices.
To edit a Composer configuration file in Windows:
Open the configuration file using a text editor that can edit Windows property files.
Names of valid configuration files are listed in Configuration Property Files.
Stop the appropriate Composer microservice (Composer, Screenshot, or the specific connector server).
For the appropriate Windows commands, see Windows Bootstrap Reference.
Add the new variable or property into the file on a new line or edit an existing one, as needed. See:
Save and exit the configuration file.
Restart Composer microservices.
For the appropriate Windows commands, see Windows Bootstrap Reference.
Wait a few minutes for the microservice to restart completely, then open a new browser window to log back into Composer. Confirm that your changes have taken effect.
Comments
0 comments
Please sign in to leave a comment.