[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Manual p2v


  • From: Paras pradhan <pradhanparas@xxxxxxxxx>
  • Date: Wed, 19 May 2010 15:41:37 -0500
  • Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 19 May 2010 13:59:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=BDvItADhjvIDd5nejk3x9m4k2pQFRP9SUqtBgih7bllbO7Us2Px//gB32p7R5yNR7N JWq1sVZSg9WcRIdNOmMaDJFw2XZF/1WZ3uCRjoSYAskyvrMX6ujs05hvpvd38DcaR4RL hIKg/CV3PjXzDNotPLB1T3uIcLUBCc8UXTGrw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I have documented of what I have done so far for successful conversion

http://www.madanhost.org/wordpress/?p=5

Might be useful to others.

Thanks
Paras.

On Wed, May 19, 2010 at 2:24 PM, Miles Fidelman <mfidelman@xxxxxxxxxxxxxxxx> wrote:
I think your domU.cfg file is missing a few things - like a kernel, ramdisk, root, and network lines.  What I have in my production VM (just transferred from a physical machine):


ALSO needs  kernel, init.d, and root= entries.  What I have:

kernel      = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk     = '/boot/initrd.img-2.6.26-2-xen-686'
memory      = '1024'

disk = [
   'drbd:newserver1-root,xvda1,w',
   'drbd:newserver1-swap,xvda2,w',
   'drbd:newserver1-backup,xvda3,w'
   ]

root        = '/dev/xvda1 ro'

name        = 'server1'
vif         = [ 'ip=207.154.13.48,mac=00:16:3E:BE:68:F5' ]


Paras pradhan wrote:
Here is where I am stuck at:
I have a xenifed kernel installed for the PV. When I do: xm create domUname -c
I get this:

---
grub.conf entry is:
title CentOS (2.6.18-194.3.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-194.3.1.el5
module /vmlinuz-2.6.18-194.3.1.el5xen ro root=/dev/xvda1 console=xvc0
module /initrd-2.6.18-194.3.1.el5xen.img
---

config file for domU is:

--
[root@cvtst1 vms]# more centos1
name = "centos1"
maxmem = 1024
memory = 256
vcpus = 1
cpus="1-2"
bootloader = "/usr/bin/pygrub"
> > > disk = [ "tap:aio:/vms/centos1.img,xvda1,w", "tap:aio:/vms/centos1.swap,xvdb1,w" ]
--


--
In theory, there is no difference between theory and practice.
In<fnord>  practice, there is.   .... Yogi Berra



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.