Previous Topic: migrate (Application Control and Management)--Migrate ApplicationNext Topic: get_desc (Application Control and Management)--Display Application Package Descriptor


provision (Application Control and Management)--Provision Application

Provision, configure, and start an application. Application configuration parameters may be specified for the new application and sizes for application user and singleton class volumes.

Syntax
app provision <template-app> <target-app> [<option>]* [<prop>=<val>]* [<vol>.[parN].size=<val>]* 
Parameters
<template-app>

Name of existing application to use as a template.

<target-app>

name of the application that is to be created - the application must not currently exist.

<prop>=<val>

Config parameter pairs as used for the 'app config command.

<vol>.size=<val>

Specify new size for application user or singleton class volumes. Units may be specified (for example, 128M[B], 2G[B]). If units are not provided, it is assumed that the size is in MB. The value can be absolute (that is, 20G) or relative (that is, +10G).

--skipstart

Skip starting of new application

--fscpy

Force copying of volumes using filesystem-level copy. If not specified, volumes are copied using filesystem-level copy only if they are being resized.

--prefill

Allocate ALL blocks for copied volumes. This option is only valid if --fscpy is specified; otherwise it is ignored.

Examples
app provision crm crm2 user_ip=64.4.47.21 out_ip=64.4.47.22
app provision myapp myapp-new data.size=128M mysql.data.size=256M
app provision myapp myapp-new data.size=128M mysql.boot.par1.size=256M mysql.boot.par2.root.size=1G

Notes: