WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Manual p2v

Subject: 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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type; bh=wMxpmcnFRbaXONXGTvVkh7IXNFy6RCO21thDrluB4BQ=; b=BcqJ3F5rCcfh9POSwf/gcOmkC0zGd2ilY2QgMOnDYVhZDQYgfGEiFvb5BmlVGCzbmm PPoqhqy/RALNnlhd7/NfAs0/7DnJYPySgKw5eqCXySOWD3udwl5koiNLR4v9RtZk09Zs 6svwuyPB0Ih7qD06YQoghrF7T8PMNbLR29miA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BF43AEB.9030902@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikMmc23BnCoYTTJKuL7EWUIp49eNKHt9edDIP6n@xxxxxxxxxxxxxx> <64D0546C5EBBD147B75DE133D798665F055D91F7@xxxxxxxxxxxxxxxxx> <AANLkTimVN1di1CP5laygFrw0U2cQJa5HLXosqHoOr9w9@xxxxxxxxxxxxxx> <AANLkTikekI89YKcKC9V8EEpc3lZUwh1UHTbfDfXwVkWN@xxxxxxxxxxxxxx> <AANLkTil8Fc_u4CzcPwDMynikudczAR9xilfpErn_n7Xr@xxxxxxxxxxxxxx> <4BF43AEB.9030902@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have documented of what I have done so far for successful conversion


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
<Prev in Thread] Current Thread [Next in Thread>