[Lxc-users] databases in lxc container

Csordás Csaba Ifj. cscsordas at gmail.com
Wed Mar 13 19:14:03 UTC 2013


Hi,

finally I have added the following line to the container's fstab file:

/dev/shm  /var/lib/lxc/oracle/rootfs/dev/shm none  defaults,bind 0 0

How do I disable the memory target before /etc/init.d/oracle-xe configure?


Csordás Csaba Ifj.





On Tue, Feb 26, 2013 at 9:47 PM, Jan Den Ouden <jan at denouden.info> wrote:
> Hi Csordás,
>
> I can't give advice on whether mounting /dev/shm in a container is a good
> thing or not, but if you switch off automatic memory management in the
> database, it shouldn't require /dev/shm.
>
> Jan
>
>
>
> On Tue, Feb 26, 2013 at 8:11 PM, Csordás Csaba Ifj. <cscsordas at gmail.com>
> wrote:
>>
>> Hi List,
>>
>> the original error was:
>>
>> ORA-27101: shared memory realm does not exist. Linux Error: 2: No such
>> file or directory.
>>
>> The "solution" which made the error message produced by
>>
>> /etc/init.d/oracle-xe configure
>>
>> disappear was:
>>
>> mount -t tmpfs shmfs -o size=2048m /dev/shm
>>
>> Is this a healthy thing? Can somebody suggest a proper, official
>> solution to handle the shared memory in the container?
>>
>> Host is debian testing, guest is oracle linux 6.latest.
>>
>> Csordás Csaba Ifj.
>>
>>
>>
>>
>>
>> On Tue, Feb 26, 2013 at 8:24 PM, Csordás Csaba Ifj. <cscsordas at gmail.com>
>> wrote:
>> > Is it possible to run a database server in an LXC container?
>> >
>> > Does anybody accomplished this task with Oracle XE 10g/11g?
>> >
>> > I can't get it to working, and I need to be sure.
>> >
>> > Thanks in advance.
>> >
>> > Csordás Csaba Ifj.
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> Lxc-users mailing list
>> Lxc-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>




More information about the lxc-users mailing list