Upgrading Dr.Web Server for UNIX System-Based OS

Upgrade of Dr.Web Server up to the version 13.0 depends on the initial version:

Upgrade from the version 6.0.4 to the version 13.0 can be made only manually.

Upgrade from the versions 10.X to the version 13.0 automatically over the installed version is possible not for all UNIX system-based OS. Thus, under UNIX system-based OS, on which automatic upgrading over the installed package is not supported, you must perform the upgrade manually.

Upgrading the Dr.Web Server software from versions 11.X and within version 13.0 for the same package types is performed automatically for all UNIX system-based OS. If needed, you can also perform the upgrade manually.

Upgrading Dr.Web Server from versions 11.X to version 13.0 is also available via the Control Center. The procedure is described in the Administrator Manual, in the Updating Dr.Web Server and Restoring from the Backup section.

warning

When upgrading Dr.Web Server under UNIX system-based OS from version 10 and earlier, the settings from the Web server configuration (the webmin.conf file) section of the Control Center will not be transferred into the version 13.

Settings in this section will be reset to defaults. If you want to use the settings of the previous version, specify them manually after the Dr.Web Server upgrade in the corresponding section of the Control Center based on the data from the configuration file backup.

 

Before upgrading Dr.Web Server, please read the Upgrading Dr.Web Agent section.

info

Upgrading Dr.Web Server within version 13 can be also performed via the Control Center. The procedure is described in the Administrator Manual, in the Updating Dr.Web Server and Restoring from the Backup section.

 

Not all Dr.Web Server updates within version 13 have the distribution kit file. Some of them can be installed via the Control Center only.

Saving Configuration Files

At uninstalling and automatic upgrading of Dr.Web Server to the version 13, configuration files are saved into default backup directory: /var/tmp/drwcs/.

After Dr.Web Server of 6 version has been removed, the following files are automatically saved:

File

Description

agent.key (the name may vary)

Agent license key file

certificate.pem

SSL certificate

common.conf

configuration file (for some UNIX system-based OS)

dbinternal.dbs

embedded database

drwcsd.conf (the name may vary)

Dr.Web Server configuration file

drwcsd.pri

private encryption key

drwcsd.pub (name may vary)

public encryption key

enterprise.key (the name may vary)

Dr.Web Server license key file

private-key.pem

RSA private key

webmin.conf

Dr.Web Security Control Center configuration file

 

After Dr.Web Server of 10 version has been removed, the following files are automatically saved:

File

Description

agent.key (the name may vary)

Agent license key file

auth-ldap.xml

configuration file for administrators external authorization via LDAP

auth-pam.xml

configuration file for administrators external authorization via PAM

auth-radius.xml

configuration file for administrators external authorization via RADIUS

certificate.pem

SSL certificate

common.conf

configuration file (for some UNIX system-based OS)

dbexport.gz

database export (created during the Dr.Web Server uninstallation using the command drwcs.sh xmlexportdb)

download.conf

network settings for generating of the Agent installation packages

drwcsd.conf (name may vary)

Dr.Web Server configuration file

drwcsd.pri

private encryption key

drwcsd.pub (name may vary)

public encryption key

enterprise.key (the name may vary)

Dr.Web Server license key file. The file is saved if it presented after the upgrade from the previous versions. For the new Dr.Web Server 13.0 installation, the file is absent

frontdoor.conf

configuration file for the Dr.Web Server remote diagnostic utility

local.conf

Dr.Web Server log settings

private-key.pem

RSA private key

webmin.conf

Dr.Web Security Control Center configuration file

*.dbs

*.sqlite

embedded database

After Dr.Web Server of 11 and 13 versions has been removed, the following configuration files are automatically saved:

File

Description

agent.key (the name may vary)

Agent license key file

auth-ldap.conf

configuration file for administrators external authorization via LDAP

auth-ldap-rfc4515.conf

configuration file for administrators external authorization via LDAP using the simplified scheme

auth-pam.conf

configuration file for administrators external authorization via PAM

auth-radius.conf

configuration file for administrators external authorization via RADIUS

certificate.pem

SSL certificate

common.conf

configuration file (for some UNIX system-based OS)

dbexport.gz

database export (created during the Dr.Web Server uninstallation using the command drwcs.sh xmlexportdb)

download.conf

network settings for generating of the Agent installation packages

drwcsd-certificate.pem

Dr.Web Server certificate

drwcsd.conf (the name may vary)

Dr.Web Server configuration file

drwcsd.pri

private encryption key

drwcsd.pub (name may vary)

public encryption key

enterprise.key (the name may vary)

Dr.Web Server license key file. The file is saved if it presented after the upgrade from the previous versions. For the new Dr.Web Server 13.0 installation, the file is absent

frontdoor.conf

configuration file for the Server remote diagnostic utility

local.conf

Dr.Web Server log settings

private-key.pem

RSA private key

webmin.conf

Dr.Web Security Control Center configuration file

yalocator.apikey

API key for the Yandex.Locator extension

 

After the automatic upgrade, the following files are saved to the backup directory:

For Dr.Web Server version 10:

File

Description

auth-ldap.xml

configuration file for administrators external authorization via LDAP

auth-pam.xml

configuration file for administrators external authorization via PAM

auth-radius.xml

configuration file for administrators external authorization via RADIUS

db.backup.gz

database export (created during the Dr.Web Server upgrade using the command drwcs.sh exportdb)

For Dr.Web Server of versions 11 and 13:

File

Description

auth-ldap.conf

configuration file for administrators external authorization via LDAP

auth-ldap-rfc4515.conf

configuration file for administrators external authorization via LDAP using the simplified scheme

auth-pam.conf

configuration file for administrators external authorization via PAM

auth-radius.conf

configuration file for administrators external authorization via RADIUS

db.backup.gz

database export (created during the Dr.Web Server upgrade using the command drwcs.sh exportdb)

warning

If you are planning to use configuration files from the version 6 of Dr.Web Server, please note:

1.Dr.Web Server license key is no longer supported (see Licensing).

2.The embedded database is upgraded and configuration files of Dr.Web Server is converted by the means of the installer. You cannot replace these files with a backup copies when upgrading from Dr.Web Server of version 6.

 

Saving Database

Before upgrade Dr.Web Enterprise Security Suite software, it is recommended to backup database.

To backup database

1.Stop Dr.Web Server.

2.Export DB to the file:

For FreeBSD OS:

for Dr.Web Server prior to version 13
       # /usr/local/etc/rc.d/drwcsd exportdb /var/tmp/esbase.es

for Dr.Web Server version 13 and later

       # /usr/local/etc/rc.d/drwcsd modexecdb database-export /var/tmp/esbase.es

For Linux OS:

for Dr.Web Server prior to version 13
       # /etc/init.d/drwcsd exportdb /var/tmp/esbase.es

for Dr.Web Server version 13 and later

       # /etc/init.d/drwcsd modexecdb database-export /var/tmp/esbase.es

For Dr.Web Servers with external DB, it is recommended to use standard tools supplied with the database.

warning

Make sure, that Dr.Web Enterprise Security Suite DB export completed successfully. If DB backup copy is not available, Dr.Web Server could not be restored in emergency case.

Automatic Upgrade

If you upgrade Dr.Web Server from 10 version to version 13 (except Dr.Web Servers installed under Linux OS from the *.rpm.run and *.deb.run packages), instead of deleting the old version and installing the new version of Dr.Web Server, you can use the package upgrade. For this, launch the installation of the corresponding Dr.Web Server package.

Upgrading the Dr.Web Server software from version 11 and within version 13 for the same package types is performed automatically for all UNIX system-based OS.

At this, configuration files will be automatically converted and placed in corresponding directories. Also, some configuration files are additionally stored in the backup directory.

Manual Upgrade

If the Dr.Web Server upgrade from the version 6.0.4 and later cannot be done over the installed package, you must delete the Dr.Web Server software of previous versions saving the backup copy and install the software of the version 13 based on the saved backup copy.

To upgrade Dr.Web Server

1.Stop Dr.Web Server.

2.If you plan to use any files (besides the files which are copied automatically during the Dr.Web Server uninstallation at step 3), backup these files manually, for example, the report templates and etc.

3.Remove the Dr.Web Server software (see Removing Dr.Web Server Software for UNIX® System-Based OS). You will be prompt to create a backup copies of the files. For this, specify the path to store the backup or accept the default path.

4.Install Dr.Web Server version 13.0 according to the general installation procedure (see Installing Dr.Web Server for UNIX® System-Based OS) based on the backup copy from the step 3. All saved configuration files and embedded database (if you use embedded database) will be automatically converted to be used by Dr.Web Server of the 13.0 version. Without automatic conversion, database (if you use embedded database) and some of the Dr.Web Server configuration files from the previous version cannot be used.

In case of manual backup, place the files to the same directories where they were located in the previous version.

warning

For all backup files from the previous Dr.Web Server version (see step 4) you must set the user selected at the installation of the new Dr.Web Server version (drwcs by default), as files owner.

5.Launch Dr.Web Server.

6.Set up repository upgrade and perform the upgrade.

warning

After upgrade of anti-virus network Dr.Web Servers is completed, you must configure encryption and compression settings for the connected Dr.Web Servers (see the Administrator Manual, the Setting Connections between Several Dr.Web Servers section).