Previous Topic: continue (Application Control and Management)--Continue Starting of a ComponentNext Topic: ssh (Application Control and Management)--Access the Shell in a Component's Virtual Machine (over ssh)


restart (Application Control and Management)--Restart a Component

Restart a component

Syntax
component restart name (prop=val)* [ --debug ] [ --kill ] [ --force] 
Parameters
name

Name of component to restart. Name should be of the form application name:component name

prop=val

Parameters for scheduling of component. The following parameters may be specified:

cpu - (optional) CPU allocation (val[%])

mem - (optional) Memory allocation (val[M[B]|G[B]]). If units are not specified, memory is in MB.

bw - (optional) Bandwidth allocation (val[M[b]|G[b]]). If units are not specified, bandwidth is in Mbps.

--debug

Start component in debug mode.

--kill

Force the stopping of the component (that is, abort) prior to restart. This option is supported in CA 3Tera AppLogic 2.8.x+.

--force

Skip user verification. Prior to CA 3Tera AppLogic 2.8.x this option has the same functionality as the --kill option.

Examples
component restart sugarcrm:main.config

Restart component 'main.config' in 'application sugarcrm'

Note: This command will fail if the application is not running. This command combines component stop and start commands.