Moving Dr.Web Server to Another Computer (Unix-like OS) |
The procedures for moving Dr.Web Server differ depending on the OS of the original computer: •Moving from a computer running a Unix-like OS to another computer running a Unix-like OS. •Moving from a computer running Windows OS to a computer running a Unix-like OS. After completing either of the procedures, check that the new Dr.Web Server is working properly and ensure that stations are connected to it. To move Dr.Web Server from a computer running a Unix-like OS to another computer running a Unix-like OS
1.Install a new Dr.Web Server (empty configuration, with a new database) on the target computer according to the instructions in the Installation Manual, section Installing Dr.Web Server for Unix-like OS.
2.In the web interface of the new Dr.Web Server, navigate to the Administration → License Manager section, add your valid agent.key license key, and propagate it to the Everyone group. 3.Open the Repository state section and make sure that the repository is updated correctly. 4.Open the Dr.Web Server section and make sure that the date displayed in this section matches the date of the current Dr.Web Server revision in the Repository state section. If the date does not match and there is a message about the availability of updates, click the View list of versions 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 command:
6.To keep your user hooks, replace the contents of the /var/opt/drwcs/extensions/ folder on the new Dr.Web Server with the contents of the same folder on the old Dr.Web Server. 7.Remove the drwcsd-certificate.pem certificate file from the /opt/drwcs/webmin/install/windows folder on the new Dr.Web Server:
8.Replace the drwcsd.conf configuration file, drwcsd.pri private key file, and a copy of the drwcsd-certificate.pem certificate in the var/opt/drwcs/etc/ folder on the new Dr.Web Server with the corresponding files from the old Dr.Web Server. 9.Stop the old Dr.Web Server via the web interface or via the console using the command:
10.Verify the integrity of the database on the old Dr.Web Server using the command:
If an error message appears in the drwscd.log file after running this command, please contact technical support. 11.Export the database of the old Dr.Web Server to file using the command drwcsd modexecdb database-export. The full command line for database export looks as follows:
12.If you use the embedded database, replace the /var/opt/drwcs/database.sqlite database file on the new Dr.Web Server with the same file from the old Dr.Web Server. 13.Start the old Dr.Web Server so that it could keep servicing its clients via the console using the command:
14.Make the drwcs user the owner of the /var/opt/drwcs database folder and the /var/opt/drwcs/etc/drwcsd.pri, /var/opt/drwcs/etc/drwcsd.conf, and /var/opt/drwcs/etc/drwcsd-certificate.pem files on the new Dr.Web Server:
15.Copy the drwcsd-certificate.pem certificate to the /opt/drwcs/webmin/install/windows folder:
16.Start the new Dr.Web Server using the command:
17.Log in to the web interface of the new Dr.Web Server using the same credentials as for the old Dr.Web Server. 18.Open the Administration → Dr.Web Server Task Scheduler section and select the Backup sensitive data task. Click the If there are any tasks with the Run program action in the schedule, either edit them according to the software configuration of the new computer or remove them from the schedule. 19.Check that the new Dr.Web Server is working properly and ensure that stations are connected to it. 20.Stop the old Dr.Web Server and uninstall it (see the Installation Manual, section Removing Dr.Web Server for Unix-like OS). Method 2:
1.Stop the old Dr.Web Server via the web interface or via the console using the command:
2.Export the database of the old Dr.Web Server to file using the command drwcsd modexecdb database-export. The full command line for database export looks as follows:
3.Uninstall the old Dr.Web Server (see the Installation Manual, Removing Dr.Web Server for Unix-like OS). A backup copy of Dr.Web Server critical data will be created during the uninstallation (in the /var/tmp/drwcs/ folder by default). 4.Move the contents of the backup copy folder to the computer where the new Dr.Web Server will be installed. 5.Start the installation of Dr.Web Server of the same major version on the new computer (as described in the Installation Manual, Installing Dr.Web Server for Unix-like OS). When prompted to specify a backup source, enter the path to the backup copy folder. Wait until the installation is completed. 6.Start the new Dr.Web Server using the command:
7.Log in to the web interface of the new Dr.Web Server using the same credentials as for the old Dr.Web Server. 8.Open the Administration → Dr.Web Server Task Scheduler section and select the Backup sensitive data task. Click the If there are any tasks with the Run program action in the schedule, either edit them according to the software configuration of the new computer or remove them from the schedule. 9.Check that the new Dr.Web Server is working properly and ensure that stations are connected to it. To move Dr.Web Server from a computer running Windows OS to a computer running a Unix-like OS
1.Install a new Dr.Web Server (empty configuration, with a new database) of the same major version on the target computer according to the instructions in the Installation Manual, section Installing Dr.Web Server for Unix-like OS.
2.In the web interface of the new Dr.Web Server, navigate to the Administration → License Manager section, add your valid agent.key license key, and propagate it to the Everyone group. 3.Open the Repository state section and make sure that the repository is updated correctly. 4.Open the Dr.Web Server section and make sure that the date displayed in this section matches the date of the current Dr.Web Server revision in the Repository state section. If the date does not match and there is a message about the availability of updates, click the View list of versions 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 command:
6.Delete the following files on the new Dr.Web Server: •drwcsd-certificate.pem certificate file:
•drwcsd.conf configuration file, drwcsd.pri private key file, and a copy of the drwcsd-certificate.pem certificate:
•user hooks from the /var/opt/drwcs/extensions/ folder. 7.Stop the old Dr.Web Server via the web interface or the Start → All programs → Dr.Web Server → Stop menu. 8.Verify the integrity of the database on the old Dr.Web Server using the command drwcsd modexecdb database-verify. The full command line for database verification looks as follows:
If an error message appears in the drwscd.log file after running this command, please contact technical support. 9.Export the database of the old Dr.Web Server to file using the command drwcsd modexecdb database-export. The full command line for database export looks as follows:
10.Copy the following files from the old Dr.Web Server to the new one: •the %programfiles%\DrWeb Server\var\extensions folder contents (user hooks) of the old Dr.Web Server to the /var/opt/drwcs/extensions/ folder of the new Dr.Web Server; •the drwcsd.conf configuration file, drwcsd.pri private key, and drwcsd-certificate.pem certificate file from the %programfiles%\DrWeb Server\etc folder of the old Dr.Web to the /var/opt/drwcs/etc/ folder of the new Dr.Web Server.
11.If you use the embedded database, replace the database.sqlite database file in the /var/opt/drwcs/ folder on the new Dr.Web Server with the same file from the %programfiles%\DrWeb Server\var folder on the old Dr.Web Server. 12.Start the old Dr.Web Server so that it could keep servicing its clients using Windows OS service management tools or the Start → All programs → Dr.Web Server → Start menu. 13.Make the drwcs user the owner of the /var/opt/drwcs database folder and the /var/opt/drwcs/etc/drwcsd.pri, /var/opt/drwcs/etc/drwcsd.conf, and /var/opt/drwcs/etc/drwcsd-certificate.pem files on the new Dr.Web Server:
14.Copy the drwcsd-certificate.pem certificate to the /opt/drwcs/webmin/install/windows folder:
15.Start the new Dr.Web Server using the command:
16.Log in to the web interface of the new Dr.Web Server using the same credentials as for the old Dr.Web Server. 17.Open the Administration → Dr.Web Server Task Scheduler section and select the Backup sensitive data task. Click the If there are any tasks with the Run program action in the schedule, either edit them according to the software configuration of the new computer or remove them from the schedule. 18.Check that the new Dr.Web Server is working properly and ensure that stations are connected to it. 19.Stop the old Dr.Web Server and uninstall it (see the Installation Manual, section Removing Dr.Web Server for Windows OS). To check if Dr.Web Server is working properly after the move 1.Log in to the web interface of the new Dr.Web Server. Make sure that all Dr.Web Agents are displayed correctly in the anti-virus network list. 2.Go to the Administration → Repository state section and make sure that the repository of the new Dr.Web Server is updated without errors. If there are any error messages in the product list table in the State column, please contact technical support. Attach the drwscd.log file to the request. Do not take any further action until you receive feedback on the request. To ensure that stations are connected to the new Dr.Web Server
•If the new Dr.Web Server has its own IP address: a)Specify the address of the new Dr.Web Server according to the procedure described in the Connecting Dr.Web Agent to Another Dr.Web Server section for all Dr.Web Agents serviced by the old Dr.Web Server. The new Dr.Web Server IP address must be specified on both Dr.Web Servers in the Dr.Web Agent settings section for those Dr.Web Agents for which the new Dr.Web Server address was set via the Control Center instead of in the Dr.Web Agent settings on the station. b)Wait until all Dr.Web Agents are connected to the new Dr.Web Server. •If you need the new Dr.Web Server to keep the old IP address: a)Stop the old Dr.Web Server. b)Assign the IP address of the old Dr.Web Server to the new one. c)Restart the new Dr.Web Server for the changed network settings to take effect. |