Installing and Configuring Auxiliary Services
Install and configure auxiliary services for Tamr Core.
The procedures for installing and configuring auxiliary services for Tamr Core rely on running the admin tool, unify-admin.sh
. For syntax, see the Command Reference.
Installing an Auxiliary Service
To install an auxiliary service:
- Unzip the auxiliary service ZIP file in a directory on the Tamr Core server, such as
~
. An example of a service name istransformify
. The name of the ZIP file includes the name of the service.
cd ~
unzip <service-name-and-version>.zip
- Run the
auxiliary:install
module of theunify-admin.sh
admin tool, as follows:
<tamr-home-directory>/tamr/utils/unify-admin.sh auxiliary:install --appName <service-name> --configDefinitions ~/definitions.yaml --jarFile ~/<service-name>.jar --runtimeConfig ~/<service-name>.yaml
For help with syntax, see the Command Reference.
3. Optional. Set any non-default configuration values. See Configuring an Auxiliary Service.
4. Restart Tamr Core. See Restarting.
5. Check the service's health.
- Navigate to
http://<hostname>/docs#!/
, scroll down toservice/health
and choose Try it out, or - Use the
curl
command:
curl -X GET --header 'Accept: application/json' 'http://<hostname>:<port>/api/service/health'
Configuring an Auxiliary Service
The auxiliary service ZIP file includes a YAML file named definitions.yaml
that defines the service configuration. Review this file to confirm configuration variable names and their default values.
To configure an auxiliary service:
- For any of the configuration variables defined in the service's
definitions.yaml
file, set its value using the admin tool. See Configuring Tamr. - Re-render the service's configuration by running the
auxiliary:install
module of theunify-admin.sh
admin tool, as follows:
<tamr-home-directory>/tamr/utils/unify-admin.sh auxiliary:install --appName <service-name> --configDefinitions ~/definitions.yaml --jarFile ~/<service-name>.jar --runtimeConfig ~/<service-name>.yaml
- Restart Tamr Core. See Restarting.
Disabling an Auxiliary Service
To disable an auxiliary service:
- Stop Tamr Core.
<tamr-home-directory>/tamr/stop-unify.sh
- Remove the auxiliary service start script.
rm <tamr-home-directory>/tamr/auxiliary-services/bin/start-<service-name>.sh
- Restart Tamr Core.
<tamr-home-directory>/tamr/start-unify.sh
Updated over 2 years ago