command:high-level

installApp

installApp --zpk= --baseUri= [--userParams=] [--userAppName=] [--createVhost=] [--defaultServer=] [--ignoreFailures=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--wait] [--safe]

Install or update an application

  • --zpk
    The zpk package file
  • --baseUri
    The baseUri of where the application will be installed
  • --userParams
    User parameters that have to formated as a query string
  • --userAppName
    Name of the application
  • --createVhost
    Create a virtual host based on the base URL (if the virtual host wasn't already created by Zend Server). The default value is FALSE.
  • --defaultServer
    Deploy the application on the default server. The provided base URL will be ignored and replaced with '<default-server>'. If this parameter and createVhost are both used, createVhost will be ignored. The default value is FALSE.
  • --ignoreFailures
    Ignore failures during staging if only some servers report failures. If all servers report failures the operation will fail in any case. The default value is FALSE, meaning any failure will return an error.
  • --target
    The unique name of the target
  • --zsurl
    The Zend Server URL. If not specified then it will be http://localhost:10081
  • --zskey
    The name of the API key
  • --zssecret
    The hash of the API key
  • --zsversion
    The major Zend Server version. Ex: 6.1, 6.0 or 5.6
  • --http
    Allows you to set http connection parameters
  • --wait
    If this option is present then the client will wait until the operation finishes successfully on all servers.By default this option is not present which means that the client will return results and exit as soon as the server has reported that it started to handle the task.
  • --safe
    Deploys the application only when there is not current deployment running for this application

installLib

installLib --zpk= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=]

Install a library. If the library is already installed then it does not do anything.

  • --zpk
    The zpk package file
  • --target
    The unique name of the target
  • --zsurl
    The Zend Server URL. If not specified then it will be http://localhost:10081
  • --zskey
    The name of the API key
  • --zssecret
    The hash of the API key
  • --http
    Allows you to set http connection parameters

installPlugin

installPlugin --pluginPackage= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--wait]

Install or update a plugin

  • --pluginPackage
    The package file
  • --http
    Allows you to set http connection parameters
  • --wait
    If this option is present then the client will wait until the operation finishes successfully on all servers. By default, this option is not present, which means that the client will return results and exit as soon as the server has reported that it started to handle the task.