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

Re: [Xen-users] How to turn a machine running Centos from HV to PV?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Mark Pryor <tlviewer@xxxxxxxxx>
  • Date: Thu, 29 Apr 2010 10:20:04 -0700 (PDT)
  • Delivery-date: Thu, 29 Apr 2010 10:21:28 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=hwfdSSEyGyJ+qlmK36/v3f5RYxe1ZHwzUhXFJHsbOQ6MqIslWAfNBr1OsCg4BJfZqgPzrzd4CXxKYRBEa25xRJo5BjMpzq7sazzjMbwrOvJ5F4gL6NDWjjx8ERmJs83M2XrDnbWsLDe2ZA/CG7bs9oQwCpwsxg0ZKA3D9mO7Tjw=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


--- On Thu, 4/29/10, Rainer Sokoll <rainer@xxxxxxxxxx> wrote:

> From: Rainer Sokoll <rainer@xxxxxxxxxx>
> Subject: [Xen-users] How to turn a machine running Centos from HV to PV?
> To: Xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Thursday, April 29, 2010, 6:01 AM
> Hello,
> 
> really new to CentOS, I need a VM running CentOS. Right
> now, it is
> running in full virtualized mode, but I want to switch to
> paravitualization.
> What I did:
> yum install kernel-xen
> Changed menu.lst to boot xen kernel per default
> 
> My configuration in dom0 (OpenSuse):
> 
> name="centos5"
> uuid="6e50b775-3b29-f38a-610d-9368dda96dd1"
> memory=1536
> maxmem=1536
> vcpus=1
> on_poweroff="destroy"
> on_reboot="restart"
> on_crash="destroy"
> localtime=0
> keymap="de"
> builder="linux"
> bootloader="/usr/lib/xen/boot/domUloader.py"
> bootargs="--entry=xvda1:/boot/vmlinuz-2.6.18-164.15.1.el5xen,/boot/initrd-2.6.18-164.15.1.el5xen.img"
> extra=" "
> disk=[ 'phy:/dev/xen/centos5,hda,w', ]
> vif=[ 'bridge=br1,model=rtl8139', ]

bootloader = "/usr/bin/pygrub"
bootargs = "-q"
extra = " console=xvc0"
disk=[ 'phy:/dev/xen/centos5,xvda,w' ]
vif=[ 'bridge=br1' ]

the first time you bring up the br1, use
ifconfig

to get the mac address, then go add it back to your cfg
vif=[ 'bridge=br1,mac=vv:ww:xx:yy:zz' ]

this way your IP address will be fixed by your DHCP via mac.

-- 
Mark



      

_______________________________________________
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®.