Difference between revisions of "Upgrading Datonis Edge Gateway"

From Datonis
Jump to: navigation, search
(Created page with "TBD")
 
(Edge up-gradation for docker installation.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
TBD
+
[[Datonis Edge Gateway|Edge Gateway Home]] > '''Upgrading Datonis Edge Gateway'''
 +
 
 +
== Manual Upgrade ==
 +
# Open old Gateway Web Console - http://localhost:8080/edge
 +
# Download latest Settings Snapshot via navigating '''Settings -> Snapshots -> Download''' to have a clear text back up of all settings.
 +
# Uninstall old Gateway build using '''bin/uninstall_edge_service.bat''' on Windows and '''bin/uninstall_edge_service.sh''' on Linux.
 +
# Take '''backup''' of '''data folder''' of old gateway to restore in case upgrade fails.
 +
# Extract new gateway build to a '''different folder''' other than old gateway installation folder.
 +
# Copy old Gateway '''data folder''' at the bin folder level i.e. as child folder of '''datonis-edge-x.x.x folder'''.
 +
# Install new Gateway build using '''bin/install_edge_service.bat''' on Windows and '''bin/install_edge_service.sh''' on Linux.
 +
# Launch new Gateway Web Console - http://localhost:8080/edge
 +
# Update SSL Configuration '''KeyStore Path''' to point to '''new Gateway installation folder''' via navigating '''Settings -> SSL Configuration -> Keystore path,''' change its value and click '''Apply.'''
 +
# At this stage new Gateway must have been successfully upgraded, if you face any issue contact Altizon Support.
 +
 
 +
== Auto Upgrade ==
 +
# Extract new gateway build to a '''different folder''' other than old gateway installation folder.
 +
# Copy the full path of the '''old Gateway installation - datonis-edge-x.x.x folder.'''
 +
# Run the Upgrade Script using '''bin/upgrade_edge_service.bat''' on Windows and '''bin/upgrade_edge_service.sh''' on Linux.
 +
# Paste the '''path of the old Gateway installation''' when prompted on the command line interface and press Enter.
 +
# At this stage new Gateway must have been successfully upgraded.
 +
# Launch new Gateway Web Console - http://localhost:8080/edge, if you face any issue contact Altizon Support.
 +
 
 +
== Docker Installation Upgrade ==
 +
The below steps illustrate the migration of datonis-edge-6.0.1100 to datonis-edge-6.0.1102:
 +
* Stop the old container
 +
{| class="wikitable"
 +
|sudo docker stop datonis-edge-6.0.1100
 +
|}
 +
* Install new Datonis edge container
 +
{| class="wikitable"
 +
|docker run --name datonis-edge-6.0.1102 --mount type=volume,source=edge-vol,target=/opt/datonis-edge-data --publish 8080:8080 --publish 8443:8443 --detach --restart unless-stopped altizon/linux-edge:6.0.1102
 +
|}
 +
 
 +
__FORCETOC__

Latest revision as of 19:26, 17 March 2022

Edge Gateway Home > Upgrading Datonis Edge Gateway

Manual Upgrade

  1. Open old Gateway Web Console - http://localhost:8080/edge
  2. Download latest Settings Snapshot via navigating Settings -> Snapshots -> Download to have a clear text back up of all settings.
  3. Uninstall old Gateway build using bin/uninstall_edge_service.bat on Windows and bin/uninstall_edge_service.sh on Linux.
  4. Take backup of data folder of old gateway to restore in case upgrade fails.
  5. Extract new gateway build to a different folder other than old gateway installation folder.
  6. Copy old Gateway data folder at the bin folder level i.e. as child folder of datonis-edge-x.x.x folder.
  7. Install new Gateway build using bin/install_edge_service.bat on Windows and bin/install_edge_service.sh on Linux.
  8. Launch new Gateway Web Console - http://localhost:8080/edge
  9. Update SSL Configuration KeyStore Path to point to new Gateway installation folder via navigating Settings -> SSL Configuration -> Keystore path, change its value and click Apply.
  10. At this stage new Gateway must have been successfully upgraded, if you face any issue contact Altizon Support.

Auto Upgrade

  1. Extract new gateway build to a different folder other than old gateway installation folder.
  2. Copy the full path of the old Gateway installation - datonis-edge-x.x.x folder.
  3. Run the Upgrade Script using bin/upgrade_edge_service.bat on Windows and bin/upgrade_edge_service.sh on Linux.
  4. Paste the path of the old Gateway installation when prompted on the command line interface and press Enter.
  5. At this stage new Gateway must have been successfully upgraded.
  6. Launch new Gateway Web Console - http://localhost:8080/edge, if you face any issue contact Altizon Support.

Docker Installation Upgrade

The below steps illustrate the migration of datonis-edge-6.0.1100 to datonis-edge-6.0.1102:

  • Stop the old container
sudo docker stop datonis-edge-6.0.1100
  • Install new Datonis edge container
docker run --name datonis-edge-6.0.1102 --mount type=volume,source=edge-vol,target=/opt/datonis-edge-data --publish 8080:8080 --publish 8443:8443 --detach --restart unless-stopped altizon/linux-edge:6.0.1102