Need help?

Call Us: 306-966-2222
or: 1-800-966-4817
     (Toll Free in Canada)

Email Us

Chat with Us:
Monday - Friday
8:00 am - 5:00 pm
Please call for password resets

Visit the ICT Service Desk in Arts 70

How to Import a VM

There can be problems with importing VMs so, wherever possible, we recommend that you deploy new VMs from the ICT-supported templates and migrate your applications to them.

If that is not possible, the following instructions may be of assistance but may not work in all cases.

Importing a VM using the OVF Template Export Method

Prerequisites
  • Windows VMware client
  • Enough space for the VM you wish to migrate
  • Windows system with Java installed
Procedure:
  1. 48 hours in advance, open support tickets as follows:
    • Email netadmin-tracks@usask.ca to request the TTL for your existing hostname be lowered to 15 minutes (from the default 24 hours) since the IP address will be changing.
    • Email iprequest@usask.ca stating when you will be performing the cloud migration and when you expect to complete it.
    Note: Please keep the reply emails you receive on hand so you can reply to them with new IP information during the migration process.

  2. Using the VMware windows client, connect to the ESXi host where the VM you wish to migrate is located.
  3. Select the VM you want to move, power it down, and then select File > Export > Export OVF Template.
  4. Save as file type OVF. Take note of where you have saved this OVF package file.
  5. Log into the U of S Cloud Service.
  6. Click on Advanced Interface on the upper right.
  7. On the new login screen, log in again using your NSID and password.
  8. Click on the Catalogs button at the top.
  9. If you do not have any existing catalogs, you must create at least one. 
    To do so, click the + sign; give the catalog a name; click Next, click Next again, and then click Finish.
  10. Click on the catalog name link to open the catalog. Click the upload from hard drive icon which looks like a small hard drive with an arrow.
  11. Select the OVF package file you exported in Steps 3 & 4. Give it a name and click Upload.
  12. Once the file has uploaded, it will appear in the catalog list. Its status will appear as Processing and then Ready.
  13. Right-click on the template and select Add to Cloud.
  14. Enter a name for the vApp and click Finish. (The networking will be configured later).
  15. Navigate to the VM. Once the template completes deploying by selecting the Vapps link from the menu on the left, click on the vapp name and select the Virtual Machines tab. 
  16. Select the VM in the list, right click and select Properties. Select the Hardware tab and scroll down to NICs. Click the delete button next to the NIC and click OK.  Wait for this to process. It may take a few minutes.
  17. Reopen the Properties dialog and select the Hardware tab and re-add a new NIC by selecting the Add button. Select the appropriate network and leave the setting as Static IP Pool and select OK. (If the network does not appear in the drop-down menu, you may have to select Add Network -> Organization VDC network -> U of S Only Network or Public Internet Network as appropriate
  18. Perform IP request to migrate the DNS name and IP address from your old environment to the new ICT cloud.

Here is the point you will want to reply to the iprequest ticket you opened with ICT networks in the prerequisites informing them of the new details. 

By default VMs are randomly assigned names in the format cld-XXXXXXX which is likely not convenient.  Assuming you want to continue to use the same name, send an email to iprequest@usask.ca with the following:

delete;aa:aa:aa:aa:aa:aa;nsid;;;existinghostname;;;;oldipv4address;;tagProvisioned

modify;bb:bb:bb:bb:bb:bb;nsid;;;existinghostname;;;;newipv4address;;tagProvisioned

    where aa:aa:aa:aa:aa:aa = the old mac address in your old ESXi environment,

    nsid = your U of S NSID,

    existinghostname = the hostname of the VM on your OLD ESXi environment,

    oldipv4address = the old IPv4 address of the VM in your ESXi setup,

    bb:bb:bb:bb:bb:bb = the new mac address that can be seen under the VMs Properties->Hardware->NICs dialog,

    and newipv4address = the new IP address that can be seen under the VMs Properties->Hardware->NICs dialog

Once the IP request ticket is completed and the new DNS record is available you may continue.

  1. Now that ICT has updated DNS, you may need to update your VM with the new DNS name in the Properties dialog. You can let the system update it automatically by simply opening the Properties dialog and ranging the Computer name to anything and selecting OK. The system will automatically check with DNS and update the name to the correct name in the background. This process may take a few minutes. Clicking the refresh icon will show the changes faster.
  2. You may now power up the virtual machine.
  3. Depending on your configuration you may need to open the console and update the IP address information.
  4. Ensure you install and/or update the VM tools running on the system.

Process completed.

Last modified on