cpwd_admin start

Description

Starts a process as monitored by the WatchDog.

Syntax on a Management Server in Gaia Clish or the Expert mode

cpwd_admin start -name <Application Name> -path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>] [-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]

Syntax on a Security Gateway / Cluster Member in Gaia Clish or the Expert mode

cpwd_admin start -name <Application Name> [-ctx <VSID>] -path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>] [-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]

Syntax on a Scalable Platform Security Group in Gaia gClish

cpwd_admin start -name <Application Name> [-ctx <VSID>] -path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>] [-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]

Syntax on a Scalable Platform Security Group in the Expert mode

g_all cpwd_admin start -name <Application Name> [-ctx <VSID>] -path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>] [-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]

Parameters

Parameter

Description

-name <Application Name>

Name, under which the cpwd_admin list command shows the monitored process in the leftmost column APP.

Examples:

  • FWM

  • FWD

  • CPD

  • CPM

-ctx <VSID>

On a VSX GatewayClosed Physical server that hosts VSX virtual networks, including all Virtual Devices that provide the functionality of physical network devices. It holds at least one Virtual System, which is called VS0., specifies the context of the applicable Virtual SystemClosed Virtual Device on a VSX Gateway or VSX Cluster Member that implements the functionality of a Security Gateway. Acronym: VS..

-path "<Full Path to Executable>"

The full path (with or without Check Point environment variables) to the executable including the executable name.

Must enclose in double quotes.

Examples:

  • For FWM: "$FWDIR/bin/fwm"

  • For FWD: "/opt/CPsuite-R81.20/fw1/bin/fw"

  • For CPD: "$CPDIR/bin/cpd"

  • For CPM: "/opt/CPsuite-R81.20/fw1/scripts/cpm.sh"

  • For SICTUNNEL: "/opt/CPshrd-R81.20/bin/cptnl"

-command "<Command Syntax>"

The command and its arguments to run.

Must enclose in double quotes.

Examples:

-env {inherit | <Env_Var>=<Value>}

Configures whether to inherit the environment variables from the shell.

  • inherit - Inherits all the environment variables (WatchDog supports up to 80 environment variables)

  • <Env_Var>=<Value> - Assigns the specified value to the specified environment variable

-slp_timeout <Timeout>

Configures the specified value of the "sleep_timeout" configuration parameter.

See cpwd_admin config.

-retry_limit {<Limit> | u}

Configures the value of the "retry_limit" configuration parameter.

See cpwd_admin config.

  • <Limit> - Tries to restart the process the specified number of times

  • u - Tries to restart the process unlimited number of times

Example

For the list of process and the applicable syntax, see sk97638.