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

Re: [Xen-users] Shared Memory Size in DomU


  • To: "Patrick Meisel" <meisel@xxxxxxxxxxxxx>
  • From: "james he" <jianjunhe@xxxxxxxxx>
  • Date: Wed, 15 Nov 2006 16:15:00 +0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 15 Nov 2006 00:15:20 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Sm0svnc7MZiPKDqiyu0BmVf/s3mQ0x094mqiZ809dbn6HIQwdRq8SuN+lscbnQ1w9A+Kn1YKZ6zrYnFWu64PDqNq2iQbLMfKqLR6T1No8eQ3JFoavwi4+yRjXeTR3wREWZzTTIuNuFulGR4ED7g8w4IljDcYDBtKWztUJSRRr3k=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello Patrick,
Have you solved your problem yet?
I set up a test environment with debian sarge (Dom0/U) with xen 3.0.3 on a x86 box and install oracle 9i on the domU.  I can create database with dbca.
Did you check the dbca log? Maybe you can find some hint in the log.

Here is the config file and kernel parameters I used.

config for guestOS
-------------------------
name="debian"
kernel="/boot/vmlinuz-2.6-xenU"
root="/dev/hda1"
memory=512
disk=['file:/vserver/debian.img,hda1,w','file:/vserver/debian-swap.img,hda2,w','file:/vserver/debian-db.img,hda3,w']
vcpu=2
vif=[ '','bridge=xenbr0' ]
dhcp="dhcp"
extra="3"
-------------------------

Kernel parameter
-------------------------
kernel.sem=100 32000 100 128
kernel.shmall=2097152
kernel.shmmax=268435456
kernel.shmmni=4096
fs.file-max=65536
-------------------------

Best Regard,

James


2006/11/8, Patrick Meisel <meisel@xxxxxxxxxxxxx>:
Hello James,

thanks for helping. I am using debian sarge both in Dom0 and DomU.
Currently i am working with xen 3.0.3 (Kernel 2.6.16.29) but i had the
same problem with xen 3.0.0 (Kernel 2.6.12.6).
The Problem arises when trying to create the database with dbca.

Patrick


james he schrieb:
> Hello Patrick,
>
> This problem is related to SGA size. Set proper SGA size may solve
> this problem.
> Can you provide the following information so that I can debug on my
> machine?
> 1. Linux Distribution Version
> 2. Kernel Version
> 3. Xen Version
> Thanks.
>
> Best Regard,
>
> James He
>
> Oracle OARDC
>
>
>     Hello List,
>
>     i have been trying for quite some time now to get Oracle 9i to
>     work in a
>     virtual machine and so far have failed every time. I did manage to
>     install it by now but whenever i try to create a database or start
>     the
>     server Oracle complains about an "*ORA-27123:*unable to attach to
>     shared
>     memory segment" error.
>     I do know this error from other oracle installs under debian that
>     i have
>     done and what usually does the trick is
>     echo 2147483648 > /proc/sys/kernel/shmmax/
>     echo 100 32000 100 100 > /proc/sys/kernel/sem/
>
>     Unfortunately this does not help in a DomU. The Error remains the
>     same.
>     To find the error I also tried it in the Dom0 and here it works.
>     So i guess it must be something either in the kernel (i have a
>     seperate
>     domU kernel) or it wont work because of xen itself.
>
>     Has someone been able to install oracle 9i in a virtual machine or has
>     ideas that i could try out to get this working?
>     Any hints would be greatly appreciated!
>
>     Thanks,
>
>     Patrick
>

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