Automated Gateway Patching

Document ID : KB000011882
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Can patching of the API Gateway be automated?

Answer:

Typically, the management of patches on the Gateway is done via the Gateway configuration menu. This Gateway configuration menu is merely a visual aid and wrapper around various Java applications and Linux commands. For example: The patching system can actually be invoked by a script:

 

/opt/SecureSpan/Controller/bin/patch.sh

 

This script has two primary switches: "upload" and "install." These are each followed by their own option that specifies the patch to be uploaded or installed. Example commands would be as follows:

 

./patch.sh upload /path/to/Layer7_vX.Y.Z.L7P

./patch.sh install Layer7_vX.Y.Z

 

More information on how to use that patching script is documented in the Layer 7 Installation and Maintenance Manual (Software). The software version better documents the user of the script since the software installations do not have a Gateway configuration menu.