Appendix C. Configuring Update Parameters

Top  Previous  Next

To configure virus databases update parameters, use the drwupsrv.bat file. The file is located in the Dr.Web directory. Commands frol the file are executed when the Doctor Web for MSP Update Task is started in Windows Task Scheduler.

To configure update settings, specify required parameters for - c update and - c postupdate commands.

- c update command parameters

- c update command updates virus databases and Dr.Web components.

Parameter

Description

--type arg

Please do not edit this parameter.

Type of update:

update-revision—update components within the current revision.

--disable-postupdate

Please do not edit this parameter.

Post-update is disabled. Operation of the update module will be stopped as soon as the update operation is completed.

--verbosity arg

Log level:

error—standard;

info—extended;

debug.

--interactive

If parameter is specified, more resources will be used during execution of some operations.

--param args

Please do not edit this parameter.

Additional parameters passed to the script:

Format: <name>=<value>.

-n [ --component ] arg

List of the components that need to be updated:

updater—drwupsrv.exe file;

antispam—vrcpp.dll file;

scan-engine—dwengine.exe, dwsewsc.exe, dwinctl.dll, dwarkdaemon.exe, arkdb.bin, dwqrui.exe and dwarkapi.dll files;

av-engine—virus databases ( *.vdb files);

isa-and-tmg-setup - isa-and-tmg-setup.exe file.

warning_grey

Several components can be updated simultaneously, e.g.:

-n av-engine updater

-g [ --proxy ] agr

Proxy server for updating. <address>:<port>.

-u [ --user ] agr

User name for the proxy server.

-k [ --password ] arg

User password for the proxy server.

Example of - c update command for updating virus databases using proxy server:

-c update --type=update-revision --disable-postupdate --verbosity=debug --interactive --param="<plugin_name>" -n av-engine --proxy=192.168.134.128:808 --user=qwerty --password=qwerty

- c postupdatе command parameters

- c postupdatе command post-updates  virus databases and Dr.Web components.

Parameter

Description

--verbosity arg

Log level:

error—standard;

info—extended;

debug.

--interactive

If parameter is specified, more resources will be used during execution of some operations.

--param arg

Additional parameters passed to the script:

Format: <name>=<value>.

- c postupdatе command example:

-c postupdate --verbosity=debug --interactive --param="<plugin_name>"

Configuring an update mirror

If you cannot update Dr.Web directly from the Internet or if you want to reduce the amount of external traffic, you can configure an update mirror in order to update Dr.Web via LAN.

To configure an update mirror, perform the following steps on a machine with an access to the Internet:

1.Run the drwupsrv.exe with the following parameters:

-c download --zones=<file_path> --key-dir=<folder_path> --repodir=<folder_path> --version=90 --verbosity=debug --log-dir=C:\Repo

Specify the necessary values for:

zones=<file_path>—path to the update zone file drwzones.xml;

key-dir=<folder_path>—path to the license key file;

repo-dir=<folder_path>—path to the folder with updates. Make sure the updates folder is shared.

For example:

drwupsrv.exe -c download --zones=C:\Mirror\drwzones.xml --key-dir=C:\Mirror\ --repodir=C:\Mirror\Repo\ --version=90 --verbosity=debug --log-dir=C:\Mirror\Repo\

2.On the server with Dr.Web installed, open the drwupsrv.bat file and add the following parameter in the string set upparams, and then run the file:

--zone="file://<repo_folder_path>"

For example:

set upparams=-c update --type=update-revision --disable-postupdate --verbosity=debug --interactive --param="plugin=<plugin_name>" --zone="file://<repo_folder_path>"