8. Updating procedure
8.1. Prerequisites
Important
8.2. Retained data
The following data and configurations are retained:
pairing with GCenter
The network configuration
The SSH key of the root account
The password of the root account
The log files
the pcap files in the /data/cache/pcaps directory
8.3. Installation procedure via the GCenter
On GCenter:
From the platform https://update.gatewatcher.com/upgrade/ (directory 2.5.5.0/gcap/), download:
The gwp file of the new version available
The associated sha256 gwp.sha256 file
Check the image (sha256sum command) and check the value obtained with the contents of the gwp.sha256 file
Log on to the GCenter WebUI via a web browser and go to the Administration-Updates / Software Update menu.
Upload the GCap package.
A progress bar is displayed.
If you encounter a problem, try another browser.
On GCap:
Open a terminal and log into SSH on GCap with the setup account.
Stop the monitoring-engine with the command monitoring-engine stop (GCAP-CLI) and wait for the files to be processed.
Important
If GCap is under load, please wait before performing upgrade.Check on the GCenter WebUI in Hunting > Network Metadata that there is no more data.If you have any questions about these items, please contact the Gatewatcher Technical Support.
Use the command system upgrade list (GCAP-CLI) to get the package list from the GCenter.
Use the command system upgrade apply '[image_name]' confirm (GCAP-CLI).
GCap restarts automatically
SSH session is down
After GCap has restarted, log in via SSH with the setup account to see if the update has been applied correctly.
Check the current version with the show status command (GCAP-CLI).
Start the monitoring-engine with the command monitoring-engine start (GCAP-CLI).
In case of problem, please contact Gatewatcher Technical Support.
8.4. Installation procedure directly from the GCap
Download the new version and the associated sha256 from the platform https://update.gatewatcher.com/upgrade/ (directory 2.5.5.0/gcap/).
Check the image (sha256sum command) and check the value obtained with the contents of the gwp.sha256 file.
Copy the image (.gwp) to the /data/ directory of the GCap using a privileged account.
Open a terminal and log into SSH on GCap with the setup account.
Stop the monitoring engine with the monitoring-engine stop command (GCAP-CLI).
Important
If GCap is under load, please wait before performing upgrade.Check on the GCenter WebUI in Hunting > Network Metadata that there is no more data.If you have any questions about these items, please contact the Gatewatcher Technical Support.Open a terminal and log in via SSH on the GCap with a privileged account.
Start the upgrade with the command gcap-upgrade/data/file_name (SHELL).
GCap restarts automatically
SSH session is down
After GCap has restarted, log in via SSH with the setup account to see if the update has been applied correctly.
Check the current version with the show status command (GCAP-CLI).
Start the monitoring engine with the monitoring-engine start command (GCAP-CLI).
In case of problem, please contact Gatewatcher Technical Support.