cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Kimlaychuk <Vadim.Kimlayc...@Elion.ee>
Subject RE: Help in importing VM
Date Mon, 08 Jun 2015 10:21:14 GMT
Hello Alessandro,



                This is OK if you did snapshot(s). The original VDI will be displayed if you
get VM params and looks for extra options there. There are may be even more files connected
to VM.  Don’t bother about this.

Roughly you should do the following steps:

1.       Stop the VM

2.       Make export  with “xe vm-export” to  XVA file

3.       Extract VHD file from XVA using XenConvert (look here http://marcusdaniels.net/quick-and-easy-xenserver-to-hyper-v-conversion/)

4.       Put VHD file on HTTP server

5.       Register template in Cloudstack from URL at p.4



Vadim.



-----Original Message-----
From: Alessandro Caviglione [mailto:c.alessandro@gmail.com]
Sent: Monday, June 08, 2015 1:12 PM
To: users@cloudstack.apache.org
Subject: Help in importing VM



Hi guys,

I've a little question about how to import a VM in ACS.

A my client has a VM running on XenServer 6.2 SP1, now he wants to migrate to our Cloud platform
and we should import that VM in his account.

We done a snapshot of the running VM and created a new VM from that snapshot, after that we
found the VHD name from the commands:



xe vm-list name-label=TOMIGRATE

uuid ( RO)           : 9ab667ef-32b9-d61b-73ef-4d6c40196c43

     name-label ( RW): TOMIGRATE

    power-state ( RO): halted





xe vm-disk-list uuid=9ab667ef-32b9-d61b-73ef-4d6c40196c43

Disk 0 VBD:

uuid ( RO)             : 1a47a516-1268-d134-7161-3d37972a2be6

    vm-name-label ( RO): TOMIGRATE

       userdevice ( RW): 0





Disk 0 VDI:

uuid ( RO)             : 7b856647-9893-4275-8738-755046817c7b

      name-label ( RW):

    sr-name-label ( RO): 76ebfe94-cb9d-390d-bb6d-8dc21e977bdd

     virtual-size ( RO): 5368709120



Now, browsing the NFS SR, I found the

7b856647-9893-4275-8738-755046817c7b.vhd file, but it's strange that the size it's just 14
KB!!



Why?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message