[CentOS] Migrating standalone systems to KVM

2011-04-24 Thread R P Herrold
On Sun, 24 Apr 2011, Jussi Hirvi wrote:

 Does anyone have the .iso image of virt-p2v? It is not available anymore
 through that link. The source is available, but building it requires a
 *lot* of packages, some of which seem to be hard to find.

I have a copy in my archive, but how about contacting Richard 
Jones, and asking him for an update or replacement?

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-04-24 Thread Jussi Hirvi
 On Sun, 24 Apr 2011, Jussi Hirvi wrote:
   Does anyone have the .iso image of virt-p2v? It is not available anymore
   through that link. The source is available, but building it requires a
   *lot*  of packages, some of which seem to be hard to find.

Good idea, but I begin to be short of time... I would be grateful to 
have your copy, if you don't have any scruples about that - though the 
Clonezilla method is probably viable too.

http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#Physical_server_to_Proxmox_VE_.28KVM.29_using_Clonezilla_Live_CDs

RJ's website says he is (was?) in the process of rewriting virt-p2v.

 I have a copy in my archive, but how about contacting Richard
 Jones, and asking him for an update or replacement?

- Jussi

-- 
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Migrating standalone systems to KVM

2011-04-24 Thread R P Herrold
On Sun, 24 Apr 2011, Jussi Hirvi wrote:

 RJ's website says he is (was?) in the process of rewriting virt-p2v.

 I have a copy in my archive, but how about contacting Richard
 Jones, and asking him for an update or replacement?

I'll shuttle it out into public bandwidth and advice you 
privately of the URL -- it is a bit over 200M, so it will take 
a little while

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-04-06 Thread Mister IT Guru
On Thu, 2011-03-31 at 21:38 -0400, Kanwar Ranbir Sandhu wrote:
 On Thu, 2011-03-31 at 05:41 -0700, Benjamin Franz wrote:
  I haven't tried it, but in theory you could take a clonezilla image of 
  the physical machine and restore it to a KVM disk image: Just create the 
  initial virtual drives at least as large as the originals, boot 
  clonezilla in the VM and restore from the images.
 
 That's an excellent idea! I didn't consider it when I was trying to
 figure out how to migrate a physical CentOS 5 server to a KVM.
 
 I will try this just for shits and giggles.
 
 Regards,
 
 Ranbir
 

This is pretty awesome for linux boxen, but just so that you know, it'll
not be as straight forward for a windows box! That puppy there is an
adventure in itself.

But just to note - Did the migration go smoothly?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-04-05 Thread Jussi Hirvi
 On Thu, 2011-03-31 at 05:41 -0700, Benjamin Franz wrote:
   I haven't tried it, but in theory you could take a clonezilla image of
   the physical machine and restore it to a KVM disk image: Just create the
   initial virtual drives at least as large as the originals, boot
   clonezilla in the VM and restore from the images.
 That's an excellent idea! I didn't consider it when I was trying to
 figure out how to migrate a physical CentOS 5 server to a KVM.

On 1.4.2011 4.38, Kanwar Ranbir Sandhu wrote:
 I will try this just for shits and giggles.

Please let us know what you will find out.

- Jussi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-04-05 Thread Ljubomir Ljubojevic
Jussi Hirvi wrote:
 On Thu, 2011-03-31 at 05:41 -0700, Benjamin Franz wrote:
  I haven't tried it, but in theory you could take a clonezilla image of
  the physical machine and restore it to a KVM disk image: Just create the
  initial virtual drives at least as large as the originals, boot
  clonezilla in the VM and restore from the images.
 That's an excellent idea! I didn't consider it when I was trying to
 figure out how to migrate a physical CentOS 5 server to a KVM.
 
 On 1.4.2011 4.38, Kanwar Ranbir Sandhu wrote:
 I will try this just for shits and giggles.
 
 Please let us know what you will find out.
 
 - Jussi

I converted several bare-metal Windows systems to VirtualBox. KVM should 
be the same. I would clone C: partition to image file, create VirtualBox 
  virt system with same partition size and create virtual shares 
whereimage file is located.
Then I would clone from image to partition of virtual system and then 
reset Windows IDE drivers (Hiren's Boot CD and some BartPE can do it.)

Doing this on Linux would entail dd or other cloning procedure and 
LiveCD or Installation media to be able to change hdd/partition device 
paths/names (if necessary) and you are done.

Ljubomir

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Migrating standalone systems to KVM

2011-03-31 Thread Jussi Hirvi
A while ago I got great instructions from Pasi for migrating standalone 
systems to *xen*. However, now I have decided to use KVM instead, which 
raises a new question:

How to migrate a standalone system to *KVM*?

I know a two-step way to do it:
standalone system - xen pv guest
xen pv guest - KVM pv guest

I read that xen - KVM migration is trivially easy.

But is there an easier (one-step) way to do this?

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-03-31 Thread nux
Jussi Hirvi writes:

 A while ago I got great instructions from Pasi for migrating standalone 
 systems to *xen*. However, now I have decided to use KVM instead, which 
 raises a new question:
 
 How to migrate a standalone system to *KVM*?
 
 I know a two-step way to do it:
   standalone system - xen pv guest
   xen pv guest - KVM pv guest
   
 I read that xen - KVM migration is trivially easy.
 
 But is there an easier (one-step) way to do this?
 
 - Jussi

Hi,

Check this out:
http://people.redhat.com/~rjones/virt-p2v/virt-p2v.1.html


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-03-31 Thread Kevin Thorpe


  How to migrate a standalone system to *KVM*?


This is probably way outside the scope of this discussion but I used to use
VMWare because it
could actually boot standard installed drives. Came in useful more than once
to get a failed
server back online in minutes.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-03-31 Thread Alain Péan
Le 31/03/2011 11:38, Jussi Hirvi a écrit :
 A while ago I got great instructions from Pasi for migrating standalone
 systems to *xen*. However, now I have decided to use KVM instead, which
 raises a new question:

 How to migrate a standalone system to *KVM*?

 I know a two-step way to do it:
   standalone system -  xen pv guest
   xen pv guest -  KVM pv guest
   
 I read that xen -  KVM migration is trivially easy.

 But is there an easier (one-step) way to do this?

 - Juss

Hi Juss,

This link explains how to migrate from physical machine to virtual 
(P2V), for Prowmox ve, which uses KVM (and openvz). But the techniques 
explained here (based on clonezilla or System rescue CD) should apply to 
KVM in a CentOS environnement too.

http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE

Basically, you copy the image file from the physical server, on the 
network, with clonezilla or System Rescue CD, then you prepare a VM 
using raw drives, and you replace the raw files by the image files of 
the physical machine.

Notice that for a windows machine (no support for SCSI in KVM), you have 
first to prepare the machine to use IDE drives, using the registry patch 
mergeide.reg.

Hope that helps.

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-03-31 Thread Benjamin Franz
On 03/31/2011 02:38 AM, Jussi Hirvi wrote:
 A while ago I got great instructions from Pasi for migrating standalone
 systems to *xen*. However, now I have decided to use KVM instead, which
 raises a new question:

 How to migrate a standalone system to *KVM*?

 I know a two-step way to do it:
   standalone system -  xen pv guest
   xen pv guest -  KVM pv guest
   
 I read that xen -  KVM migration is trivially easy.

 But is there an easier (one-step) way to do this?

 - Jussi


I haven't tried it, but in theory you could take a clonezilla image of 
the physical machine and restore it to a KVM disk image: Just create the 
initial virtual drives at least as large as the originals, boot 
clonezilla in the VM and restore from the images.

-- 
Benjamin Franz
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-03-31 Thread Jussi Hirvi
On 31.3.2011 12.42, n...@li.nux.ro wrote:
 Check this out:
 http://people.redhat.com/~rjones/virt-p2v/virt-p2v.1.html

Hei,

That looks like a very useful tip.

- Jussi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating standalone systems to KVM

2011-03-31 Thread Kanwar Ranbir Sandhu
On Thu, 2011-03-31 at 05:41 -0700, Benjamin Franz wrote:
 I haven't tried it, but in theory you could take a clonezilla image of 
 the physical machine and restore it to a KVM disk image: Just create the 
 initial virtual drives at least as large as the originals, boot 
 clonezilla in the VM and restore from the images.

That's an excellent idea! I didn't consider it when I was trying to
figure out how to migrate a physical CentOS 5 server to a KVM.

I will try this just for shits and giggles.

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.32.26-175.fc12.x86_64 x86_64 GNU/Linux 
21:37:24 up 5 days, 12:05, 2 users, load average: 0.27, 0.16, 0.07 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos