Manage replication tasks
You can manage replication tasks from your cloud or the Selectel cloud. This instruction covers managing tasks from the Selectel cloud.
Create a replication task
For more information on setting up replication, refer to the Create a Protection section of the VMware documentation.
-
From the control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based cloud → the Cloud Director section.
-
In the Menu, select Availability.
-
Go to the Incoming Replications.
-
Click ( **New protection **).
-
At the Cloud vApps and VMs step, in the Source site field, select the primary site from which virtual machines will be replicated.
-
Select the virtual machines you want to replicate. They must be powered on—as long as a virtual machine is powered off, its replication will not start.
-
Click Next.
-
At the Destination VDC and Storage policy step, select a virtual data center in the Selectel cloud to which replication will occur.
-
Select the storage policy that corresponds to your virtual data center.
-
Click Next.
-
At the Settings step, specify the RPO value; for details, see the Recovery Point Objective section of the VMware documentation. When choosing a value, consider infrastructure requirements: if you have a slow internet connection or a large volume of changing data on the primary virtual machine, the RPO value should be increased.
-
Turn on the Enable retention policy toggle and configure the policy for creating and storing virtual machine copies:
- Instances — the number of replication instances to be stored at one time;
- Distance — the frequency of copy creation in units from the Unit field;
- Unit — the unit of time measurement (hours, days, months, etc.).
-
Optional: to set the time for the first synchronization, in the Delay start synchronization block, turn on the toggle and specify the date and time for the first virtual machine synchronization on the primary and recovery sites.
-
Optional: to exclude individual disks from replication and save disk space on the recovery site, turn on the toggle in the Exclude disks block.
-
Optional: if a copy of the replicated virtual machine already exists in the Selectel cloud and you want to synchronize it with the virtual machine on the primary site, turn on the toggle in the Configure Seed VM block and specify the target machine.
-
Click Next.
-
If you turned on the toggle in the Configure Seed VM block, at the Seed VM step, select virtual machine copies for synchronization.
-
If you turned on the toggle in the Exclude disks block, at the Replicated Disks step, select the disks that need to be replicated.
-
At the Ready to complete step, check the settings and click Finish. Creating the replication task will take some time.
Create a reverse replication task
After a failover, you can configure reverse replication — from the recovery site (Selectel cloud) to your primary site. To do this, the replication task that was used for the failover must be in the Failed-Over status.
Virtual machines will remain accessible during reverse replication.
For more information about reverse replication tasks, see the Perform a Reverse Task instructions in the VMware documentation.
- From the Control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based cloud → the Cloud Director section.
- In the Menu menu, select Availability.
- Go to the Incoming Replications section.
- Select the task for the virtual machine that was replicated.
- In the All actions menu, select Reverse.
- Click Reverse.
- In the new task on the Cloud vApps and VMs tab, the primary site and virtual data centers will be selected automatically.
- Configure the remaining parameters as you would when creating a replication task.
Delete a replication task
- From the Control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based cloud → the Cloud Director section.
- In the Menu menu, select Availability.
- Go to the Incoming Replications section.
- Select the task for the virtual machine that was replicated.
- In the All actions menu, select Delete replication.
- Click Delete.