Updating SEAL Elastic Stack to a Minor Version¶
If you wish to update to a minor version, i.e. within a major version, follow the description below.
Instructions¶
-
Stop any Filebeat that sends data to your management server:
On any affected system, execute the corresponding command:
-
PLOSSYS Output Engine
sudo systemctl stop seal-filebeat -
PLOSSYS 4
sudo systemctl stop seal-p4-accounting-filebeat -
SEAL Operator
sudo systemctl stop seal-operator-filebeat -
DPF
sudo systemctl stop seal-dpf-filebeat
-
-
In a browser, log on to the SEAL Systems delivery platform with your logon data:
https://delivery.sealsystems.de
Hint - logon data
You receive the logon data from your Technical Project Manager at SEAL Systems.
-
Download the SEAL Elastic Stack - 8.19.24.551 - rpm folder. It is saved as
SEAL Elastic Stack - 8.19.24.551 - rpm.zip. -
Extract
SEAL Elastic Stack - 8.19.24.551 - rpm.zip:unzip "SEAL Elastic Stack - 8.19.24.551 - rpm.zip" -
In a shell, change to the
SEAL Elastic Stack - 8.19.24.551 - rpm/serverdirectory and start installing the packages:cd "SEAL Elastic Stack - 8.19.24.551 - rpm/server"sudo sh install.sh -
Open the required firewall ports:
sudo sh firewall.sh -
Check the configuration files:
The installation script checks for the presence of
*.rpmnewand*.rmpsavefiles.-
*.rpmnewfiles contain the latest default configurations of the updated software. -
*.rmpsavefiles are configuration files that are kept after the old software is uninstalled. You can use them to restore the configuration of the previous version after you have installed the new package.
Caution - breaking change in the configuration
If you update from a SEAL Elastic Stack version 7.x, you have to transfer the new settings from the
.rpmnewfile manually.You cannot use the old
.ymlfile, because of a breaking change in the Filebeat configuration between versions 7 and 8. -
-
Change to the configuration directory of
seal-elasticsearch:cd /opt/seal/etc/config/seal-elasticsearch -
In an editor, compare the
elasticsearch.ymlconfiguration file to the oldelasticsearch.yml.install-bakconfiguration file.Add your customer-specific changes, e.g.
network.host,path.repoorxpack.security.enabled.For details on the general configuration, see Configuring Elasticsearch.
-
Change to the common configuration directory:
cd /opt/seal/etc/config -
In an editor, compare the
kibana.ymlconfiguration file to the oldkibana.yml.install-bakconfiguration file.Add your customer-specific changes, e.g.
server.host,elasticsearch.usernameorelasticsearch.password. -
Set
path.datato the correct value, if necessary.path.data: "${ProgramData}/SEAL Systems/data/seal-kibana"Hint -
path.datasetting movedIn preparation for future versions,
path.datais set in thekibana.ymlfile instead of the service configuration.For details on the general configuration, see Configuring Kibana.
-
Start Elasticsearch:
sudo systemctl start seal-elasticsearch -
Start Kibana:
sudo systemctl start seal-kibanaHint - long duration
If you start Kibana for the first time after the update, this may take very long. Do not stop the starting process, just wait until it is finished.
Hint - Kibana not starting
If Kibana does not start after having been updated, see Deprecated Configuration or Insufficient Hard Disk Space for a possible solution.
-
Update the necessary database configuration as described in Configuration via Script.
-
In Kibana, check whether the dashboards have been overwritten correctly. Delete old dashboards, if they are still existing.
-
Start any Filebeat that sends data to your management server:
On any affected system, execute the corresponding command:
-
PLOSSYS Output Engine
sudo systemctl start seal-filebeat -
PLOSSYS 4
sudo systemctl start seal-p4-accounting-filebeat -
SEAL Operator
sudo systemctl start seal-operator-filebeat -
DPF
sudo systemctl start seal-dpf-filebeat
-