- Installing a connector as a bootstrap plugin
- Installing a connector using the Fusion UI
- Installing a connector using the Blob Store API
Note
|
The steps for installing a connector have changed in newer releases; see Install A Connector - 5.2 and Above or Install A Connector - Fusion 5.1. |
In Fusion 4.x, connectors are installed by uploading them to the blob store. You can use any of these methods to install a connector:
-
By installing connectors as "bootstrap plugins", that is, by putting them in the
bootstrap-plugins
directory during initial installation or an upgrade -
By using the Fusion UI after installation or an upgrade
-
By using the Blob Store API after installation or an upgrade.
Note
|
During upgrades, the migrator handles some aspects of installing connectors. Depending on the target version and the presence or absence of an Internet connection, there might be manual steps. Installing connectors during upgrades is explained where needed in the upgrade procedures. |
After you install a connector, you can Configure A New Datasource.
Tip
|
You can view and download all current and previous V2 connector releases at plugins.lucidworks.com. |
Installing a connector as a bootstrap plugin
Fusion can install connectors as "bootstrap plugins." All this means is that you put the connector zip
files in a specific directory named bootstrap-plugins
, and Fusion installs the connectors the first time it starts during initial installation or an upgrade.
-
Download the connector zip file.
Don’t expand the archive; Fusion consumes it as-is. Also, don’t start Fusion until instructed to do so by the installation or upgrade instructions.
-
Under the version-numbered Fusion directory, place the connector in the directory
apps/connectors/bootstrap-plugins/
(on Unix) or\apps\connectors\bootstrap-plugins\
(on Windows). -
Start Fusion when instructed to do so in the installation or upgrade procedure.
Installing a connector using the Fusion UI
-
Download the connector zip file.
Do not expand the archive; Fusion consumes it as-is.
-
In the Fusion workspace, navigate to System > Blobs.
-
Click Add.
-
Select Connector Plugin.
The "New Connector Plugin Upload" panel appears.
-
Click Choose File and select the downloaded zip file from your file system.
-
Click Upload.
The new connector’s blob manifest appears.
From this screen you can also delete or replace the connector.
Installing a connector using the Blob Store API
-
Download the connector zip file.
Do not expand the archive; Fusion consumes it as-is.
-
Upload the connector zip file to Fusion’s blob store.
Specify an arbitrary blob ID, and a
resourceType
value ofplugin:connector
, as in this example:curl -H 'content-type:application/zip' -X PUT 'localhost:8764/api/blobs/myplugin?resourceType=plugin:connector' --data-binary @myplugin.zip
Fusion automatically publishes the event to the cluster, and the listeners perform the connector installation process on each node.
TipIf the blob ID is identical to an existing one, the old connector will be uninstalled and the new connector will installed in its place. To get the list of existing blob IDs, run: curl -u user:pass localhost:8764/api/blobs
-
Look in
VAR-FUSIONPATH/apps/connectors/plugins/
to verify that the new connector is installed.