Restoring a Dr.Web Server Cluster Node

If one of the Dr.Web Servers in a cluster stops working, Dr.Web Agents that lost the connection to it will connect to another cluster node. In case of a fatal Dr.Web Server failure, you need to restore it (install a Dr.Web Server and add it to the cluster again).

Installing a Dr.Web Server to be added to a cluster

warning

To be able to work with a common database, all Dr.Web Servers must have the same version.

If you have a backup copy of the failed Dr.Web Server, you can use it to facilitate the cluster node restoration process. A backup copy contains repository settings, configuration files, encryption keys, certificates, and the embedded database backup.

When installing a Dr.Web Server to replace a cluster node, follow the directions below.

Installing Dr.Web Server for Unix-like OS

Follow the instructions from the Installation Manual, section Installing Dr.Web Server for Unix-like OS . You can install a new Dr.Web Server or use a backup copy of the Dr.Web Server that was part of the cluster and failed.

By default, backup copies are stored in the following folders:

for Dr.Web Server under Linux—/var/opt/drwcs/backup,

for Dr.Web Server under FreeBSD—/var/drwcs/backup.

A Dr.Web Server that was installed from a backup copy will use the common database accessed by the cluster nodes.

A Dr.Web Server installed without a backup copy will use the embedded database. Once the installation process is finished, the Dr.Web Server must be switched to the common database used by the cluster.

Installing Dr.Web Server for Windows OS

You can install a new Dr.Web Server or use a backup copy of the Dr.Web Server that was part of the cluster and failed. By default, backup copies are stored in the <installation_drive>:\DrWeb Backup folder.

Follow the instructions from the Installation Manual, section Installing Dr.Web Server for Windows OS, taking note of the following points:

Installation when an external database is used is not recommended due to the risk of database data loss when the Dr.Web Server is connected to the cluster.

When installing from a backup copy, set the following configuration parameters:

Database driver: select the SQLite (embedded database) option. It is not recommended to proceed with the external database as it can lead to data loss when Dr.Web Server connects to the cluster. Dr.Web Server needs to be reconnected to the external database used within the cluster only after the Dr.Web Server installation is finished.

Network configuration: set the Interface and Port values. If the Enable Dr.Web Server detection service flag is not set, set it to allow Dr.Web Server to communicate with the other cluster nodes via a multicast group. Specify the parameters of the multicast group used by Dr.Web Servers in the cluster below.

The values of the other parameters can be specified according to the Installing Dr.Web Server for Windows OS section.

When installing a new Dr.Web Server, specify the following configuration parameters:

Dr.Web Server configuration: specify the paths to the drwcsd.conf configuration file and the private encryption key used by the Dr.Web Server that failed, if you have them. Otherwise, leave them empty to create new encryption keys, certificate, and configuration file with default settings. The values of these parameters must be changed after the Dr.Web Server installation.

Database driver: select the SQLite (embedded database) option. The Dr.Web Server needs to be connected to the external database used within the cluster only after the Dr.Web Server installation is finished.

Network configuration: specify the Interface and Port values. Set the Enable Dr.Web Server detection service flag to allow the Dr.Web Server to communicate with other cluster nodes via a multicast group. Specify the multicast group parameters to be used by Dr.Web Servers in the cluster.

The values of other parameters can be set as described in the Installing Dr.Web Server for Windows OS section.

Adding a Dr.Web Server to a cluster

To add the installed Dr.Web Server to a cluster, follow the instructions in the Administrator Manual, section Dr.Web Server Cluster .