Migrating VM Storage to the Cloud
When a VM is running in cloud using the "Run in Cloud" operation, it uses the Velostrata intelligent "Cache on Demand" mechanism, which takes into account various sophisticated algorithms to efficiently predict and stream any needed storage from source VM to the destination cloud. At any point in time you can initiate full storage migration which will start the process of full data migration to destination cloud.
The storage migration allows for a fully migrated server that can be detached for a permanent cloud instance, which is no longer dependent on the source VM storage. Storage migration can also be used for a VM running in the cloud temporarily, and in this case the storage migration offers additional data redundancy point (backup), reduced network traffic, and better handling of WAN outages.
- On the VSphere Web Client, select the desired Virtual Machine.
- If the VM is still running on-premises, follow the steps in Running the Migration Wizard.
- If the VM is already running in the cloud, view the Summary tab, and in the Storage Migration row, click on the green arrow and select Migrate VM storage to Cloud. Alternatively, right-click the VM and select Velostrata Operations > Migration Operations > Start Storage Migration. The data migration starts.
The migration can take minutes to hours depending on various parameters like the size of the virtual machine, the bandwidth to the cloud, and the current utilization etc.
It is important to note that the storage migration activity is de-prioritized versus the regular storage reads of the VM, and the storage migration will occur primarily in idle times. This prevents any performance degradation for the production VMs running in cloud.
Migration can be monitored in the VM portlet on vSphere Web Client, this can also be used to pause the migration if desired.
In addition, you can also view a Migration Throughput graph.
- On the VSphere Web Client, select the desired Datacenter linked to the cloud extension.
- In the Monitor tab, select the Velostrata Service tab, choose the specific cloud extension and the time range to view the graph.
When storage migration is complete, the VM shows as Fully Cached.
In this state, all VM disks are stored in an GCP Bucket (or AWS S3 object/Azure blob) and are accessible by our Cloud Edge appliances for all reads and writes. VM writes may still replicate back to the on-premises datastore if the original storage mode policy indicated that it should (“write back” as opposed to “write isolation”).
- In PowerShell, connect to the Velostrata Manager by running Connect-VelostrataManager.
- When prompted enter details for the Server, Username (apiuser) and Password (the subscription ID).
- To detach the could source VM storage, run Start-VelosStorageMigration [-Id] <string>.