[KB7726] Migrate ESET PROTECT from Windows Server to ESET PROTECT Virtual Appliance

Issue

  • To migrate ESET PROTECT Server from Windows Server to ESET PROTECT Virtual Appliance, you will need to back up the database from Windows Server and restore it to the ESET PROTECT Virtual Appliance

Solution

  1. Prerequisites
  2. Download ESET PROTECT Virtual Appliance
  3. Set a new ESET PROTECT Server IP address and assign the policy
  4. Enable Webmin interface
  5. Configure ESET PROTECT Virtual Appliance

I. Prerequisites

  • ESET PROTECT Server version 9.0 or later with a database running at MySQL Server
  • ESET PROTECT Server database must use a default name era_db and username root
Supported MySQL database

The following guide is only applicable to ESET PROTET On-Prem running on a supposed MySQL database.


II. Download ESET PROTECT Virtual Appliance

  1. Download the ESET PROTECT Virtual Appliance for your hypervisor type. Deploy the ESET PROTECT Virtual Appliance into your virtual environment. For further information regarding this process, review the VA Deployment support page.

    Do not configure ESET PROTECT Virtual Appliance yet

    After a successful deployment, follow the directions on the ESET PROTECT Virtual Appliance main screen to set a static IP address.


III. Set a new ESET PROTECT Server IP address and assign the policy

  1. Open ESET PROTECT On-Prem in your web browser and log in.

  2. On your existing Windows ESET PROTECT Server, create a new policy to set the new ESET PROTECT Server IP address and assign the policy to all client computers. Click PoliciesNew Policy.

    Figure 1-1
  3. Type a Name for your policy. The Description field is optional.

    Figure 1-2
  4. Click the Settings tab, in the drop-down menu, select ESET Management Agent and click Edit server list.

    Figure 1-3
  5. In the Servers window, click Add. In the Host field, type the IP address of your new ESET PROTECT Virtual Appliance. If you are using a different port, other than the default ESET PROTECT Server port 2222, specify your custom port number. Click OK. Make sure your new ESET PROTECT Server address is listed first and click Save.

    Figure 1-4
  6. Click the Assign → Assign to display a new popup window with all Static and Dynamic Groups.

    Figure 1-5
  7. Select the Static Group All to assign a new policy and click OK.

    Figure 1-6
  8. Review the settings for this policy and click Finish to apply. According to your ESET PROTECT Server settings, wait until the new policy is applied to agents.

  9. Stop the ESET PROTECT Server service.

  10. Create a full database backup of the source ESET PROTECT On-Prem database. It is required that the ESET PROTECT On-Prem database be named era_db. Name the backup file era-backup.sql. Open a Command prompt. Navigate to the MySQL Server binaries folder (default location is C:\Program Files\MySQL\MySQL Server x.x\bin) and run the following command to create a database backup:

mysqldump --host localhost --disable-keys --extended-insert --routines -u root -p era_db > era-backup.sql

IV. Enable Webmin interface 

  1. Return to the ESET PROTECT Virtual Appliance main screen. Press Enter to enter management mode, log in using the default password eraadmin, and press Enter twice to confirm.

    Figure 2-1
  2. In the ESET PROTECT Virtual Appliance management mode menu, select Enable/Disable remote access to enable the Webmin interface.

  3. Connect to the Webmin interface using a web browser with an IP address of ESET PROTECT Virtual Appliance and port 10000. For example, https://xxx.xxx.xxx.xxx:10000.

  4. Log into the Webmin interface using the default ESET PROTECT Virtual Appliance credentials where root is the login and eraadmin is the password.

    Figure 2-2
  5. From the main menu, expand Tools, click File Manager → Root.

    Figure 2-3
  6. In the top right corner of File Manager, click File and select Upload to current directory.

    Figure 2-4
  7. Click Drag and drop files here and locate the era-backup.sql file you created in step 9. To upload the file, click Upload. When the upload is complete, log out of Webmin.

    Figure 2-5
  8. In the ESET PROTECT Virtual Appliance main screen, log in to management mode. Select Restore database from the menu and press Enter. When the restoral of database backup is finished, press Enter to return back to the main screen.

    Figure 2-6

V. Configure ESET PROTECT Virtual Appliance

  1. Configure the ESET PROTECT Virtual Appliance. Connect to the appliance using a web browser with an IP address of the ESET PROTECT Virtual Appliance. In the drop-down menu, select ESET PROTECT Server Appliance.

    Figure 3-1
  2. Set a new password for the VM. Select the check box I accept the terms of the application End User License Agreement and acknowledge the Privacy Policy. Click Submit to start ESET PROTECT Virtual Appliance configuration. Do not refresh this page in your web browser; close the tab and go to your ESET PROTECT Virtual Appliance console window.

    Figure 3-2
  3. When the configuration is finished, log into the ESET PROTECT Web Console using the new password and verify the agents have migrated successfully and are connecting to the new server. Do not uninstall your old ESET PROTECT Windows Server until you have verified migration was successful.