Migrating Zerto Virtual Replication to a New Virtual Machine
This describes how to migrate the Zerto Virtual Replication (ZVR) application to a new Virtual Machine.
When ZVR is installed, the installation includes the following:
■ Zerto Virtual Manager (ZVM): A Windows service, Zerto Virtual Manager service, that manages the replication at the site level.
■ Virtual Replication Appliance (VRA): A virtual machine installed on each Hyper-V hosting virtual machines to be protected or recovered, to manage the replication of data from protected virtual machines to the recovery site.
■ Virtual Backup Appliance (VBA): A Windows service that manages back-ups within Zerto Virtual Replication. The VBA service runs on the same machine as the Zerto Virtual Manager service and manages the repositories where offsite backups are stored. These repositories can be local or on a shared network.
■ Zerto User Interface: Recovery using Zerto Virtual Replication is managed in a browser.
Before you Begin
From the Source VM, make a note of the following information which you will need later:
■ Make a note of the exact Zerto Virtual Replication installation configuration settings.
■ Navigate to Control Panel > Network and Internet, and make a note of the IP address
■ If a DNS name was used instead of an IP address, make a note of the DNS name
IMPORTANT:
■ The Optional steps that are included in the procedure below are highly recommended.
■ Perform them before connecting the new ZVM to peer ZVM sites, in order to verify that the ZVM on the target VM is working correctly, and with the correct configurations.
■ If the ZVM on the target VM is not working correctly with the correct configurations, VPGs could be automatically deleted.
To migrate ZVR to a target VM:
1. Prepare the target VM for the ZVR. To do this, review the machine requirements to install ZVR, and make sure that the target VM complies with these minimum requirements. For these details, see Zerto Virtual Replication Installation Guide for your environment, in the section Installing Zerto Virtual Replication.
2. On the source VM, verify which version of the Zerto Virtual Replication Installer file is currently installed, and then copy and paste that same version to the target VM.
3. On the source VM, stop all Zerto related services:
■ Zerto Virtual Manager Service
■ Zerto Virtual Backup Appliance Service
■ Zerto Remote Log Collection Service
4. On the source VM, navigate to the Zerto installation folder and copy the entire folder, including all its contents. By default, this folder is named Zerto Virtual Replication.
TIP: To save space, you can leave out, or delete old log files which are no longer relevant. Navigate to the path: \Zerto Virtual Replication\logs\
5. On the
target VM, create a
temp folder, and into this folder paste the entire
Zerto installation folder, including all its contents, which you copied in
4.
6. (Optional) If Backup was configured and used with local repository, do the following:
a) On the source VM, copy the entire Backup folder, including contents and sub folders.
b) On the target VM, navigate to the relevant path, and paste the Backup folder.
c) Repeat for each Backup folder that you need to manually back up.
d) Do not proceed to
7 until you have copied all the relevant Backup folders.
Note: Previous Backups can also be manually copied to the target VM, but this must be done before
7.
7. On the source VM, first change the IP address to a different IP address, then disconnect the source VM network connection.
8. On the target VM, run the ZVM Installer and complete the installation with the same settings and configurations as the ZVM that was installed on the source VM.
■ If the ZVM on the source VM was configured to use VCD, and in addition the amqp service was installed, then on the target VM, the same amqp services must be reinstalled. These are the following:
■ amqp_installer
■ Erlang
■ RabbitMQ
9. On the target VM, stop all Zerto related services:
■ Zerto Virtual Manager Service
■ Zerto Virtual Backup Appliance Service
■ Zerto Remote Log Collection Service
10. (Optional) On the target VM, open the Windows Firewall and configure a new rule to block all outgoing TCP traffic on ports 9080 and 9081.
11. On the
target VM, navigate to the
temp folder which you created in
5 and copy the entire
Zerto installation folder, then navigate to the
Zerto installation folder which was created when you ran the ZVM installer, and paste and overwrite all files.
12. On the target VM, navigate to Control Panel > Network and Internet, and set the target VM’s IP address the same IP address as original IP address of the source VM.
■ If a DNS name was used instead of the IP address, set the target VM’s DNS name the same DNS name as the source VM.
13. (Optional) If the Log Archiver functionality was configured and in use on the source VM, make sure to create a folder on the target VM to which the logs are archived.
14. On the target VM, start all Zerto related services:
■ Zerto Virtual Manager Service
■ Zerto Virtual Backup Appliance Service
■ Zerto Remote Log Collection Service
15. (Optional) On the target VM, perform the following optional validations:
a) Open an Internet browser, enter the URL https://localhost:9669, and log into the ZVM.
b) If you blocked all outgoing TCP traffic on ports 9080 and 9081 as described in
10, make sure all the
VPGs are present. Their state should be
Error or
Site disconnection, as there should be no connection to the peer ZVM sites.
c) Make sure that the VRA status is Installed.
d) Open the Windows Firewall and re-enable traffic for ports 9080 and 9081.
16. From anywhere in the network, log into the ZVM GUI and verify that the status of the VPGs and VRAs is OK.
■ If a DNS name was used instead of an IP address, it might take a while for the correct routing to occur. The sites will remain with the status disconnected until the correct routing occurs.
17. If the status of all the VPGs and VRAs is OK, first power off and then delete the source VM as it is no longer in use.