Xen and OpenLDAP on CentOS 5.1

Hello,
I'm trying to get the OpenLDAP jumpbox working under CentOS 5.1 using the paravirtualized method.

Here is my xen file:
import os
kernel = "/boot/vmlinuz-2.6.18-53.1.14.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.1.14.el5xen.img"
memory = 150
name = "openldap"
vif = ['type=ioemu, mac=00:00:3e:7a:f3:00, bridge=xenbr0']
disk = ['file:/home/quiringm/machines/openldap/disks/root/root.hdd,hda,w']
root = "/dev/hda1 ro"
extra = "4"

Here is the tail of when I run: #xm create -c openldap
Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Scanning logical volumes
Reading all physical volumes. This may take a while...
No volume groups found
Activating logical volumes
Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

=============================================
Can someone help me out please.
I've been banging my head against the wall for two days.

FYI, you will notice that I took the swap and var files out of the xen file. They were not included and the xen create process complaned about them not being there, so I took them out.

OK. thanks for getting back

OK. thanks for getting back to me. Atleast I can stop banging my head.

I've noticed that all of the Jumpboxes I've downloaded so far seem to not support paravirtualization. Are you able to list any that do.

That is prettymuch the case

Since paravirtualization doesn't isolate the guest as much as other virtualization technologies do, it makes it more difficult to create a single image that will work across everything. So we don't really have an image that is guaranteed to work for you.

Sorry about that.

Austin

I understand. Thanks again

I understand.
Thanks again for the quick reply.

Xen and OpenLDAP on CentOS 5.1

Sorry, but getting this to work under paravirtualized mode in CentOS is probably fairly tricky and at this point it is something we don't support.

Austin

OK. thanks for getting back

OK. thanks for getting back to me. Atleast I can stop banging my head.

I've noticed that all of the Jumpboxes I've downloaded so far seem to not support paravirtualization. Are you able to list any that do.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.