The provisioning commands make it possible for you to define and manage your applications from the command line.
Command |
Description |
---|---|
define-app [--app app_id] [--def def_file] |
Defines an application. Def_file takes an XML provisioning file, a sample of which, |
describe-app --app app_id [--canonical] |
Describes an application. Returns an XML file in the format used by the def_file setting of define-app. If --canonical is specified, all paths are canonicalized. |
remove-app [--force] --app app_id |
Removes the named application. The optional --force flag indicates whether or not this remove operation should force any running components or services to stop before attempting the remove. Remove fails if any components or services are still running (that is, not forced to stop). |
list-apps |
Lists all defined applications. |
The following example defines an application called my_wine. (In this and all examples that follow we assume that the host and port are set in the eaccmd.properties
file and so do not need to be included on the command line.)
eaccmd define-app --app my_wine --def sample_wine_definition.xml