8. Updating procedure
8.1. Prerequisites
8.2. Retained data
The following data is retained:
the GCenter pairing,
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/pcaps/ directory.
8.3. Installation procedure via the GCenter
On GCenter:
Download from the platform https://update.gatewatcher.com/upgrade/ (directory 2.5.3.109/gcap/):
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 Admin > Gum > Software Update menu.
In the Upload a software update section, click Browse and select the . gwp (previously uploaded image) to make it available on GCenter.
Validate by clicking the Choose button.
Validate the upload by clicking the Submit button.
A progress bar is displayed.
If you encounter a problem when making the image available, try another browser.
On GCap:
Open a terminal and log into SSH on GCap with the setup account.
Launch the graphical configuration utility with the gui command.
Stop the monitoring-engine with the command monitoring-engine stop (GCAP-CLI) and check that there are no more eve-logs and files to transmit to the GCenter.
Go to the system/upgrade menu.
Validate the update by selecting 'Yes, upgrade this GCap'.
GCap must restart automatically.
Once the GCap has restarted, log into SSH with the setup account to see if the update has been correctly applied.
Restart 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 newly available version and the associated sha256 on the https://update.gatewatcher.com/upgrade/ platform (directory 2.5.3.109/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 /tmp/ directory of the GCap using a privileged account.
Stop the monitoring engine with the monitoring-engine stop command (GCAP-CLI).
Start the upgrade with the command gcap-upgrade /tmp/file_name (SHELL).
Restart the GCap with the system restart command (GCAP-CLI): be careful, the SSH connection will be interrupted.
Log in to SSH with the setup account to verify that the update was successfully applied.
Restart the monitoring engine with the monitoring-engine start command (GCAP-CLI).
If you have any problems, please contact Gatewatcher technical support.