A
A
al_indigo2013-04-22 18:54:11
Xen
al_indigo, 2013-04-22 18:54:11

XenCloudPlatform 1.6, .xva conversion => .ovf and vice versa?

Hello. I'm trying to learn XenCloudPlatform and I've run into an unexpected problem. The problem has two parts:

  1. First of all, I would like to be able to pull virtual machines from XCP to other virtualization environments, I think there is no need to explain the reasons. At the same time, it is completely incomprehensible how to do this, because none of the tools offered out of the box work:
    • XenCenter has an "Export" button that seems to satisfy every possible need. But with any arrangement of checkboxes in the dialog box, the task ends in a second with the error “export failed” (and it’s even clear why, see the next paragraph)
    • After several days of searching, it became clear that the export uses a script that should be in /opt/xensource/packages/files/transfer-vm/, which in turn should be in the transfer-vm package, but such a package is only in the installed XenServer , and where to get it is unclear
    • I also installed all possible programs from the citrix conversion tools set. XenConvert since version 2.4.1 can only convert the machine it's running on, and previous versions can't convert .xva to anything else with a header error. XenServerConvertionManager can only convert Windows machines and only if there is a VMWare server and a virtual machine raised on XenServer. By itself, the XenServerConversionManagerVirtualAppliance virtual machine cannot convert anything, at least I did not understand how this is done

  2. Convert virtual machines from KVM to XEN. Everything seems not so hopeless here, but there are still two ways - either to configure the import of virtual machines in .ovf format, and this refers me to the previous problem, and packaging the virtual machine in .xva files, but again it is not clear how this can be done

Help, please, to understand. The platform itself seems quite convenient and seems to be considered reliable, but I no longer know which way to dig in order to set up export / import.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Azretik, 2014-04-07
@al_indigo

In order for the XenCenter GUI to work adequately with import and export to XenCloudPlatform in XCP, you need to install the appropriate packages that need to be removed from XenServer (Citrix).
Download the XenServer 6.1 image from the official Citrix website. I burned it to disk, inserted it into the system (you can mount it or use it as a virtual optical drive, via nfs or samba).
Open the server console and climb into packages.transfer-vm from there install the file xenserver-transfer-vm-6.1.0-59002p.noarch.rpm
that's all =) now the transfer should work, I also advise you to carry out the following procedure in the xcp console:

cd /opt/xensource/bin
    /etc/init.d/xapi stop
    cp -vp xapi xapi.original
    sed -i 's/1\.4\.90/6.0.99/g' xapi
    /etc/init.d/xapi start

All this was discovered by me ...
Well, I will clarify to the heap that I use VHD containers for virtual machines, since it is quite practical. You can work with VHD both in xcp and in windows (by connecting as a regular hard drive in the control center, and you can also work with a virtual machine in VirtualBox on a local computer, if necessary =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question