X-Pack configuration

  Written by The Jahia Team
 
Sysadmins
   Estimated reading time:

The following steps are required in order to create a connection between Digital Experience Manager and an Elasticsearch cluster using X-Pack.

Downloads

The following libraries are required in order to use the X-Pack plugin:

Plugin installation on Elasticsearch cluster

Please ensure that X-Pack is already enabled on your Elasticsearch cluster.

Stop your Elasticsearch cluster.

Then, run the following command on every Elasticsearch cluster node, using absolute paths.

/elasticsearch_installtion_path/bin/elasticsearch-plugin install file:///path/to/file/x-pack-5.6.3.zip 

Allow additional permissions:

ES_config_xpack_1.png

Allow fork of native controller:

ES_config_xpack_2.png

Installation should be successful:

ES_config_xpack_3.png

You can now restart your Elasticsearch cluster.

DX X-Pack Maven Dependencies deployements

Copy the previously downloaded files into <DX-installation-folder>/digital-factory-data/karaf/deploy, respect the order and wait for each jar files to finish its deployment:

  1. ‚Äčjavax.mail-1.5.3.jar
  2. bcprov-jdk15on-1.55.jar
  3. bcpkix-jdk15on-1.55.jar
  4. unboundid-ldapsdk-3.2.0.jar
  5. x-pack-api-5.6.3.jar
  6. x-pack-transport-5.6.3.jar

You can now create an Elasticsearch X-Pack security enabled connection using Elasticsearch connector