12.5 Redeploying Elasticsearch Security Plug-In

You must redeploy; that is, uninstall and reinstall the Elasticsearch security plug-in in the Elasticsearch node included in Sentinel and external Elasticsearch nodes in the following scenarios:

  • Adding or modifying remote Collector Manager IP addresses.

  • Uninstalling remote Collector Managers.

  • Enabling Scalable Storage post-installation.

To redeploy Elasticsearch security plug-in:

  1. Log in to the Sentinel server or Elasticsearch node as the user which Elasticsearch is running as.

  2. Uninstall the plug-in using the following command:

    • For Elasticsearch included in Sentinel: <Sentinel_installation_path>/opt/novell/sentinel/3rdparty/elasticsearch/bin/elasticsearch-plugin remove file://localhost/<Sentinel_installation_path>/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin

    • For external Elasticsearch: <elasticsearch_install_directory> remove file://localhost/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin

  3. Reinstall the plug-in:

    • For Elasticsearch included in Sentinel: <Sentinel_installation_path>/opt/novell/sentinel/3rdparty/elasticsearch/bin/elasticsearch-plugin install file://localhost/<Sentinel_installation_path>/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin

    • For external Elasticsearch: <elasticsearch_install_directory>/bin/elasticsearch-plugin install file://localhost/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin

  4. Restart Elasticsearch using the following command:

    • For the Elasticsearch node included in Sentinel:

      rcsentinel stopSIdb
      rcsentinel startSIdb
    • For external Elasticsearch nodes:

      sudo systemctl restart elasticsearch.service