Skip to main content

Configuring and Managing Migration

After the Agent comes online, you select the virtual machines you want to move and set the destination and migration time for each. After that, the migration runs every day at the scheduled time, and its result is stored as a slot in the destination AZ. For example, if you set a web server's migration time to 2 AM, a new slot of its disk is created every day at 2 AM, and you can create an instance from it.

Configuring Virtual Machines​

In the Cloud Migration section, click Start Configuration next to the source. You can also select Source Details from the source's actions menu and go to the Configuration tab.

This tab shows the list of vCenter virtual machines. Select the machines you want to move and set the following for each:

  • Destination AZ

    Select the data center where the virtual machine's slots are stored and instances are created.

  • Migration time

    Select the hour of the day when the migration runs each day. Choose a time when your service's traffic is low so the migration doesn't affect its performance.

  • Number of custom images

    Set the number of slots kept for this virtual machine. The default is 1. If you want to use Arvancloud as a DR site and keep copies from the past several days, increase this number.

Finally, click Confirm. Migration of the selected machines starts at the first scheduled time.

The first run transfers the virtual machine's entire disk and may take a while, depending on the disk size and your network bandwidth. Later runs transfer only the changes and finish faster.

Viewing Migration Status​

In the Cloud Migration section, the list of sources is shown along with each source's UID and status. A source's status has three steps: Install Agent, Configuration, and Migration. Each step is marked with a green check once it's complete.

Click the arrow next to a source's name to see its list of virtual machines. In this list, you see each virtual machine's name, RAM, processor, on/off status, destination AZ, migration time, and number of custom images.

Editing Migration Settings​

To change a virtual machine's settings, click the actions menu next to it in the source's virtual machine list and select Edit Destination AZ, Edit Migration Time, or Edit Number of Custom Images. In the window that opens, enter the new value and click Confirm.

Note that if you reduce the number of custom images, the virtual machine's previous images are deleted, and you can no longer create instances from them.

Creating an Instance from a Slot​

Select Source Details from the source's actions menu and go to the Slot tab. Click the arrow next to each virtual machine's name to see its slots along with their number, size, and creation date.

To create an instance, click the create instance icon next to the slot you want. You are then taken to the instance creation process, with the slot selected as the instance's base image. The guide to creating an instance helps you with this.

Note that before deleting the source virtual machine, check how the created instance works, and only delete the source machine after you're sure it works correctly.

To delete a slot, click the delete icon next to it. In the window that opens, enable the delete confirmation option and click Delete.

Note that a deleted slot is completely erased and can't be restored.

Events​

To check the results of migration runs, go to the Event tab in Source Details. Click the arrow next to each virtual machine's name to see its runs along with the slot number, creation date, number of attempts, and status.

Each run's status is Done, Running, or Failed. If a run fails, check the Agent's operational logs.

Disabling Migration​

If you no longer want a virtual machine to be migrated every day, select Disable Migration from its actions menu in the source's virtual machine list, and click Disable in the window that opens.

Editing the Source Name and Tags​

To rename a source, select Edit Name from its actions menu, enter the new name, and confirm the change. To add or edit tags, use the New Tag option in the same menu.

Each source can have up to 8 tags.