Installing from Package Manager
You can use the Package Manager within Data Collector to install external libraries for all stage libraries.
Important: For an RPM installation, you must configure Data Collector
to use an external
directory before you can install external libraries from Package Manager.
- In Data Collector, in the top right toolbar, click the Package Manager icon:
-
In the navigation panel, click External Libraries:
Data Collector lists any currently installed external libraries.
- Immediately under the top right toolbar, click the Install External Libraries icon:
-
In the Install External Libraries dialog box, select the
stage library that needs to access the external library.
For example, if you are installing a JDBC driver for the JDBC Multitable Consumer origin, select the JDBC stage library. If you are installing an external Java library for the Groovy Evaluator processor, select the Groovy stage library.
- Browse to select the external library to install and click Open.
-
To install the external library to the specified stage
library, click Upload.
Data Collector installs the external library and displays a message offering to restart Data Collector.
-
To install additional external libraries, click Cancel,
then repeat steps 3 - 6 for every stage library that needs access to the external
library.
For example, say you want to use an external library with an origin, but you use two versions of the origin - each from a different stage library. To make the external library available to both origin versions, you must upload the external library to both stage libraries.
-
After installing all of the external libraries that you want, restart Data Collector in one of the following ways:
- If you started Data Collector manually from the command line, click Restart Data Collector in the Install External Libraries dialog box.
- If you started Data Collector as a service, you must use the command line for restart. Click
Cancel in the Install External
Libraries dialog box, and then run the required command for
your operating system:
- For CentOS 6, Oracle Linux 6, Red Hat Enterprise Linux 6, or Ubuntu
14.04 LTS, use:
service sdc restart
- For CentOS 7, Oracle Linux 7, Red Hat Enterprise Linux 7, or Ubuntu
16.04 LTS, use:
systemctl restart sdc
- For CentOS 6, Oracle Linux 6, Red Hat Enterprise Linux 6, or Ubuntu
14.04 LTS, use: