Configuring the Management Server¶
If you have installed PLOSSYS 5 with a separate management server or in a cluster, perform the following configuration steps on the management server.
Configuring Elasticsearch¶
-
In a PowerShell, open the firewall for Elasticsearch:
New-NetFirewallRule -DisplayName "Elasticsearch" -Direction Inbound -LocalPort 9200 -Protocol TCP -Action Allow -
On the management server, edit the following file:
C:\ProgramData\Elastic\Elasticsearch\config\elasticsearch.yml -
Add the following lines:
network.host: 0.0.0.0 discovery.type: single-node -
Save the file.
-
On the management server, edit the following file:
C:\ProgramData\Elastic\Elasticsearch\config\jvm.options -
Set
Max_Heap_Sizeto at least 50 % of the server's RAM.–Xmx<ram_mb>m –Xms<ram_mb>mExample - 2048 MB
–Xmx2048m –Xms2048mCaution - value
<ram_mb>is the amount of RAM in Megabyte. You have to set–Xmx<ram_mb>mand–Xms<ram_mb>mto the same value, otherwise Elasticserach will not start. -
Save the file.
-
In a PowerShell, configure the restart of the
Elasticsearchservice in case of failure:sc.exe failure Elasticsearch reset= 0 actions= restart/60000 -
In a PowerShell, restart Elasticsearch:
restart-service elasticsearch
Configuring Kibana¶
-
On the management server, edit the following file:
C:\ProgramData\SEAL Systems\config\kibana.yml -
Uncomment the following line:
server.host: "0.0.0.0" -
Save the file.
-
In a PowerShell, restart Kibana:
restart-service seal-kibana