KB Article #180423

How to upgrade an Appliance Offline

Problem

Some customers are required to upgrade the Appliance packages but do not have access to the internet to directly update from the Axway Appliance repository.

Resolution

This requires a virtual appliance that has access to the internet. This appliance needs to be on the same platform version and the packages need to be the same or older than the appliance that needs to be upgraded.


You may follow the below steps to download the packages & bundle them in the appliance that has internet access, and create a local repository in the appliance that does not have access to the internet. This local repository can be used to upgrade the system offline.


  • Run the command “zypper update --download-only” on Appliance system which is connected to the internet. The packages will be saved in “/var/cache/zypp/packages” by default and they can be archived and moved to the Appliance, that is to be upgraded (which does not have internet access).
  • Setting up a local repository

When the files are moved to the server it is time for a local repository to be created.

1. Login to the server console, untar the update package bundle and run the YAST tool with “yast” command

2. Navigate to "Software Repositories"

3. With the Tab key navigate to the list and using the arrow keys mark every single existing repository and press Enter to disable it

4. With the Tab key navigate to "Add" and press Enter

5. Select “Local Directory”. Using the Tab key go to Next

7. Type in path to the location where you have placed the downloaded packages

8. Use Tab to navigate to "OK" and press Enter

9. Repeat steps 4-8 for all three packages (AP-LATEST-UPDATES, SLES-HAE-LATEST-UPDATES, SLES-LATEST-UPDATES)

10. Use Tab key to navigate to Quit

  • Run the commands “zypper refresh” and then “zypper update”
  • Run the command "rpm -qa --last" to verify that the upgraded packages have been installed