Extracting and Uploading VMs from vCenter, vSphere, or ESX Server into Ravello

If your virtual machine is running on a vCenter, vSphere or ESX, then it is recommended that you extract it directly from those servers.

Installing the VM Import Tool

You can import your virtual machines (VMs) or disk images either by using the Ravello Import Tool or command line interface (CLI) Import Tool. The CLI allows you to import your VMs and will give you the flexibility of automating the import process.

Download the tool from the Ravello VM Import Tool page and import your VMs using the Ravello console. You can install the VM Import Tool on a Windows, Linux, or Mac OS X host.

Alternatively, you can install the Ravello VM Import Tool from the Ravello console itself. The URL of the Ravello console is typically provided to you by your Oracle Cloud Account administrator. It is also available in the Welcome email received when you subscribed to Oracle Ravello Cloud Service. Log into the Ravello console:

  • Select the Library > Disk Images page, click + Import Disk Image. If the VM Import Tool has not yet been installed, the following web page is displayed: “Unable to connect to the Ravello VM Import Tool” with the options for downloading the tool.
  • Select the Library > VMs page, click + Import VM. If the Import Tool has not yet been installed, the following web page is displayed: “Unable to connect to the Ravello VM Import Tool” with the options for downloading the tool.
Downloading the GUI VM Import Tool

If you select Download GUI VM Import Tool, then you can import VMs from within the Ravello user interface.

Install the tool according to the Operating System (OS) you selected:

  • For a Windows operating system, follow the on-screen instructions to download and install the utility.
  • For a Mac operating system, double-click thedmg file and drag it into the installation folder.
  • For a Linux operating system, download and extract thetar.gz installation file. This will automatically creates the Ravello folder in your system. Run the Ravello\installer.sh file to install the utility. If any dependency file is missing, follow the on-screen instructions to install the missing files.
Downloading the CLI VM Import Tool on a Windows Host

The CLI method allows you to import your VMs offline and will give the flexibility of automating the import process. If you select Download CLI VM Import Tool, then extract the file provided and use the CLI method to import your VMs.

  1. Select Download CLI VM Import Tool and download the zip file.
  2. Extract the zip file from the downloaded location and run the executable file.

Note: If a problem occurs, follow the instructions contained in the README file to install the CLI using a python script.

Locating and Verifying the VM Import Tool Installation

All the installation files are saved under C:\Program Files (x86)\Ravello Systems. When you download the Ravello VM Import Tool, an icon will appear on the taskbar to notify you that the task is running. If it is not running, then on the Windows machine, run the executable file from C:\Program Files (x86)\Ravello Systems\Ravello import utility\ravello_vm_import_server.exe.

Downloading the CLI VM Import Tool on a Linux or Mac OS X Host

The CLI method allows you to import your VMs offline and will give the flexibility of automating the import process. If you select Download CLI VM Import Tool, then extract the file provided and use the CLI method to import your VMs.

  1. Select Download CLI VM Import Tool and download the zip file.
  2. Extract the zip file from the downloaded location.
  3. Run the command./install.sh.

 

Import VM

To extract and upload VMs from vCenter, vSphere, or an ESX server:

  1. Stop the VMs before extracting them.
  2. You will need the location of your vCenter, vSphere, or ESX server and your login credentials. After you use the VM Import Tool to connect to the vCenter, vSphere, or ESX server, you can then select VMs so they can be uploaded into your Ravello account. This process has no effect on the source VM.
  3. Log in to the Ravello console and navigate to Library > Disk Images and click +Import Disk Image.

When prompted, enter the password you use to log on to Ravello. You will see the VMs that are already imported and their status in the Ravello VM Import Tool page. You can upload more VMs if needed.

4. Click Upload New Item.

5. Select Extract and upload VMs from vCenter, vSphere or ESX (recommended) and click Next.

6. Enter the vCenter or an ESX IP address or host name, and the necessary login credentials, and then click Start.

Note: The top level of the hierarchy displayed varies according to whether you connect to a vCenter or an ESX server.

7. On the Select a VM page, drill down to locate and select the VM to extract.

8. (Optional) If you prefer to extract the VM now but upload it later, select Export only and click Choose folder to specify the location where you want to save the extracted VM.

Note: You can upload the VM later by selecting Upload a VM from OVF file or Ravello Export file in the Ravello VM Import Tool.

9. Click Upload.

The VM is added in the VM Import Tool page. The progress of the upload process is indicated for each VM.

Note: If you experience slow access to vCenter VMs, usually it is due to connectivity to vCenter. It is recommended to run the tool on the same network or move only the python server.

 

Creating a Ravello Application

You can create a new application instance based on your imported VMs or use an existing blueprint to modify your application.

Note: If you are creating this application based on a blueprint, then select From Blueprint in the Applications page and choose a blueprint from the drop-down list. If you select Create Application from the Library > Blueprints design workspace, then the blueprint is selected for you by default.

If you are creating an application based on a public VM, then select an existing key pair from the Key Pair drop-down list or click to add a new key pair. For details on generating and importing key pairs, see Working With Key Pairs.

To create an application:

  1. Navigate to Applications > Create Application.
  2. Enter a name and description for the application.

The application instance canvas opens in a new tab automatically.

3. All your imported VMs will be listed in the left pane, you can also find them in Library. In the Canvas tab, drag an image name from the VM Library onto the workspace. If you want it to be part of a group, drag it directly onto the group object. The group object outline turns blue when selected.

When you drag and drop a VM on the workspace, its details appear at the right hand side on the details pane, where you can edit the image properties for the current design. The source image that was saved in the library will not be modified.

4. Check your network in the Network tab.

Ravello automatically compiles a private encapsulated network for this application. When you uploaded those VMs, meta data will be parsed to extract the networking information and then a network is constructed to fit the needs of this application. So Application will have the network exactly the same way as your data center.

 

Publishing Your Application

After you create and validate your application, you can publish your application to cloud.

To publish an application:

  1. After you validate your application, in the Application Canvas workspace, click Publish.

The Publish Application dialog box is displayed.

2. Each time you deploy an instance of your application, you can choose to optimize your deployed application for cost or for performance. If you select,

  • Cost Optimization — Ravello auto-selects the best public cloud from the supported region list to meet your application requirements at the lowest possible cost.
  • Performance Optimization — you decide on which specific cloud region your application instance will be deployed, and you experience highest performance possible.

3. Select the duration for which you want to run the application before it is stopped automatically. The default is 2 hours. If you select Never, then the application will never stop until you manually stop the application.

4. View the publishing cost for the selected type of optimization, cloud provider, and region in Detailed Pricing.

5. Click Publish to deploy your application to cloud. The publishing process might take a few minutes.

Note: After you publish an application, you cannot make changes to the Cloud-init configuration where key pair is defined. This setting must be configured in the VM before publishing it to the cloud.

When you publish an application, Ravello mounts its own hypervisor on the cloud and will run your virtual machines directly on it without using any of your hypervisors.

 

 

Related Posts

Let us fetch you the latest from Oracle!





Not a robot?
Enter the sum of 8 + 9 below:

* Indicates required field.

Success! Thank you!