Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RAC on Linux raw - how to share raw disks

Re: RAC on Linux raw - how to share raw disks

From: Jeffrey Hunter <jhunter_at_iDevelopment.info>
Date: 21 May 2004 11:18:35 -0700
Message-ID: <9dfc69b4.0405211018.b3baca0@posting.google.com>


pagesflames_at_usa.net (Dusan Bolek) wrote in message news:<1e8276d6.0405210508.7946ed9_at_posting.google.com>...
> jhunter_at_iDevelopment.info (Jeffrey Hunter) wrote in message news:<9dfc69b4.0405190857.41e24d86_at_posting.google.com>...
>
> > I finally finished my article entitled, "Building an Inexpensive
> > Oracle9i RAC Configuration on Linux". For this article, I put together
> > two Linux boxes (Fedora Core 1) and using a FireWire drive for the
> > shared storage device. The article is lengthy, but I tried to cover
> > every possible issue while performing this type of install. Please
> > keep in mind that this is for development purposes only and not
> > support by Oracle.
> >
> > http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle9iRAC/CLUSTER_1.shtml
> >
> > I hope this helps.
>
> Your paper looks good. However, I do not understand one point:
>
> Why are you suggesting to put into rc.local (autoexecuted during
> system startup) also statements that have to be executed only once,
> such as chmod and creation of symbolic links?


Thank you Dusan! You are correct about some of the commands that I have contained in the /etc/rd.local file. Most of the commands I have put into this script should be run on each boot of the machine(s). At the end of the script, however, you do not need to create the symbolic links in the directory: /u01/app/oracle/oradata/orcl. I included the section of my /etc/rc.local that you could comment out. I think it was around this time that I was getting a little lazy. ;-)

# +---------------------------------------------------------+
# | CREATE SYMBOLIC LINKS                                   |
# +---------------------------------------------------------+

mkdir /u01/app/oracle/oradata
mkdir /u01/app/oracle/oradata/orcl

ln -s /dev/raw/raw1  /u01/app/oracle/oradata/orcl/CMQuorumFile
ln -s /dev/raw/raw2  /u01/app/oracle/oradata/orcl/SharedSrvctlConfigFile
ln -s /dev/raw/raw3  /u01/app/oracle/oradata/orcl/spfileorcl.ora
ln -s /dev/raw/raw4  /u01/app/oracle/oradata/orcl/control01.ctl
ln -s /dev/raw/raw5  /u01/app/oracle/oradata/orcl/control02.ctl
ln -s /dev/raw/raw6  /u01/app/oracle/oradata/orcl/control03.ctl
ln -s /dev/raw/raw7  /u01/app/oracle/oradata/orcl/cwmlite01.dbf
ln -s /dev/raw/raw8  /u01/app/oracle/oradata/orcl/drsys01.dbf
ln -s /dev/raw/raw9  /u01/app/oracle/oradata/orcl/example01.dbf
ln -s /dev/raw/raw10 /u01/app/oracle/oradata/orcl/indx01.dbf
ln -s /dev/raw/raw11 /u01/app/oracle/oradata/orcl/odm01.dbf
ln -s /dev/raw/raw12 /u01/app/oracle/oradata/orcl/system01.dbf
ln -s /dev/raw/raw13 /u01/app/oracle/oradata/orcl/temp01.dbf
ln -s /dev/raw/raw14 /u01/app/oracle/oradata/orcl/tools01.dbf
ln -s /dev/raw/raw15 /u01/app/oracle/oradata/orcl/undotbs01.dbf
ln -s /dev/raw/raw16 /u01/app/oracle/oradata/orcl/undotbs02.dbf
ln -s /dev/raw/raw17 /u01/app/oracle/oradata/orcl/users01.dbf
ln -s /dev/raw/raw18 /u01/app/oracle/oradata/orcl/xdb01.dbf
ln -s /dev/raw/raw19 /u01/app/oracle/oradata/orcl/perfstat01.dbf
ln -s /dev/raw/raw20 /u01/app/oracle/oradata/orcl/redo01.log
ln -s /dev/raw/raw21 /u01/app/oracle/oradata/orcl/redo02.log
ln -s /dev/raw/raw22 /u01/app/oracle/oradata/orcl/redo03.log
ln -s /dev/raw/raw23 /u01/app/oracle/oradata/orcl/orcl_redo2_2.log

chown -R oracle:dba /u01/app/oracle/oradata Received on Fri May 21 2004 - 13:18:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US