IBM Support

DataPower CLI scripting issues with asynchronous commands

Troubleshooting


Problem

The DataPower device CLI commands contain a mix of immediate synchronous commands and asynchronous commands which spawn a job and return the command line. This can cause configurations to be saved before commands have completed. As an example, a script to configure a system would run the "import-execute" command which would begin a job when the command is issued then return the shell for further use. If a "write mem" command is then immediately issued by the script followed by a restart, the current configuration would be saved without waiting on the previous job to complete. This can result in an incomplete service, and the object would be down after restarting the system.

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0;3.8","Edition":"Edition Independent","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
19 March 2020

UID

swg21299214