Zafar_Mahmood@Dell.com
2005-Jun-28 13:30 UTC
[Ocfs2-users] OCFS2 volumes do no mount automatically on RHEL4 also
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@oss.oracle.com [mailto:ocfs2-users-bounces@oss.oracle.com] On Behalf Of ocfs2-users-request@oss.oracle.com Sent: Tuesday, June 28, 2005 12:00 PM To: ocfs2-users@oss.oracle.com Subject: Ocfs2-users Digest, Vol 18, Issue 13 Send Ocfs2-users mailing list submissions to ocfs2-users@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@oss.oracle.com You can reach the person managing the list at ocfs2-users-owner@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@oracle.com> Subject: Re: [Ocfs2-users] mounting ocfs2 partitions on boot To: Jan Schmidt <schmidt4@uni-greifswald.de> Cc: ocfs2-users@oss.oracle.com Message-ID: <42C04977.1070205@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@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@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@itos.uga.edu> Subject: [Ocfs2-users] Dual NICs for OCFS2 To: <ocfs2-users@oss.oracle.com> Message-ID: <E847569A71B97E418C1BD5315164F98FDE48D3@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@oracle.com> Subject: Re: [Ocfs2-users] Dual NICs for OCFS2 To: Ivan Vasquez <ivan@itos.uga.edu> Cc: ocfs2-users@oss.oracle.com Message-ID: <42C17BF7.3060402@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 Oraclecluster> with two private NICs per node. They are directly attached viacrossover> 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@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users End of Ocfs2-users Digest, Vol 18, Issue 13 *******************************************
Sunil Mushran
2005-Jun-28 13:48 UTC
[Ocfs2-users] OCFS2 volumes do no mount automatically on RHEL4 also
o2cb is configured to run before netfs. Zafar_Mahmood@dell.com wrote:>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@oss.oracle.com >[mailto:ocfs2-users-bounces@oss.oracle.com] On Behalf Of >ocfs2-users-request@oss.oracle.com >Sent: Tuesday, June 28, 2005 12:00 PM >To: ocfs2-users@oss.oracle.com >Subject: Ocfs2-users Digest, Vol 18, Issue 13 > >Send Ocfs2-users mailing list submissions to > ocfs2-users@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@oss.oracle.com > >You can reach the person managing the list at > ocfs2-users-owner@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@oracle.com> >Subject: Re: [Ocfs2-users] mounting ocfs2 partitions on boot >To: Jan Schmidt <schmidt4@uni-greifswald.de> >Cc: ocfs2-users@oss.oracle.com >Message-ID: <42C04977.1070205@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@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@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@itos.uga.edu> >Subject: [Ocfs2-users] Dual NICs for OCFS2 >To: <ocfs2-users@oss.oracle.com> >Message-ID: > <E847569A71B97E418C1BD5315164F98FDE48D3@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@oracle.com> >Subject: Re: [Ocfs2-users] Dual NICs for OCFS2 >To: Ivan Vasquez <ivan@itos.uga.edu> >Cc: ocfs2-users@oss.oracle.com >Message-ID: <42C17BF7.3060402@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@oss.oracle.com >http://oss.oracle.com/mailman/listinfo/ocfs2-users > > >End of Ocfs2-users Digest, Vol 18, Issue 13 >******************************************* > >_______________________________________________ >Ocfs2-users mailing list >Ocfs2-users@oss.oracle.com >http://oss.oracle.com/mailman/listinfo/ocfs2-users > >
Joel Becker
2005-Jun-28 13:49 UTC
[Ocfs2-users] OCFS2 volumes do no mount automatically on RHEL4 also
On Tue, Jun 28, 2005 at 01:30:59PM -0500, Zafar_Mahmood@dell.com wrote:> On RHEL4 also, the service o2cb starts later than _netdev device mounts. > So mount fails. Should the o2cb service start earlier to fix this?Yes, it should. We'll look into how this changed. Joel -- "Every new beginning comes from some other beginning's end." Joel Becker Senior Member of Technical Staff Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127
Zafar_Mahmood@Dell.com
2005-Jun-28 13:54 UTC
[Ocfs2-users] OCFS2 volumes do no mount automatically on RHEL4 also
Here it how it is configured: [root@z6850n1 rc3.d]# ls -l *netfs lrwxrwxrwx 1 root root 15 May 22 08:14 S25netfs -> ../init.d/netfs [root@z6850n1 rc3.d]# ls -l *o2cb lrwxrwxrwx 1 root root 14 Jun 19 12:44 S50o2cb -> ../init.d/o2cb Zafar -----Original Message----- From: Joel Becker [mailto:Joel.Becker@oracle.com] Sent: Tuesday, June 28, 2005 1:50 PM To: Mahmood, Zafar Cc: ocfs2-users@oss.oracle.com Subject: Re: [Ocfs2-users] OCFS2 volumes do no mount automatically on RHEL4 also On Tue, Jun 28, 2005 at 01:30:59PM -0500, Zafar_Mahmood@dell.com wrote:> On RHEL4 also, the service o2cb starts later than _netdev devicemounts.> So mount fails. Should the o2cb service start earlier to fix this?Yes, it should. We'll look into how this changed. Joel -- "Every new beginning comes from some other beginning's end." Joel Becker Senior Member of Technical Staff Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127