Moving Dr.Web Server to Another Computer (running Linux OS) |
Migrating Dr.Web Server (when installing the same version of Dr.Web Server) under Linux OS 1.Install a new Dr.Web Server (empty configuration, with a new DB) on the target computer according to the instructions in the , section Installing Dr.Web Server for Unix-like OS.
2.Add your valid license key Agent.key to the of the new Dr.Web Server and propagate it to the Everyone group. 3.Open the section in the web interface of the new Dr.Web Server and make sure that the repository is updated correctly. 4.Open the section and make sure that the date displayed in this section matches the date of the current Dr.Web Server revision in the . If the date does not match and there is a message about the availability of updates, click the button and update Dr.Web Server to the latest version. 5.Stop the new Dr.Web Server via the web interface or via the console using the following command:
6.Replace the /var/opt/drwcs/etc/drwcsd.conf file on the new Dr.Web Server with a similar one from the previous Dr.Web Server.
7.Remove the drwcsd-certificate.pem certificate file from the /opt/drwcs/webmin/install/windows folder on a new Dr.Web Server.
8.Delete the drwcsd.pri private key and the second copy of the drwcsd-certificate.pem certificate from the /var/opt/drwcs/etc/ folder on the new Dr.Web Server . 9.Delete the database file from the /var/opt/drwcs/ folder on the new Dr.Web Server. 10.If the previous Dr.Web Server is running on Windows OS, copy the drwcsd.pri private key and the drwcsd-certificate.pem certificate from the %programfiles%\DrWeb Server\etc folder on the previous Dr.Web Server to the /var/opt/drwcs/etc directory/ folder on the new Dr.Web Server. If the previous Dr.Web Server is running on a Linux OS, copy these files from the var/opt/drwcs/etc/ folder on the previous Server to the same folder on the new server. 11.Stop the previous Dr.Web Server via the web interface () or (if Linux OS is installed) via the console:
12.Check the database on the previous Dr.Web Server using the command:
If an error message appears in the drwscd.log file after running this command, please, contact technical support. 13.Back up the database using the SQL server tools (when using the embedded DB, just back up the database.sqlite file). Copy the database file from the %programfiles%\DrWeb Server\var folder of the previous Dr.Web Server (from the /var/opt/drwcs/ folder if Linux OS was installed) to the /var/opt/drwcs/ folder of the new Dr.Web Server. 14.Start the previous Dr.Web Server (to continue offering service to Dr.Web Agents) via the web interface or via the console using the following command:
15.On the new Dr.Web Server make the drwcs user the owner of the /var/opt/drwcs/database.sqlite folder and the owner of the /var/opt/drwcs/etc/drwcsd.pri and /var/opt/drwcs/etc/drwcsd-certificate.pem files:
16.Copy the drwcsd-certificate.pem certificate to the /opt/drwcs/webmin/install/windows folder.
17.Start the new Dr.Web Server:
18.Log in to the web interface of the new Dr.Web Server using the same credentials as for the previous Dr.Web Server. Make sure that all Dr.Web Agents are displayed correctly in the anti-virus network list. 19.Open the section and make sure that the repository on the new Dr.Web Server is updated without errors. If there are any error messages in the product list table in the "Repository status" column, please, contact technical support. Attach the drwscd.log file to the request. Do not take any further actions until you receive feedback on the request. 20.Open the section and select the task. Click on the icon and select the tab in the task editing window. Make sure that the path to the folder on the previous Dr.Web Server is not specified in the field. Either clear this field and leave it empty (in this case, the default /var/opt/drwcs/backup folder will be used to store backup copies) or specify the path to the folder on the new Dr.Web Server. 21.On the new Dr.Web Server open the section and specify the new Dr.Web Server address in the field.
Connecting stations to a new Dr.Web Server 1.Log in to the web interface of the previous Dr.Web Server and select a station or a group of stations you want to reconnect. 2.Open the section and specify the new Dr.Web Server address for the selected objects. Make sure that all stations are disconnected from the previous Dr.Web Server and connected to the new Dr.Web Server. For more information, see Connecting Dr.Web Agent to Another Dr.Web Server. |