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_Size
to at least 50 % of the server's RAM.–Xmx<ram_mb>m –Xms<ram_mb>m
Example - 2048 MB
–Xmx2048m –Xms2048m
Caution - value
<ram_mb>
is the amount of RAM in Megabyte. You have to set–Xmx<ram_mb>m
and–Xms<ram_mb>m
to the same value, otherwise Elasticserach will not start. -
Save the file.
-
In a PowerShell, configure the restart of the
Elasticsearch
service 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