Skip to content

Updating SEAL Elastic Stack


Overview

The update consists of a server and a client part which you have to update separately.

  1. Server:

    The server part includes Elasticsearch and Kibana. You have to update it on the management server.

  2. Client:

    The client part contains Filebeat. You have to update it on the


Manual Steps Before Updating from 7.16.2 and Previous Versions to SEAL Elasticstack 7.17.0

Elasticsearch is set up as a separate service like Kibana and Filebeat.

  • Therefore the directory structure of Elasticsearch changes.

  • The content of the current database is transferred automatically during the update.

  • The name of the corresponding service changes from elasticsearch to seal-elasticsearch.

We strongly recommend you to

This allows a quick overview whether the update succeeded.


Management Server

  1. 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.

  2. Download the SEAL Elastic Stack - 7.17.0.215 - rpm folder. It is saved as SEAL Elastic Stack - 7.17.0.215 - rpm.zip.

  3. Extract SEAL Elastic Stack - 7.17.0.215 - rpm.zip:

    unzip "SEAL Elastic Stack - 7.17.0.215 - rpm.zip"
    
  4. Change to the SEAL Elastic Stack - 7.17.0.215 - rpm/server directory and start installing the packages:

    cd "SEAL Elastic Stack - 7.17.0.215 - rpm/server"
    
    sudo sh install.sh
    
  5. Open the required firewall ports for necessary services:

    sudo sh firewall.sh
    
  6. Check the configuration files:

    The installation script also checks for the presence of *.rpmnew and *.rmpsave files.

    • *.rpmnew files contain the latest default configurations of the updated software.

    • *.rmpsave files 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.

    You have to transfer the configuration settings from these files manually.

  7. Change to the configuration directory of seal-elasticsearch:

    cd /opt/seal/etc/config/seal-elasticsearch
    
  8. In an editor, compare the new elasticsearch.yml configuration file to the old elasticsearch.yml.install-bak configuration file.

    Add your customer-specific changes, e. g. path.repo or xpack.security.enabled.

    For details on the general configuration, see Configuring Elasticsearch.

  9. Change to the common configuration directory:

    cd /opt/seal/etc/config
    
  10. In an editor, compare the new kibana.yml configuration file to the old kibana.yml.install-bak configuration file.

    Add your customer-specific changes, e. g. elasticsearch.username or elasticsearch.password.

    For details on the general configuration, see Configuring Kibana.

  11. Start Elasticsearch:

    sudo systemctl start seal-elasticsearch
    
  12. Start Kibana:

    sudo systemctl start seal-kibana
    
  13. Update the necessary database configuration as described in Configuration via Script.


PLOSSYS 5 Server

Caution - SEAL Elastic Stack incompatible to seal-elk

SEAL Elastic Stack contains the new version of Elasticsearch and Kibana and replaces seal-elk. Before installing SEAL Elastic Stack, you have to uninstall seal-elk:

  • RHEL:

    sudo yum --assumeyes remove seal-elk
    
  • SLES:

    sudo zypper --non-interactive remove seal-elk
    
  1. 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.

  2. Download the SEAL Elastic Stack - 7.17.0.215 - rpm folder. It is saved as SEAL Elastic Stack - 7.17.0.215 - rpm.zip.

  3. Extract SEAL Elastic Stack - 7.17.0.215 - rpm.zip:

    unzip "SEAL Elastic Stack - 7.17.0.215 - rpm.zip"
    
  4. Change to the SEAL Elastic Stack - 7.17.0.215 - rpm/client directory and install the packages:

    cd "SEAL Elastic Stack - 7.17.0.215 - rpm/client"
    
    sudo sh install.sh
    
  5. Change to the configuration directory:

    cd /opt/seal/etc
    
  6. Check the configuration files:

    The installation script also checks for the presence of *.rpmnew and *.rmpsave files.

    • *.rpmnew files contain the latest default configurations of the updated software.

    • *.rmpsave files 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.

    You have to transfer the configuration settings from these files manually.

  7. In an editor, compare the latest filebeat.yml.rpmnew default configuration file to the current filebeat.yml configuration file.

  8. Start SEAL Filebeat:

    sudo systemctl start seal-filebeat
    

PLOSSYS 4 Server

  1. 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.

  2. Download the SEAL Elastic Stack - 7.17.0.215 - rpm folder. It is saved as SEAL Elastic Stack - 7.17.0.215 - rpm.zip.

  3. Extract SEAL Elastic Stack - 7.17.0.215 - rpm.zip:

    unzip "SEAL Elastic Stack - 7.17.0.215 - rpm.zip"
    
  4. Change to the SEAL Elastic Stack - 7.17.0.215 - rpm/client-p4 directory and start installing the packages:

    cd "SEAL Elastic Stack - 7.17.0.215 - rpm/client-p4"
    
    sudo sh install.sh
    
  5. Change to the configuration directory:

    cd /opt/seal/etc
    
  6. Check the configuration files:

    The installation script also checks for the presence of *.rpmnew and *.rmpsave files.

    • *.rpmnew files contain the latest default configurations of the updated software.

    • *.rmpsave files 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.

    You have to transfer the configuration settings from these files manually.

  7. In an editor, compare the latest filebeat-p4-accounting.yml.rpmnew default configuration file to the current filebeat-p4-accounting.yml configuration file.

  8. Start SEAL Filebeat:

    sudo systemctl start seal-p4-accounting-filebeat
    

Manual Steps After Updating from 7.16.2 and Previous Versions to SEAL Elasticstack 7.17.0

  1. Use your screenshots to check, whether the database content has been transferred successfully.

    • If so, delete the old database directory. You have to delete it manually, as it not deleted by uninstalling the old elasticsearch service:

      sudo rm -rf /var/lib/elasticsearch/nodes
      
    • If not, you have to

    Then check again, whether the database is ok.

  2. Several configuration files are transferred automatically and saved in the new directory structure and named *.imported.

    Check the configuration parameters mentioned in this documentation for correctness. The old and new configuration files differ especially under Windows.

    For details on the configuration, see Configuring Elasticsearch.


Back to top