Note: The minimum supported HyperBDR version for upgrading is HyperBDR 4.4.0. Versions below HyperBDR 4.4.0 are not supported for upgrading to the latest version.

HyperBDR Server Upgrade

Obtain the upgrade package and extract it:

  • Step 1: Obtain the upgrade package URL.
  • Step2. Download the upgrade package to the HyperBDR operating system and extract it using the following command:
  1. tar zxvf upgrade_incremental_4.4.0_to_4.9.0.tar.gz -C /tmp/

Check the current installed version:

  1. cat /opt/installer/Version
  2. HyperBDR_release_v4.9.0_20230928-20230927-1437.tar.gz
  3. ## The installed version is HyperBDR_release_v4.9.0_20230928

If the HyperBDR version is earlier than 4.6.0, perform the following additional steps:

  1. [root@log images]# cd /tmp/upgrade/images
  2. [root@log images]# ls
  3. influxdb-1.7.6.tar.gz mariadb-10.3.36.tar.gz rabbitmq-3.8.16.tar.gz redis-7.0.2-alpine.tar.gz
  4. [root@log images]# docker load -i influxdb-1.7.6.tar.gz
  5. [root@log images]# docker load -i mariadb-10.3.36.tar.gz
  6. [root@log images]# docker load -i rabbitmq-3.8.16.tar.gz
  7. [root@log images]# docker load -i redis-7.0.2-alpine.tar.gz

Update the service:

  • Step1. Replace the update commands:
  1. cp /tmp/upgrade/scripts/common.sh /opt/installer/production/scripts/
  2. cp /tmp/upgrade/scripts/hmctl /opt/installer/production/scripts/
  • Step2. Execute the update command:
  1. /opt/installer/production/scripts/hmctl upgrade /tmp/upgrade/venvs

Update the configuration files

mv /opt/installer/production/config/newmuse/json/config.json.bak /opt/installer/production/config/newmuse/json/config.json mv /opt/installer/production/config/newmuse/json/s3.json.bak /opt/installer/production/config/newmuse/json/s3.json mv /opt/installer/production/config/newmuse/json/targetClouds.json.bak /opt/installer/production/config/newmuse/json/targetClouds.json mv /opt/installer/production/config/newmuse-motion/json/config.json.bak /opt/installer/production/config/newmuse-motion/json/config.json mv /opt/installer/production/config/newmuse-motion/json/s3.json.bak /opt/installer/production/config/newmuse-motion/json/s3.json mv /opt/installer/production/config/newmuse-motion/json/targetClouds.json.bak /opt/installer/production/config/newmuse-motion/json/targetClouds.json

Confirm the upgraded version

After the upgrade is completed, execute the following command to view the current HyperBDR version:

  1. [root@localhost installer]# cat /opt/installer/Version
  2. HyperBDR_release_v5.2.0_20230928-20230927-1437.tar.gz
  3. ## The installed version is HyperBDR_release_v5.2.0_20230928

Update Linux Agent, Windows Agent and Agentless SyncNode

Restrictions:

  • Note: Upgrade the HyperBDR Server end first.
  • Versions before V4.10.1 installation package cannot be directly updated using the update script.
  • Updating operations are prohibited during tasks such as syncing hosts or starting hosts.

Upgrade Steps

Agentless SyncNode

Step 1. Log in to the Agentless Syncnode server

  1. ssh root@<Agentless SyncNode IP>

Step 2. Get the latest update script

  1. curl -k -o /usr/local/hyper_exporter/upgrade_hamal.sh https://<HyperBDR-IP>:30080/softwares/upgrade_hamal.sh

Step 3. Grant execution permissions

  1. chmod +x /root/upgrade.hamal.sh

Step 4. Execute the update command

  1. cd /usr/local/hyper_exporter/
  2. bash /usr/local/hyper_exporter/upgrade_hamal.sh

Linux Agent

Step 1. Log in to the Linux Agent host

  1. ssh root@<Agent Host IP>

Step 2. Get the latest update script

  1. curl -k -o /var/lib/egisplus-agent/upgrade_agent.sh https://<HyperBDR-IP>:30080/softwares/upgrade_agent.sh

Step 4. Execute the update script

  1. bash /var/lib/egisplus-agent/upgrade_agent.sh

Windows Agent

Step 1. Log in to the source Windows Agent node server desktop

Step 2. Download the update files to the Windows Agent server.

  1. # X64
  2. https://<HyperBDR IP>:30080/softwares/windows-agent-new/upgrade_to_xxx_x64.zip
  3. # X86
  4. https://<HyperBDR IP>:30080/softwares/windows-agent-new/upgrade_to_xxx_x86.zip

Upgrade HyperBDR (Offline Upgrade) - 图1

Step 3. Extract the downloaded files

Upgrade HyperBDR (Offline Upgrade) - 图2

Step 4. Execute Upgrade.exe.

Upgrade HyperBDR (Offline Upgrade) - 图3

Upgrade HyperBDR (Offline Upgrade) - 图4

Source Object DR Gateway Upgrade

The Source Object DR Gateway needs to be re-uploaded image to the cloud platform.

Upgrade HyperBDR (Offline Upgrade) - 图5