This CLI command displays updates an application deployed on a server/cluster.
This table specifies the various arguments used in the command:
Abbreviated | Full | Description | Required/Optional |
-i |
--id |
Application ID to update |
Required |
-p |
--pkgfile |
Full path to the packaged application (.zpk). |
Required |
-u |
--userParams |
Set values for user parameters defined in the package - space delimited (i.e.: "a=1 b=2"). |
Optional |
-g |
--ignoreFailures |
Ignore failures during staging if only some servers reported failures (default is NOT to ignore errors) |
Optional |
This table lists arguments common to all zs-manage commands:
Abbreviated | Full | Description | Required/Optional |
-N |
--key-name |
WebAPI key name. |
Required |
-K |
--secret-key |
WebAPI secret key. |
Required |
-U |
--server-url |
Zend Server URL. Default: http://localhost:10081/ZendServer. |
Required - when action is performed on a remote server. |
-h |
--help |
Show usage information and exit. |
Optional |
Tip:
Use app-get-status to retrieve the ID of the application you wish to remove.
|
|
|
To use app-update:
/usr/local/zend/bin/zs-manage app-update --help
/usr/local/zend/bin/zs-manage app-update -i <application ID> -p <path to .zpk> [optional parameters- see table above] -N <existing key name> -K <existing key secret> The application is updated. APPINFO 2 http://<default-server>:80/sanity mtrig http://localhost/sanity /usr/local/zend/var/apps/http/__default__/0/sanity/1.0.0 staging SERVERAPPINFO 0 1.0.0 staging |
|
|