User talk:Maurizio Marini: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(→‎Xenmigrate: new section)
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:
   xe vm-list | grep -i name-of-your-vm
   xe vm-list | grep -i name-of-your-vm


you take note or uuid
you take note of uuid


and then you can export it
and then you can export it
Line 34: Line 34:
Now you have an xva file, and you need to have row disk images.
Now you have an xva file, and you need to have row disk images.


Transger with some unix commend (scp or rsync) this xva file to proxmox server
Transfer with some unix commend (scp or rsync) this xva file to proxmox server
 
Now you have watyouwant.xva in your /root/ directory of your proxmox server
 
xva files are tar file and you should use tar command to extract disks
 
  tar xf whatyouwant.xva
 


You should  download xenmigrate by this url
You should  download xenmigrate by this url
[https://raw.githubusercontent.com/hswayne77/xenserver_to_xen/master/xenmigrate_new.py xenmigrate]
to generate img files
Refrences:
  http://www.robotics.net/2009/06/06/converting-citrix-xva-to-xenorg-img/

Latest revision as of 19:25, 31 March 2015

Welcome to Proxmox VE! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! Martin (talk) 16:22, 31 March 2015 (CEST)

Xenmigrate

Here is the step necessary to migrate a Xen 6.2 vm to proxmox 3.4

Changes to Debian VM

These are the changes needed by a Debain 6/7:

changes to grub

 sed -i -e s/console=hvc0//g /boot/grub/grub.cfg

changes to inittab

 sed -i -e s/^co/#co/1 /etc/inittab

then you poweroff your vm and you can export it

Export Debian VM

 xe vm-list | grep -i name-of-your-vm

you take note of uuid

and then you can export it

 xe vm-export uuid=xxxxx-xxxx-xxxxx-xxxxxx filename=whatyouwant.xva

xenmigrate

Now you have an xva file, and you need to have row disk images.

Transfer with some unix commend (scp or rsync) this xva file to proxmox server

Now you have watyouwant.xva in your /root/ directory of your proxmox server

xva files are tar file and you should use tar command to extract disks

 tar xf whatyouwant.xva


You should download xenmigrate by this url


xenmigrate

to generate img files


Refrences:

 http://www.robotics.net/2009/06/06/converting-citrix-xva-to-xenorg-img/