Dr.Web SSM Service

Top  Previous  Next

The Dr.Web SSM (Dr.Web Start/Stop Manager) service controls the applications operation based on the CMS platform and performs the following functions:

Dr.Web CMS service operation maintenance in the automatic mode

Automatic start of the applications registered by the service (having the SSM group of variables in Dr.Web CMS Web Console) in case of failures

Forced start of the applications even if they terminated their operation correctly

Applications launch using Windows Service Manager

Starting services as applications developed using CService from CommonComponents

Starting services using the assigned scripts

Applications start and stop in manual mode by user commands

The parameters of the Dr.Web SSM service operation are defined by the SSM variables group in the Dr.Web CMS Web Console. The SSM group can contain the following variables:

Variable (its type is indicated in parentheses)

Comment

Enabled (Boolean)

Signifies whether the SSM control is enabled or not

Run (Boolean)

Allows to start/stop the application

KeepAlive (Int32)

Signifies the application operation maintenance type:

0 – the application is disabled

1 – The application is active

2 – forced maintenance, the application is enabled even if it stopped correctly

StartType (Int32)

Signifies the application start method:

0 – as a Windows service

1 – as a CService application

2 – start using a script

StartScript (String)

Contains the script to start the application

StopScript (String)

Contains the script to stop the application

Restart (Boolean)

Restarts the application

Timeout (UInt32)

The timeout for application reaction (in seconds). By default, the timeout is 10 seconds.

ServiceName (String)

the service name in Windows Service Manager. By default, the name of the variable /Application Status/InstanceName is used.

The Dr.Web SSM service setting may include the following:

KeepAlivePeriod (UInt32) – the time to check the service (in seconds). By default, the value 60 is set.

RestartCMSPause (UInt32) – the delay before restarting the CMS (in seconds). By default, the value 5 is set.