vCloud Extender-Part 4: Cloud Provider Registration and VM Migration

In last post of this series, I covered the steps needed to configure on-prem environment to connect it to a cloud provider site. In this post I will demonstrate how to register cloud provider and initiate vm migration using vCloud Extender.

1: Introduction to vCloud Extender

2: vCloud Extender-Cloud Provider Setup

3: vCloud Extender-Tenant (On-Premise) Setup

Lets start with Cloud Provider registration.

Login to On-prem vCenter server webclient and click on vCloud Extender plugin and navigate to Provider Clouds tab. Click on Add a Provider Cloud button.

sp-1

Specify Cloud Provider name and Provider Cloud URL. This should be in format https://provider-url/cloud/org/tenant-org-name.

Also specify the vCD Extender cloud service URL. This URL we configured in post 2 of this series.

Clicking on Test button verifies that if the supplied info is correct and the on-prem vCenter can connect to cloud environment successfully. Once test is passed, click on Add button to save the configuration.

sp-2

Accept the SSL certificate presented. 

sp-3

On successful connection to Cloud Provider, you will see the new provider cloud registered under the ‘Provider Clouds’ tab with a status of ‘Running’.

Also you will see accessible vDC’s to which you have access.

sp-4

VM Migration

Now since we are connected to cloud provider, lets start migrating a test vm from on-prem to vCD based cloud.

To start migrating workloads from on-prem, go to Migration tab and click on New Migration.

sp-11

Select migration type from the list. With each type of migration, a description is associated to give you a high level overview about that migration.

Lets start with warm migration first.

sp-6

Select the source VM(s) to be migrated from the inventory. All the VM’s will be listed under folder “VM” which can be expanded by clicking > sign in front of the folder.

Once a VM is selected, its status and disk sizes are update in the right-side panel. 

Hit Next once you have selected all the VM’s which you want to migrate. 

sp-7

On target cloud selection page, select the Cloud Provider, vDC, VM storage profile for the remote copy and the network to which the migrated VM will connect to in the Cloud Provider side.

In case you are migrating more than one vm, you can place them together in a single vApp rather than creating a new vApp for each VM.

I am only migrating a single vm in this demonstration so I selected the option “Each VM stays individually”. Hit Next to continue.

sp-8

On last page of migration wizard, we can specify when the VM synchronization should start, Recovery Point Objective (in minutes) and whether to provision the destination disks as ‘Thin’ provisioned or ‘Thick’ provisioned. 

Optionally we can add a tag for this migration so that its easier to search this job later from task and events. 

sp-9

Once migration is started, you will see progress indicator against the VM. Initially the status will be ‘Created’.

sp-10

Once the initial synchronization process has completed you will see the VM listed as ‘Cutover ready’ which means it’s staged and ready to be migrated in cloud.

sp-11

At this point our VM has been registered in cloud side vCenter server but not in vCD. 

Under ‘Home’ page VM status is listed as ‘Transition’ state

sp-21

 

Now to migrate this vm permanently in cloud provider side, click on Start cutover button which opens the cutover dialog.

sp-11

Select the VM from the list and hit Start button.

sp-15

Click OK to confirm the cutover for selected vm.

sp-16

Keep an eye on the cutover process.

sp-17

When the cutover process is complete you will see the status as completed.

sp-18

Under home page you can verify the same.

sp-19

Post migration On-prem will be in powered-off state in vCenter.

sp-22

On cloud provider site, VM will be registered in vCD and will be in running state.

sp-23

Here is a step by step video demonstration for warm migration.

And that’s it for this post. In next post of this series I will demonstrate how to perform layer 2 extension using vCloud Extender.

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing :)

Leave a Reply