Installing Oracle software using NFS

Source: Internet
Author: User

Installing Oracle software using NFS

Yesterday, I used openfiler to create a nas storage system and install the Oracle software. Everything went well before that. A ora error was reported when I created a database. When I used nfs to install the Oracle database, the mount option had special requirements, the summary is as follows for future reference:

RAC

In the table below

Binaries is the shared mount points where the Oracle Home and CRS_HOME is installed.

Datafiles shortdes Online Logs, Controlfile and Datafiles

Operating System

Mount options for Binaries Mount options for Oracle Datafiles Mount options for CRS Voting Disk and OCR
Sun Solaris *

Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, proto = tcp,
Noac, vers = 3, suid

Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, proto = tcp, noac,
Forcedirectio, vers = 3, suid
Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, proto = tcp, vers = 3,
Noac, forcedirectio
AIX (5L )**

Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, proto = tcp, vers = 3,
Timeo = 600.

Cio, rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, proto = tcp, noac,
Vers = 3, timeo = 600

Cio, rw, bg, hard, intr, and rsize = 32768,
Wsize = 32768, tcp, noac,
Vers = 3, timeo = 600

HPUX 11.23 ****- Rw, bg, vers = 3, proto = tcp, noac,
Hard, nointr, timeo = 600,
Rsize = 32768, wsize = 32768, suid
Rw, bg, vers = 3, proto = tcp, noac,
Forcedirectio, hard, nointr, timeo = 600,
Rsize = 32768, wsize = 32768, suid
Rw, bg, vers = 3, proto = tcp, noac,
Forcedirectio, hard, nointr, timeo = 600
, Rsize = 32768, wsize = 32768, suid
Linux x86
#

Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, vers = 3,
Timeo = 600, actimeo = 0

Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, actimeo = 0,
Vers = 3, timeo = 600

Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, noac, vers = 3,
Timeo = 600.

Linux x86-64 # Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, vers = 3,
Timeo = 600, actimeo = 0
Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, actimeo = 0,
Vers = 3, timeo = 600
Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, vers = 3,
Timeo = 600, noac
Linux-Itanium Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, vers = 3,
Timeo = 600, actimeo = 0
Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, actimeo = 0,
Vers = 3, timeo = 600
Rw, bg, hard, nointr, rsize = 32768,
Wsize = 32768, tcp, noac, vers = 3,
Timeo = 600.

* NFS mount option "forcedirectio" is required on Solaris platforms when mounting the OCR/CRS files when using Oracle 10.1.0.4 or 10.2.0.2 or later (Oracle unpublished bug 4466428)
** AIX is only supported with NAS on AIX 5.3 TL04 and higher with Oracle 10.2.0.1 and later (NetApp)
* ** NAS devices are only supported with HPUX 11.23 or higher ONLY

# These mount options are for Linux kernels 2.6 and above for older kernels please check Note 279393.1

Due to Unpublished bug 5856342, it is necessary to use the following init. ora parameter when using NAS
With all versions of RAC on Linux (x86 & X86-64 platforms) until 10.2.0.4. This bug is fixed and pinned in 10.2.0.4 patchset.
Filesystemio_options = DIRECTIO Single Instance

Operating System

Mount options for Binaries Mount options for Oracle Datafiles
Sun Solaris *
(8, 9, 10)

Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Proto = tcp, suid

Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, [forcedirectio or llock],
Nointr, proto = tcp, suid
AIX (5L )**

Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, intr,
Timeo = 600, proto = tcp

Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, cio, intr,
Timeo = 600, proto = tcp

HPUX 11.23 **** Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, proto = tcp, suid
Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, proto = tcp, suid
Linux x86
#
Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, tcp
Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, tcp, actime = 0 *
Linux x86-64 # Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, tcp
Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, tcp, actime = 0 *
Linux-Itanium Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, tcp
Rw, bg, hard, rsize = 32768,
Wsize = 32768, vers = 3, nointr,
Timeo = 600, tcp

* Actime = 0 or noac can be used

As shown above, setting the parameter still results in an error ora-27086 with the following error message:

[Oraten @ yue ~] $ Oerr ora 1, 27086
27086,000 00, "unable to lock file-already in use"
// * Cause: the file is locked by another process, indicating that it is
// Currently in use by a database instance.
// * Action: determine which database instance legitimately owns this file.

Restart openfiler and solve the problem successfully. It seems that the lock on openfiler has not been released due to improper mount.
Although oracle supports nfs, nfs is rarely used. Most of them use nfs to back up databases or store archives.

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.