--- 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
|