KB Article #177488

How to upgrade the API Gateway on a SuSE Appliance from the command line

Problem

The SuSE Appliance API Gateway repository doesn't contain a new version for upgrade.

# zypper repos -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+-------------------------+-------------------------+---------+---------+----------+--------+--------------------------------------------------------------------+--------
1 | AP-LATEST-UPDATES | AP-LATEST-UPDATES | Yes | Yes | 99 | rpm-md | http://appliance-repo.axway.com/products/ap/latest... |
2 | APIGATEWAY | APIGATEWAY | Yes | Yes | 99 | rpm-md | http://appliance-repo.axway.com/products/apigatewa... |
3 | SLES-HAE-LATEST-UPDATES | SLES-HAE-LATEST-UPDATES | Yes | Yes | 99 | rpm-md | http://appliance-repo.axway.com/os/sles11-hae-sp3/... |
4 | SLES-LATEST-UPDATES | SLES-LATEST-UPDATES | Yes | Yes | 99 | rpm-md | http://appliance-repo.axway.com/os/sles11-sp3/upda... |


zypper pa -r APIGATEWAY
Loading repository data...
Reading installed packages...
No packages found.

Resolution

The upgrade rpm package can be taken from the Oracle Linux repository.

For the API Gateway the rpm is identical for Oracle and SuSE Linux.

If the API Gateway data needs to be migrated then the sysupgrade steps will need to be followed. Please see the API Gateway Installation Guide before proceeding with this package upgrade.

Example 7.4.0 to 7.4.1 AxwayAPIGateway-appliance package upgrade

# wget http://kingsofsoa.vordel.com/vordel/AxwayAPIGatewa...
--2015-10-16 13:06:54-- http://kingsofsoa.vordel.com/vordel/AxwayAPIGatewa...
Resolving kingsofsoa.vordel.com... 173.255.234.82
Connecting to kingsofsoa.vordel.com|173.255.234.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 422621896 (403M) [application/x-redhat-package-manager]
Saving to: `AxwayAPIGateway-appliance-7.4.1-1.x86_64.rpm'
100%[===================================================================================>] 422,621,896 789K/s in 3m 33s
2015-10-16 13:10:27 (1.89 MB/s) - `AxwayAPIGateway-appliance-7.4.1-1.x86_64.rpm' saved [422621896/422621896]
# zypper in ./AxwayAPIGateway-appliance-7.4.1-1.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...


The following package is going to be upgraded:
AxwayAPIGateway-appliance


The following package is not supported by its vendor:
AxwayAPIGateway-appliance


1 package to upgrade.
Overall download size: 403.0 MiB. After the operation, 27.3 MiB will be freed.
Continue? [y/n/? shows all options] (y):y
Retrieving package AxwayAPIGateway-appliance-7.4.1-1.x86_64 (1/1), 403.0 MiB (760.2 MiB unpacked)
Retrieving package AxwayAPIGateway-appliance-7.4.1-1.x86_64 (1/1), 403.0 MiB (760.2 MiB unpacked)
Installing: AxwayAPIGateway-appliance-7.4.1-1