在下列情況下,您必須重新部署,也就是在 Sentinel 中包含的 Elasticsearch 節點和外部 Elasticsearch 節點中解除安裝 Elasticsearch 安全性外掛程式,再加以重新安裝:
新增或修改遠端 Collector Manager IP 位址。
解除安裝遠端 Collector Manager。
啟用可擴充儲存後續安裝。
若要重新部署 Elasticsearch 安全性外掛程式:
以執行 Elasticsearch 的使用者身分,登入 Sentinel 伺服器或 Elasticsearch 節點。
使用下列指令解除安裝外掛程式:
對於 Sentinel 中包含的 Elasticsearch:<Sentinel_installation_path>/opt/novell/sentinel/3rdparty/elasticsearch/bin/elasticsearch-plugin remove file://localhost/<Sentinel_installation_path>/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin
對於外部 Elasticsearch:<elasticsearch_install_directory> remove file://localhost/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin
重新安裝外掛程式:
對於 Sentinel 中包含的 Elasticsearch:<Sentinel_installation_path>/opt/novell/sentinel/3rdparty/elasticsearch/bin/elasticsearch-plugin install file://localhost/<Sentinel_installation_path>/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin
對於外部 Elasticsearch:<elasticsearch_install_directory>/bin/elasticsearch-plugin install file://localhost/etc/opt/novell/sentinel/scalablestore/elasticsearchsecurity-plugin
使用下列指令重新啟動 Elasticsearch:
對於 Sentinel 中包含的 Elasticsearch 節點:
rcsentinel stopSIdb rcsentinel startSIdb
對於外部 Elasticsearch 節點:
sudo systemctl restart elasticsearch.service