Upgrade Steps on Linux for Root to Root user

Steps to perform before the upgrade

  1. Back up your Zephyr data, nodedata, and the database.

  2. Save all the contents of the following pages (license details, the start and end dates, indexing statistics, the current JVM size and so on). You will need them for post-upgrade verification:

  • https://<your instance>.yourzephyr.com/flex/assets/html/version.html

  • https://<your instance>.yourzephyr.com/flex/version

 

 

  1. Copy somewhere the following files:

  • {Zephyr directory}\zephyr\tomcat\conf\server.xml

  • {Zephyr directory}\zephyr\tomcat\conf\web.xml

  • {Zephyr directory}\zephyr\tomcat\webapps\flex\WEB-INF\classes\jdbc.properties

  • {Zephyr directory}\zephyr\tomcat\conf\<SSL certificate>

  1. Back up the zephyrdata folder located in the common shared storage. If it is not there, back up the {Zephyr directory}\zephyrdata folder on each Zephyr node.

  2. Back up the nodedata folder located in the common shared storage. If it is not there, back up the {Zephyr directory}\nodedata folder on each Zephyr node.

  3. If you are not using the latest supported version of Elasticsearch 8.6.2, install it.

  4. Do the echo of the $ZEPHYR_HOME environment variable. If nothing is returned, set the ZEPHYR_HOME environment variable:

export ZEPHYR_HOME='Path of the Zephyr Dir'

Please take care of it if you have two or more nodes while upgrading the cluster environment:

The process of installing, updating, and executing the node occurs in a single step, starting from copying the update files.

Do not run the Upgrader simultaneously on all nodes, as it may lead to issues with database consistency.

First, execute the Upgrader on a single node until it completes, and then proceed with upgrading the rest of the nodes.

The upgrade procedure

1. Stop the Zephyr service on all Zephyr cluster nodes:

cd <ZephyrDir>/tomcat/bin sudo ./shutdown.sh

2. Upgrade Zephyr on the first node using the installer:

./zephyr_(Build Number)_linux_setup.sh Starting Installer ... This will install Zephyr x.x on your computer. OK [o, Enter], Cancel [c]

3. When prompted to choose between a new installation and upgrading, choose Upgrade:

Wait until you get the next prompt.

4. Choose No for now.

5. After you install Zephyr, make sure it is up and running. When Zephyr starts, you will see the following line in the zephyrlocation/tomcat/logs/thedinc.log log file:

6. Stop the Zephyr service:

7. Copy the SSL certificate files with those you saved at step 3 to the following folder if Zephyr is configured to use SSL:

{Zephyr directory}\zephyr\tomcat\conf\<SSL certificate>

Now go to another Zephyr cluster node and repeat all the upgrade steps described above.

8. After you upgrade Zephyr Enterprise on all the nodes, you need to modify the following file on each node:

<Zephyr Directory>/tomcat/webapps/flex/WEB-INF/classes/hazelcast.properties

 In this file, find the following lines and change the values as shown below:

  • zephyr.hz.cluster.enabled=false - set it to true.

  • zephyr.hz.cluster.name=zephyr-hazelcast-cluster - specify a unique name for each cluster, for example, zephyr-hazelcast-cluster_smartbear.

  • zephyr.hz.interfaces.enabled=false - set to true.

  • zephyr.hz.interface=127.0.0.1 - This is the IP of the IP interface. Replace it with an IP address that has asterisks instead of the last two components. For example: zephyr.hz.interface= 192.168.*.*

  • zephyr.hz.tcp-ip.enabled=false - set it to true.

  • zephyr.hz.members=127.0.0.1 - specify the IP addresses and port number of each node separated by a comma. For example: zephyr.hz.members=192.168.0.1:5701,192.168.0.2:5701

9. After modifying the hazelcast.properties file, start Zephyr on all the nodes by using the following commands:

When Zephyr starts, you will see the following line in the zephyrlocation/tomcat/logs/thedinc.log log file:

Steps to perform after the upgrade

  • Check whether Zephyr and Elasticsearch are up and running.

  • Check the logs for any errors and make sure that all the patches have been applied successfully.

  • Log in as an Administrator and trigger the Full Reindexing manually.

  • Check the re-indexing status:
    https://<your instance>.yourzephyr.com/flex/assets/html/version.html

See Also

Set Up Zephyr Data Center Cluster