Configure the Management Server¶
Perform the following configuration steps on the management server if you have installed PLOSSYS 5 with separate management server or in a cluster.
Configure Elasticsearch¶
-
Open the firewall for Elastic Stack. For this, change to the
SEAL Elastic Stack - 7.16.1.85 - rpm/serverdirectory and start the script for opening the firewall ports:cd "SEAL Elastic Stack - 7.16.1.85 - rpm/server"sudo sh firewall.sh -
Edit the following file on the management server:
/etc/elasticsearch/elasticsearch.yml -
Add the following lines:
network.host: 0.0.0.0 discovery.type: single-node -
Save the file.
-
Edit the following file on the management server:
/etc/elasticsearch/jvm.options -
Search for the following lines and update the parameters in order to set the
Max_Heap_Sizewhere<ram_mb>is to be at least 50 % of the server's RAM:–Xmx<ram_mb>m –Xms<ram_mb>mHint - same value
With
–Xmx<ram_mb>mand–Xms<ram_mb>m, the same value has to be used for<ram_mb>. Otherwise, Elasticserach will not start!Example - 2048 MB
–Xmx2048m –Xms2048m -
Save the file.
-
Execute the following command. It opens an editor with an empty file.
sudo systemctl edit elasticsearch.service -
Add the following lines to the file:
[Service] Restart=always RestartSec=60 -
Save the file.
-
Restart the service for Elasticsearch:
sudo systemctl restart elasticsearch
Configure Kibana¶
-
In the
/opt/seal/etc/kibana.ymlfile, activate the following setting:server.host: 0.0.0.0 -
Restart the following service for Kibana:
sudo systemctl restart seal-kibana
Next Step¶
Continue with: Configure the PLOSSYS 5 Server