Update to nJAMS Server 6.0, while upgrading to Elasticsearch 8#
Follow these steps, when you plan to update to nJAMS Server 6.0, while additionally upgrading to Elasticsearch 8, respectively AWS OpenSearch 2.
Caution
Before starting, make sure that your current Elasticsearch 7 cluster is ready to be updated to version 8, i.e., that all indexes are version 7 indexes.
These instructions explain the procedure for Elasticsearch 8, but apply just as well to AWS OpenSearch 2:
Update nJAMS Server from 5.x to 6.0 using nJAMS installer while being on Elasticsearch 7
Stop Indexer and stop Data Provider(s) of your updated nJAMS Server 6.0 instance
Upgrade Elasticsearch cluster 7.x to version 8.7
Deploy nJAMS Server 6.0 ES 8 package.
Optional - Re-index Elasticsearch Indexes from format v7 to v8
Upgrade procedure step by step:
- (A) Update nJAMS Server 5.x to 6.0:
Start nJAMS installer and use update option
Once nJAMS Server is updated and up again, login with your nJAMS administrator account
- (B) Stop Indexer and Data Provider(s):
Login to nJAMS GUI as nJAMS Administrator
Go to
Administration > System Control > Message Processing
and stop all Data ProvidersGo to
Administration > Connections > Indexer
and stop Indexer
- (C) Upgrade Elasticsearch Cluster to version 8.7:
Refer to Elasticsearch documentation to learn about upgrading Elasticsearch
Perform upgrading your cluster to Elasticsearch 8.7
- (D) Deploy nJAMS Server 6.0 ES 8 package:
Login to nJAMS GUI and go to
Administration > System Control > Deployment
UPLOAD file nJAMS Server 6.0 update package of Elasticsearch 8
njams_server_es8_6.0.x.war
.Click on RESTART to deploy the update package and restart nJAMS Server
Make sure Indexer and Data Provider(s) are started
Your nJAMS Server 6.0 instance is now running with upgraded Elasticsearch cluster.
- (E) Optional - Re-index existing indexes:
This step is optional. You can re-index the indexes from Elasticsearch format v7 into v8. If you just want to search for process executions, filtered by time or domain object, you can skip this step. If you want to be able to search for event data of the past like payload, stacktrace, activity duration, etc., you have to re-index all existing indexes.
Please refer to chapter How to re-index existing indexes for more informaton.