Upgrade
Airlock Gateway is updated using digitally signed update files that are available on the Airlock Gateway download page on Techzone.
To manage updates, two interfaces are available:
- Update Menu — for manual (interactive) updates
airlock-updatetool — for unattended (non-interactive) updates
Applying a manual update via Update Menu
The Update Menu is a submenu of the Airlock Gateway admin menu:
Update Menu
===========
1) Apply update "airlock_update_x.y.zip"
a) Display list of all installed updates
u) Uninstall hotfix
c) Clear list of uploaded updates
b) Back to Main Menu
q) Quit
Your choice?
| Selects an update file and starts the update process. |
| Displays a detailed list of applied updates:
|
| Can be used to select and uninstall hotfixes. |
| Empties the list of uploaded updates and delete all update files in the |
| Brings you back to the Airlock Gateway admin menu |
| Closes the session to the Gateway. |
- In the Configuration Center, go to:
System Setup >> Updates - In the Updates section, upload the update file to the Gateway using the Upload button.
Alternatively, use SCP from a workstation to upload the update file to the Airlock Gateway, targeting the
/var/tmp/update_in/directory:- Terminal box
scp airlock_update_x.y.zip root@airlock.my.dom:/var/tmp/update_in/
- Log in as the dedicated
menuuser to access the Airlock Gateway admin menu. - The admin menu is displayed.
- Select the
2) Updatesoption and confirm. - The update menu presents a list of all uploaded update files on the system.
- Select the update file and confirm.
- The Gateway verifies the signature and applies the update if the update file is valid.
- Follow the update instructions to finish the process.
Applying an unattended update via update tool
The airlock-update tool is a CLI application for basic update-related tasks. It can be used for scripted automatization and update tasks — i.e., to roll-out updates for multiple Airlock Gateway installations.
root@gateway:~ # airlock-update
Description:
Install Airlock Gateway update/hotfix without interaction
Usage: airlock-update [OPTION]
Options:
-i, --install <filename> install update/hotfix
-u, --uninstall <version> uninstall hotfix
-l, --list list all installed updates/hotfixes
--list-uninstallable list uninstallable hotfix
-h, --help print help
Examples:
scp airlock_update_8.x.zip root@airlock:/var/tmp/update_in/
ssh root@airlock airlock-update --install airlock_update_8.x.zip
ssh root@airlock airlock-update --uninstall 8.x-HF00xx- Use the
scpcommand to upload the update file asrootuser into the/var/tmp/update_in/folder: - Terminal box
scp airlock_update_x.y.zip root@airlock.my.dom:/var/tmp/update_in/
- Log in via SSH as
rootand run the/opt/airlock/base/bin/airlock-update --installcommand to start the update process. - Terminal box
ssh root@airlock.my.dom /opt/airlock/base/bin/airlock-update --install airlock_update_x.y.zip
- The Gateway verifies the signature and applies the update if the update file is valid.