1 – Introduction

In the previous post, we detailed the process of creating prerequisites for migrating VMs using OCM. Now, we will detail how to configure OCM, connect to the vCenter Server that will be the source of our migrations and run the VM discovery process.

 

2 – Connecting to the source vCenter

A Remote Connection is a connection to the source environment (in this case, a vCenter). Select the Migration compartment, Remote Connections, Create Source Environment:

Interface gráfica do usuário, Texto, Aplicativo, chat ou mensagem de texto

Descrição gerada automaticamente​

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

Name the Source Environment (SE) and click Create. Automatically, we will enter the new SE created. Click on Agent Dependencies, Create Agent Dependency:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

Interface gráfica do usuário, Texto, Aplicativo

Descrição gerada automaticamente​

 

Select “Upload new dependency package”, and upload the file Virtual Disk Development Kit (VDDK) – 7.0U2, available on the Broadcom website, to our Storage Bucket previously created. Once the upload is finished, click Create:

​

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

Wait for the Agent Dependency to be created, click Download agent VM, then Download:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

Interface gráfica do usuário, Aplicativo

Descrição gerada automaticamente​

 

The OCB Appliance file will be downloaded, which must be imported into the source vCenter:

Interface gráfica do usuário, Texto, Aplicativo

Descrição gerada automaticamente​

 

The deployment of this appliance will require two networks: External Network, which must have access to the Internet for communication with OCI, and Internal Network, which must have access to the vCenter and ESXi hosts:

Interface gráfica do usuário, Texto, Aplicativo

Descrição gerada automaticamente​

 

Once the appliance has been deployed, turn it on and wait until you see the message below in the VM console:

Texto

Descrição gerada automaticamente​

 

Return to the OCI portal, click on Register agent, fill in the IP presented on the appliance and click on Register agent:

Interface gráfica do usuário, Texto, Aplicativo, chat ou mensagem de texto

Descrição gerada automaticamente​

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

Give the agent a name, click Register and confirm on the next screen:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

Once registered, the agent will appear in the OCI portal, and the information that the appliance is registered can be updated in the appliance console by pressing Enter:

Interface gráfica do usuário, Texto

Descrição gerada automaticamente​

Texto

Descrição gerada automaticamente​

 

In the OCI portal, go back to Cloud Migrations, Discovery, Create Asset Source:

Interface gráfica do usuário, Texto

Descrição gerada automaticamente com confiança média​

Interface gráfica do usuário, Texto, Aplicativo, chat ou mensagem de texto

Descrição gerada automaticamente​

Interface gráfica do usuário, Texto, Aplicativo

Descrição gerada automaticamente​

 

Fill in the Asset Source (vCenter) data. Pay attention to the endpoint format. This is the vCenter’s IP, not the OCB Appliance’s:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

Select the Source Environment created previously:

Interface gráfica do usuário, Aplicativo

Descrição gerada automaticamente​

 

In Discovery Credentials, fill in the credentials that have access to vCenter to discover the VMs. Note that the Vault for the credentials was created with the prerequisites, in the MigrationSecrets sub-compartment:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

A schedule can be created to discover new VMs in vCenter:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

Finally, click on Create asset source:

​

Interface gráfica do usuário, Texto, Aplicativo

Descrição gerada automaticamente​

 

In Connections, two items will be created, Discovery and Replication:

Uma imagem contendo Teams

Descrição gerada automaticamente​ 

 

Click on Run discovery. VM discovery will begin, and they will appear in Assets:

Interface gráfica do usuário, Aplicativo

Descrição gerada automaticamente​

Interface gráfica do usuário, Aplicativo

Descrição gerada automaticamente​

 

Compliant with the source vCenter’s VMs:

Interface gráfica do usuário, Texto, Aplicativo, Email

Descrição gerada automaticamente​

 

3 – Next Steps

Prepare for migration: https://blogs.oracle.com/lad-cloud-experts-pt/post/migrating-vms-with-oracle-cloud-migrations-part-3-prepare-for-migration