https://support.eset.com/kb5725
Issue
- You have an earlier version (6.x) of ESET Virtual Appliance (OVA) and would like to migrate it to the latest version
- Client task failed to update Virtual Appliance ERA Proxy, follow the instructions for manual update
Solution
I. Backup your current Virtual Appliance
- Shut down your current Virtual Appliance (if it is running) using the command below:
In the console typeshutdown -h now
- Make a clone of your current Virtual Appliance.
II. On the cloned Virtual Appliance
- Start the cloned Virtual Appliance.
- Make note of the IP address and name of the old Virtual Appliance. This information should be on the main screen of the appliance (if not, exit the console and view the
ovf.xml
by using the following command:nano ovf.xml
to see all of the settings).
- Get the UUID of the old Virtual Appliance by following the steps below:
- Once in the console, type:
nano /etc/opt/eset/RemoteAdministrator/Server/config.cfg
to open an editor.
- Make note of the Product Instance ID - you will need this later.
- Once in the console, type:
- Upgrade ERA to the latest version on the cloned Virtual Appliance.
To upgrade ERA Server manually, follow the steps in this knowledgebase article.
- Stop ESET Remote Administrator Server (ERA Server) to prevent potential data loss using the following command:
service eraserver stop
- Export the ERA database using the
mysqldump
command (customize when MySQL username or password is different):mysqldump -u root –p --add-drop-database --routines era_db > era.sql
- Open SFTP Client and log in with the following information:
Hostname or IP address: from step 2
Port: 22
Username: root
Password: (if unknown, try eraadmin)
- Navigate to
/root
and copy era.sql to a temporary directory on your local computer.
- Shut down your old Virtual Appliance using the command below:
- In the console, type:
shutdown -h now
- In the console, type:
III. On the new Virtual Appliance
- Deploy the new Virtual Appliance.
- Exit to the console by following the steps below:
- Press Enter and type in your password (if unknown, try eraadmin).
- Press Enter twice.
- Select Exit console.
- Press Enter and type in your password (if unknown, try eraadmin).
Figure 3-1
- Once at the console, view ovf.xml using the following command:
nano ovf.xml
(if you have already configured the new Virtual Appliance, skip this step):- Edit the hostname to be the same as the previous appliance.
- Edit the IP of the appliance to match the IP address of your old virtual appliance.
- Press Ctrl + X to exit the editor.
- Press Y to save the file.
- Edit the hostname to be the same as the previous appliance.
Figure 3-2
- In some cases, a restart of the Virtual Appliance will be needed to complete configuration. To do so, use the command below:
In the console, type:reboot
- Stop ESET Remote Administrator Server (ERA Server) and Apache Tomcat to prevent potential issues. Use the following commands:
service eraserver stop
service tomcat6 stop
(the Apache Tomcat service may also be namedtomcat7
ortomcat
)
- In the console, type:
nano /etc/opt/eset/RemoteAdministrator/Server/config.cfg
and then follow the steps below:
- Edit Product Instance ID to be the ID from the previous Server.
- Press Ctrl + X to exit this editor.
- Press Y to save the file.
- Edit Product Instance ID to be the ID from the previous Server.
- Open SFTP Client and navigate to /root and copy era.sql from the temporary directory to the above directory.
- Import the .sql file from your backup using the following command:
mysql -u root -p era_db < era.sql
- Start the services in order using the following commands:
service tomcat6 start
start
service eraserver
- Attempt to open the ESET Remote Administrator Web Console (6.x) and verify that ESET Remote Administrator is working:
https://IPAddressOfYourVA:8443/
Add a comment
Please log in or register to submit a comment.