Standard-Middleware-Update¶
Standard-Middleware-Update means updating runtime compontens like JEE-Server, ELK-Stack (Elastic,Kibana,Logstash), ... The standard-middleware-update only has to be done if it is mentioned explicit for a major-release (i.e. V15 and V24) and in general it is not necessary updating the middleware-components for a minor or patch-release.
1. Stop and uninstall all insight-services¶
Elastic¶
elasticsearch\bin\elasticsearch-service.bat remove
Kibana¶
kibana\bin\service.bat uninstall
insight-logstash¶
logstash\bin\insight-logstash-service.bat uninstall
insight-status¶
monitoring\insight-status-service.bat uninstall
Wildfly¶
wildfly\bin\service\service.bat uninstall
mariadb¶
stop service
2. create new folder for new middleware¶
- Rename existing
insight
folder toinsight-old
- Create new folder
insight
- download new middleware-components from links mentioned here
- rename subfolders like subfolders in
insight-middleware-config-<version>.zip
- Unzip
insight-middleware-config-<version>.zip
to folderinsight
3. Adjustments:¶
Elasticsearch¶
- Edit
insight\elasticsearch\config\jvm.options
and adjust values of-Xms
and-Xmx
to the values ofinsight-old\elaticsearch\config\jvm.options
Logstash¶
- Copy
insight\logstash\config\insight-logging-ES7-example.conf
toinsight\logstash\config\insight-logging.conf
- Edit
insight-logging.conf
and adjust filepaths to logfiles i.e. wildfly etc (see old insight-logging.conf)
Kibana¶
- Copy
kibana\config\kibana-ES7.yml
tokibana.yml
- Copy
kibana\bin\service-ES7.bat
toservice.bat
Monitoring¶
- Edit
insight\monitoring\insight-status.bat
and adjust JAVA: Use absoute path to JAVA
Wildfly¶
- Copy folder
wildfly\docs\contrib\scripts\service
towildfly\bin
- Copy
insight-old\wildfly\standalone\configuration\insight.properties
toinsight\wildfly\standalone\configuration\insight.properties
- Copy all subfolders if exist from
insight-old\wildfly\standalone\configuration\insight
toinsight\wildfly\standalone\configuration\insight
- check
insight-old\wildfly\bin\standalone.conf.bat
and copy additional entries toinsigh\wildfly\bin\standalone.conf.bat
i.e.EAM_URL
- extract
insight-middleware-config-<version>.zip
- copy from extracted folder
wildfly\standalone\configuration\standalone_<current-version>.xml
towildfly\standalone\configuration\standalone.xml
- Edit
insight\wildfly\standalone\configuration\standalone.xml
and copy all relevant entries from oldstandalone.xml
to the new one:- Delete all lines between
datasources
and/datasources
ininsight\wildfly\standalone\configuration\standalone.xml
and copy all lines betweendatasources
and/datasources
frominsight-old\wildfly\standalone\configuration\standalone.xml
toinsight\wildfly\standalone\configuration\standalone.xml
- Check and copy database driver:
- if you use MSSQL-Server: please copy
wildfly\modules\system\layers\base\com\microsoft\main
frominsight-old
toinsight
- if you use MariaDB/MySQL: please copy
wildfly\modules\system\layers\base\com\mysql\driver\main
from insight-old
toinsight
- if you use MSSQL-Server: please copy
- Copy
system-properties
sections if exists - Copy additional logging-properties if exists (i.e. INSIGHTGATEWAY, SAP, etc)
- Copy
security-domain
entries if exists to nodesubsystem xmlns="urn:jboss:domain:security:2.0"
- Check properties for SSL, see also SSL for JEE-Container
- Delete all lines between
4. install and start all insight-services¶
5. RebuildAll Indices¶
- http://localhost:8080/insight-indexer-new
6. Import Monitoring-Dashbards¶
- see also [Monitoring](../../4_monitoring/overview/overview.md)