Xen Appliance Conversion
From Novell Cool Solutions.
-
Download the wanted Xen appliance from the Novell site. I chose iPrint 2 as my test appliance because I want to test iPrint.
-
Unarchive the download. You should have a folder with a raw disk image and a xenconfig file. My Filr disk image is 21+ GB in size once it is expanded. The xenconfig file is only 179 bytes.
-
Open your terminal application of choice and move into that newly created appliance folder.
-
Grab xva.py and drop it into the folder above the unarchived appliance folder. I used
curl http://www-archive.xenproject.org/files/xva/xva.py > xva.py
but you better just grab it from here. -
Now is the fun part. Make sure you have enough free disk space to handle making a copy of the disk image. Also, make sure that xva.py is within that appliance folder. It will just make things easier.
-
Next I ran the following:
python xva.py iPrintAppliance-2.0.0.529/iPrintAppliance.x86_64-2.0.0.529.xenconfig -d iPrintAppliance-2.0.0.529/iPrintAppliance.x86_64-2.0.0.529.raw -f iPrintAppliance-2.0.0.2529.xva
which will inspect the image and then output the whole thing as an XVA for import into XenServer. The xenconfig file contains the name of the disk image and other parameters needed, but there is the possibility you will need to include the disk anyway.
Troubleshooting
-
You might need to use the
-d
flag to specify where to find the raw disk