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


restart (Component Control)--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.

--force

Skip user verification.

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.