The first stage in preparing an application for deployment is to upload the VMs from the VMware vCenter, KVM.
Before you can do so, you need to:
- Export the image files from VMware vCenter, ESX server, vCloud Director or KVM. For details, refer to the “How to export virtual machine files” section.
- Download and install the VM Import Utility. For details, see "How to install the VM Import Tool".
To upload or import VMs using the Ravello UI:
- On the Library > Disk Images page, click Import.
- When prompted, enter your Ravello password.The Ravello VM Import Tool main page opens, listing the VMs already imported and their status.
- Click Upload to import additional VMs.
Select Upload a single disk image, and click Next.
Locate the file to upload as follows:
In the Folder field, enter the path to the file to upload.
From the Type dropdown list, select the type of file (OVF or Ravello Export File).
(Optional) Filter the list of available files by entering search criteria in the Filter field.
Select the file to upload and click Upload. The VM is added on the VM Import Tool main page. The progress of the upload process is indicated for each VM.
When prompted, enter the password you use to log on to Ravello.
- In the Browse for Image Template File dialog box, select the VM data file (.vmx file), and then click OK.
- If needed, you can enter or edit the image properties in the General tab of the Upload Image dialog box.
- If MAC address information is not included in the VMX file, enter it manually in the Networks tab (it should match the MAC address of your NIC).
- (Optional) Click New to define a new NIC.
- Define the NIC name, its MAC address, and device type.
- (Optional) If it is the first NIC defined for the VM and you want to enable inbound access, click Add external service. For details on configuring an elastic IP address, see Configure Elastic IP Addressing.
- (Optional) Click the Advanced link to configure additional IP addresses and the network connection mode (Access or Trunk).
12. (Optional) Define the supplied and required services in the Services tab in the Details pane.
The services indicate how the virtual machine is used, and which IP addresses and ports
it exposes. You can also define a supplied service as external, meaning that it can be accessed from
outside your network.
- In the Supported Services or Required Services area, click +Add to define a new interface.
- Define the service name, incoming port, IP address (‘Automatic’ to denote DHCP), and protocol.
- The Supplied Service Interface hostname is mapped by the system DNS to the Service Interface IP.
- Repeat for additional service interfaces as required.
Note: Although it is recommended that you define the services prior to completing the upload process, you can add or edit the services in the instance design as well.
14. (Optional) If the VM configuration management properties were not preconfigured, and
Chef configuration management is enabled for the VM, you can configure the Chef settings
in the Configuration Management tab.
15 Click Upload.
The image is added to the list of images in the Images tab. When the upload process is complete, the image status changes to Done.
While the import process is in progress, you can only delete the VM being imported.