[Ocfs2-users] OCFS2 volumes do no mount automatically on RHEL4 also

Zafar_Mahmood at Dell.com Zafar_Mahmood at Dell.com
Tue Jun 28 13:30:59 CDT 2005


On RHEL4 also, the service o2cb starts later than _netdev device mounts.
So mount fails. Should the o2cb service start earlier to fix this?


Zafar

-----Original Message-----
From: ocfs2-users-bounces at oss.oracle.com
[mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of
ocfs2-users-request at oss.oracle.com
Sent: Tuesday, June 28, 2005 12:00 PM
To: ocfs2-users at oss.oracle.com
Subject: Ocfs2-users Digest, Vol 18, Issue 13

Send Ocfs2-users mailing list submissions to
	ocfs2-users at oss.oracle.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://oss.oracle.com/mailman/listinfo/ocfs2-users
or, via email, send a message with subject or body 'help' to
	ocfs2-users-request at oss.oracle.com

You can reach the person managing the list at
	ocfs2-users-owner at oss.oracle.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ocfs2-users digest..."


Today's Topics:

   1. Re: mounting ocfs2 partitions on boot (Sunil Mushran)
   2. Dual NICs for OCFS2 (Ivan Vasquez)
   3. Re: Dual NICs for OCFS2 (Zach Brown)


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Jun 2005 11:46:15 -0700
From: Sunil Mushran <Sunil.Mushran at oracle.com>
Subject: Re: [Ocfs2-users] mounting ocfs2 partitions on boot
To: Jan Schmidt <schmidt4 at uni-greifswald.de>
Cc: ocfs2-users at oss.oracle.com
Message-ID: <42C04977.1070205 at oracle.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

SLES does not appear to have the script to support mounting
_netdev devices on boot.

So, add the command(s) in /etc/init.d/boot.local to explicitly
mount the volume(s) on bootup.

mount -t ocfs2 /dev/sdX /dir

Jan Schmidt wrote:

>
> It seems, that the volumes are not mounted automatically on SLES9. Are

> there any
> further requirements to make this work? After adding _netdev at fstab 
> I can boot the
> system without mount errors, but the volumes are not mounted after 
> ocfs2 is available
> and before the OCM, database etc. are started.
>
> At 00:24 25.06.2005, Sunil Mushran wrote:
>
>> 1. Specify load on boot in o2cb configure.
>> 2. Specify device as _netdev in /etc/fstab.
>>
>> /dev/sdc1              /ocfs                   ocfs2
>> _netdev,defaults        0       0
>>
>> It works.
>>
>> Jan Schmidt wrote:
>>
>>> Hi list,
>>>
>>> today, I installed a two node Oracle 10g RAC system on SLES9 SP2 RC2

>>> which shares
>>> (via a SAN) a database volume and a quorum (ocr and voting). This 
>>> volumes are formated
>>> with ocfs2 - so far no problem.
>>> At the moment I'm stuck with the mounting of these volumes at boot 
>>> time. The user-guide
>>> of ocfs2-tools mentions to add the corresponding lines to fstab - 
>>> but at the time when
>>> fstab is processed the ocfs2 cluster isn't available (it will be 
>>> started later).
>>> Is there any way (without hacking rc scripts etc.) to load this 
>>> volumes as boot time?
>>>
>>> Thanks
>>> Jan Schmidt
>>>
>>> _______________________________________________
>>> Ocfs2-users mailing list
>>> Ocfs2-users at oss.oracle.com
>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>
>
> ---------------------------------------------------------------
> AG Anwendungen/Multimedia Rechenzentrum Universit?t Greifswald
> http://www.multimedia.uni-greifswald.de/
> Tel: +49 3834 861416 Fax: +49 3834 8680016
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



------------------------------

Message: 2
Date: Tue, 28 Jun 2005 10:03:12 -0400
From: "Ivan Vasquez" <ivan at itos.uga.edu>
Subject: [Ocfs2-users] Dual NICs for OCFS2
To: <ocfs2-users at oss.oracle.com>
Message-ID:
	<E847569A71B97E418C1BD5315164F98FDE48D3 at HERMES.itos.uga.edu>
Content-Type: text/plain;	charset="US-ASCII"

To avoid a single point of failure, we are configuring an Oracle cluster
with two private NICs per node. They are directly attached via crossover
cable to its peer on the other server (two-node cluster).

How can we tell OCFS2 that it has available a second card?

Here is our cluster.conf:

node:
        ip_port = 7777
        ip_address = 10.10.2.1
        number = 0
        name = neo
        cluster = rac

node:
        ip_port = 7777
        ip_address = 10.10.2.2
        number = 1
        name = trinity
        cluster = rac

cluster:
        node_count = 2
        name = rac

Thanks,
Ivan


------------------------------

Message: 3
Date: Tue, 28 Jun 2005 09:33:59 -0700
From: Zach Brown <zach.brown at oracle.com>
Subject: Re: [Ocfs2-users] Dual NICs for OCFS2
To: Ivan Vasquez <ivan at itos.uga.edu>
Cc: ocfs2-users at oss.oracle.com
Message-ID: <42C17BF7.3060402 at oracle.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ivan Vasquez wrote:
> To avoid a single point of failure, we are configuring an Oracle
cluster
> with two private NICs per node. They are directly attached via
crossover
> cable to its peer on the other server (two-node cluster).
> 
> How can we tell OCFS2 that it has available a second card?

OCFS2 doesn't specifically deal with this setup itself.  You can 
configure the two interfaces to be bonded into a single logical one in 
the kernel and OCFS2 will use that bonded interface, via its IP address,

just like it would a typical single interface.

A good place to start might be the kernel's documentation of this 
functionality.  It mentions that some distributions have config files 
that help manage the bonded interfaces.

	http://lxr.linux.no/source/Documentation/networking/bonding.txt

- z


------------------------------

_______________________________________________
Ocfs2-users mailing list
Ocfs2-users at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


End of Ocfs2-users Digest, Vol 18, Issue 13
*******************************************



More information about the Ocfs2-users mailing list