11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

410 CHAPTER 9 ■ STORAGE MANAGEMENT<strong>Oracle</strong> Direct NFS<strong>Oracle</strong> <strong>Database</strong> 10g introduced ASM by allowing direct IO to the database files. In <strong>Oracle</strong><strong>Database</strong> <strong>11</strong>g, <strong>Oracle</strong> provides a similar enhancement to NFS. <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g pioneersthe database world with Direct Network File System (Direct NFS). <strong>Oracle</strong> Direct NFS is an NFSclient built directly into the database kernel. With <strong>Oracle</strong> Direct NFS, the database kernel performsall the tuning processes automatically. DBAs and system administrators are no longer responsiblefor being intimate with all the tuning parameters associated with NFS.<strong>Oracle</strong> RAC implementations on NFS are a common industry practice. Debates aboutimplementing RAC on NFS vs. ASM have become a hot topic among database architects. Thedebate centers on cost, performance, and manageability. NFS on appliances such as NetworkAppliance has become a trend for RAC implementations. The introduction of <strong>Oracle</strong> <strong>Database</strong><strong>11</strong>g Direct NFS fuels the fire for NFS implementations.For improved NFS performance, <strong>Oracle</strong> recommends the Direct NFS client that ships with<strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g. Instead of using the operating system NFS client, you can access NFSversion 3 servers directly using an <strong>Oracle</strong> internal Direct NFS client. If <strong>Oracle</strong>’s Direct NFS isnot able to open the NFS server, <strong>Oracle</strong> will utilize the operating system’s NFS client as specifiedin /etc/fstab and post an error message in the alert log.Set Up Direct NFS<strong>Oracle</strong> Direct NFS setup involves manipulating the oranfstab file. The oranfstab file can residein several locations. <strong>Oracle</strong> will always check the $ORACLE_HOME/dbs directory first. If the oranfstabfile does not exist, it will search in the /etc directory. If an oranfstab file does not exist, <strong>Oracle</strong>will use the operating system /etc/mtab file. <strong>Oracle</strong>’s Direct NFS client looks for mount pointsettings in the following order:• $ORACLE_HOME/dbs/oranfstab• /etc/oranfstab• /etc/mtabIf there are duplicate entries in these files, <strong>Oracle</strong> Direct NFS client will use the first entryfound.To implement <strong>Oracle</strong> Direct NFS, an existing NFS mount point must already exist. Themount options for NFS are irrelevant since <strong>Oracle</strong> Direct NFS will override and configure settingsoptimally. The NFS mount options in the /etc/fstab file for this particular example are as follows:nas103:/apps/oracle/share /oradata nfsrw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600It is important to note that in order to enable Direct NFS, you must disable reserved portsettings on the NFS server.<strong>Oracle</strong> uses the <strong>Oracle</strong> Disk Manager (ODM) to control NFS. To enable Direct NFS, youmust replace the standard ODM driver with the ODM NFS library. For the client to work, youneed to shut down the database and create a symbolic link from the standard ODM library topoint to the NFS ODM library. Before you create the symbolic link, you will rename the original

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!