Importing VMs using the VM Imports page

This guide describes how to import x86 The most common CPU architecture. x86 CPUs support Windows and Linux VMs in Skytap Cloud. and Power A CPU architecture that supports IBM i, AIX, and Linux (on Power) in Skytap Cloud. VMs with the import tool built into your Skytap account at https://cloud.skytap.com/imports. Each import job supports up to 50 VMs and their associated networks.

Contents

Process overview

  1. Prepare and validate the VMs to make sure they meet the import requirements.
  2. Use the VM Imports tab in Skytap to create an import job.
  3. Upload the VMs to either the Skytap FTP server, your IBM Cloud Object Storage bucket, or your Microsoft Azure Blob Storage container.
  4. Start the import process. Skytap processes the VMs and creates virtual environments in your Skytap account.

Your account can have a maximum, combined total of five import and export jobs running simultaneously.

Step 1: Prepare the VMs for import

The most common cause of import errors is an improperly formatted file. Before you begin, read Preparing VMs for import to learn the requirements to successfully import x86 VMs into Skytap.

Step 2: Create Import job

Create an import job for each VM file (OVA, VMX, OVF) that you want to upload.

To create an import job
  1. From the Navigation bar in Skytap, click Environments.
  2. Click the VM Imports tab. vm imports tab

    The VM Imports tab notifies you if you do not have permission to import VMs. If needed, work with your account administrator to gain access.

  3. Click Create VM Import Job (Create VM Import Job).
  4. Provide details about the import, including:

    • The Environment name (maximum 255 characters).
    • The Destination region where the environment will be added.
    • The Data source for the VMs. Choose one of the following data sources:

  • Upload your VM files to the Skytap FTP server

    Use an SFTP client such as WinSCP to upload your VM files. Skytap provides you with the hostname, and temporary FTP account credentials for a depot on the Skytap FTP server.

    Upload import files to the upload directory.

    Skytap SFTP Information

    . Important:

    • If you have a choice for transfer method, choose binary transfer.
    • Don’t put compressed files in nested directories inside the /upload directory.
    • The temporary FTP account expires after 10 days.

    Though Skytap can accept transfers over FTP, SFTP is more secure and provides better protection against file corruption.

    SFTP client

  1. Upload your VM files to IBM Cloud Object Storage.

  2. Record the following information about your IBM Cloud Object Storage bucket:

    • Location
    • Bucket instance CRN The Cloud Resource Name (CRN) uniquely identifies a resource (in this case the bucket instance) in the IBM Cloud.
    • Authentication credentials
      • API key

        or

      • HMAC Hash-based Message Authentication Code – A short series of characters used for secure authentication. credentials:

        • Access key
        • Secret access key

    To find the location of your bucket instance and CRN

    1. From a web browser, log in to IBM Cloud.
    2. Click to display the drop-down menu.
    3. In the drop-down menu, click Resource List. The Resource List page displays.
    4. Expand the Storage section, and then click on the bucket that contains the LPAR you want to import. The resource page for that bucket displays.
    5. Click (Bucket actions) > Configuration. The Bucket details page displays.

      • The Location of the bucket displays. For example: us-south.
      • The CRN of the bucket displays. For example: crn:v1:bluemix:public:cloud-object-storage:global:a/88a8aa8aa88a8888a888aaaaa88a8888:8a88aa88-a888-88aa-a8a8-88aaaa8aa8a8:bucket:cos-standard-676.

    To find the authorization credentials for your bucket instance

    1. In the main menu, click Service credentials. The Service credentials page displays.
    2. Click New credentials. The Add new credential dialog displays.
    3. Provide details for the authorization credentials:

      • Name – Type a name for the credential.
      • Role – Select the Reader role from the drop-down menu.
      • Include HMAC Credential – Check this box to include HMAC Access and Secret access keys.
    4. Click Add to generate the authorization credentials.
    5. After the credentials are generated, click View credentials. The section expands to show the credentials for the bucket instance.

      Example:

       "apikey": "-AAAb8bb8bAAbbbAb8AAb8bbbAAb8bA-AbAAAb8AAbAb",
       "cos_hmac_keys": {
         "access_key_id": "8b888b8b888b8888b8b8888888bb888b",
         "secret_access_key": "bb8b88b8b888888b8bbbbb88b88b8b88b88888888bbb8b88"
       },
         "endpoints": "https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints",
         "iam_apikey_description": "Auto-generated for key 8b888b8b-888b-8888-b8b8-888888bb888b",
         "iam_apikey_name": "aaa-cos-standard-a88",
         "iam_role_crn": "crn:v1:bluemix:public:iam::::serviceRole:Writer",
         "iam_serviceid_crn": "crn:v1:bluemix:public:iam-identity::a/88b8bb8bb88b8888b888bbbbb88b8888::serviceid:ServiceId-b8b888b8-88bb-888b-b8b8-8888b8b88b8b",
         "resource_instance_id": "crn:v1:bluemix:public:cloud-object-storage:global:a/88b8bb8bb88b8888b888bbbbb88b8888:8b88bb88-b888-88bb-b8b8-88bbbb8bb8b8::"
       }
      
  1. Upload your VM files to Microsoft Azure Blob Storage.

  2. Record the following information about your Microsoft Azure Blob Storage container:

    • Azure connection string

      To find the Azure connection string

      1. From the Azure portal, navigate to the Storage Account with the container that holds the VMs you want to import.
      2. Under Settings click Access keys.
      3. Copy the connection string for either key1 or key2.
    • Azure container name

      To find the Azure container name

      1. From the Azure portal, navigate to the Storage Account with the container that holds the VMs you want to import.
      2. Under Blob service click Containers.
      3. Copy the name of the container.

  1. Click Save Import Job.

Step 3: Start the import process

After the VM is uploaded, click Create environment on the Skytap Import page. Skytap imports the VM file and creates your new environment.

Skytap notifies you via email when the import completes. If the import is successful, Skytap provides a link to the new environment; if the import fails, Skytap provides an error message (see Resolving import errors).

When you import a UEFI VM, you must change the firmware boot mode to UEFI for the VM to start in Skytap. For instructions, see Boot Mode.

Additional information about the import process

import progress

Skytap creates a new environment from your VMs in three stages:

  • Analyzing – Skytap checks the SFTP upload folder for VM files, confirms the file type, and compares MD5 hash values (if applicable).
  • Importing – Skytap imports the VMs.
  • Finalizing – Skytap creates the virtual environment and any associated virtual networking. Whenever possible, Skytap retains the original networking information for VMs. If the original networking can’t be found or retained, Skytap creates one or more automatic networks for the new environment.

Optional steps once the import is complete

Notes

  • Imports can take between 30 minutes to several hours to complete.
  • If you are importing VMs on hardware version 6, 7, 8, or 9 into the EMEA, US-Central, US-East-2, DE-Frankfurt-I-1, CAN-Toronto, AUS-Sydney, or AU-Sydney-I-1 region, Skytap automatically upgrades the VM to hardware version 11 during the import process. For more information about hardware versions, see Checking VM hardware version.