Configuring Update Parameters

Top  Previous  Next

To configure virus databases and Dr.Web components update parameters, use drwupsrv.bat file. This file is located in Dr.Web installation folder. Commands included in this file are executed while running Doctor Web for Exchange Update Task 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

Type of update:

update-revision – try to update all components of the current revision to the newest if exists.

--disable-postupdate

Post-update is disabled. Work of update module will be stopped when the update operation has 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

Additional parameters passed to the script:

Format: <name>=<value>.

Default value is "plugin=exchange".

-n [ --component ] arg

List of the components that need to be updated:

updater – drwupsrv.exe file;

antispam – vrcpp.dll file;

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

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

exchange-plugin-setu – exchange-setup.exe file.

Внимание!

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

-n av-engine updater

-g [ --proxy ] agr

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

-u [ --user ] agr

Username for proxy server.

-k [ --password ] arg

Password for 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=exchange" -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>.

Default value is "plugin=exchange".

- c postupdatе command example:

-c postupdate --verbosity=debug --interactive --param="plugin=exchange"

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=exchange" --zone="file://<repo_folder_path>"