10.07.2015 Views

POWER SOLUTIONS

POWER SOLUTIONS

POWER SOLUTIONS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DATABASE TECHNOLOGYAdvantages of OCFS over raw devicesOn Linux platforms, OCFS behaves much like a generic file system,and many of the native Linux OS utilities—such as mkdir, rmdir,mv, cp, ln (softlinks only), tar, and cpio—work the same way onOCFS as they do on ext2 and ext3 file systems. Administrators canuse an updated coreutils Red Hat Package Manager (RPM ), whichsupports the Direct IO feature to enhance the performance of theseoperations. Furthermore, the similarity of OCFS to the ext2 and ext3file systems in terms of its operations, look-and-feel, and behaviorcan help simplify Oracle RAC database administration.When compared to raw devices, OCFS provides several advantages.First, it eliminates the need to manage and set up raw devices,which can be a time-consuming, management-intensive process.Second, raw devices limit the number of database files that can becreated to 255. In comparison, administrators do not have such alimitation when using OCFS.Moreover, with a shared file system such as OCFS, the nodeswithin the database cluster can share archive logs, which helpsDisk Partition Raw device Symbolic linksDisk 1 (sdb)Disk 2 (sdc)/dev/raw/raw1srvconfigfilesdb1/dev/raw/raw2cmdiskfilesdb2/dev/raw/raw3sdb3spfile.orasdb4 Extended Partition Extended Partition/dev/raw/raw4system.dbfsdb5sdb6 /dev/raw/raw5 users.dbf/dev/raw/raw6temp.dbfsdb7sdb8 /dev/raw/raw7 undotbs1.dbf/dev/raw/raw8undotbs2.dbfsdb9sdb10 /dev/raw/raw9 undotbs3.dbf/dev/raw/raw10undotbs4.dbfsdb11sdb12 /dev/raw/raw11 example.dbfsdb13 /dev/raw/raw12 cwmlite.dbfsdb14 /dev/raw/raw13 odm.dbfsdb15 /dev/raw/raw14 xml.dbf/dev/raw/raw15indx.dbfsdc1sdc2 /dev/raw/raw16 tools.dbf/dev/raw/raw17sdc3drsys.dbfsdc4 Extended Partition Extended Partition/dev/raw/raw18control1.ctlsdc5sdc6 /dev/raw/raw19 control2.ctl/dev/raw/raw20control3.ctlsdc7sdc8 /dev/raw/raw21 redo1_1.log/dev/raw/raw22redo1_2.logsdc9sdc10 /dev/raw/raw23 redo2_1.logsdc11 /dev/raw/raw24 redo2_2.logsdc12 /dev/raw/raw25 redo3_1.logsdc13 /dev/raw/raw26 redo3_2.logsdc14 /dev/raw/raw27 redo4_1.logsdc15 /dev/raw/raw28 redo4_2.logsdd1 /dev/raw/raw29 xdb.dbfsdd2Symbolic links to raw devices under /opt/oracle/oradata/DBNAME/streamline the media recovery process because every node hasaccess to archived log files. Finally, OCFS can enable lower total costof ownership than raw devices because it is designed to ease managementtasks and minimize backup and recovery windows. Also,OCFS allows administrators to use the OMF and auto-extend featuresunavailable with raw devices, which enhances functionality.Limitations of OCFSOCFS version 1.0 supports only Oracle database–related files thatinclude redo log files, archive log files, control files, and database datafiles. OCFS also supports the shared quorum disk file for the OracleCluster Manager and the shared configuration files. However, usingOCFS for files that are not accessed by the Oracle relational databasemanagement system (RDBMS) server is not recommended. Also, Linuxbasedsystems could not take advantage of the Async IO feature forOCFS releases before version 1.0.14 and Red Hat Enterprise Linux 3Quarterly Update 4 or Red Hat Enterprise Linux 2.1 Quarterly Update 6with the e57 kernel release. Oracle plans to release OCFS version 2 insummer 2005, and this version is expected to support the shared Oraclehome capability. It is expected that the further planned releases of OCFSwill be designed to support any type of files and to be fully compliantwith POSIX (Portable Operating System Interface for UNIX ® ).Disk Partition Mount point Database fileDisk 1 (sdb)Disk 2 (sdc)Disk 3 (sdd)sdb1sdc1sdd1/u01/u02/u03srvconfigfilecmdiskfilespfile.orasystem.dbfusers.dbftemp.dbfundotbs1.dbfundotbs2.dbfundotbs3.dbfundotbs4.dbfexample.dbfcwmlite.dbfodm.dbfxml.dbfindx.dbftools.dbfdrsys.dbfcontrol1.ctlcontrol2.ctlcontrol3.ctlxdb.dbfredo1_1.logredo1_2.logredo2_1.logredo2_2.logApplication Application environment Recovery logDisk 3 (sdd)Figure 1. Using raw devices to associate physical block devices with Oracle RACdatabase filesFigure 2. Using OCFS to associate physical storage partitions and mount points withOracle RAC database files106DELL <strong>POWER</strong> <strong>SOLUTIONS</strong> Reprinted from Dell Power Solutions, August 2005. Copyright © 2005 Dell Inc. All rights reserved. August 2005

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

Saved successfully!

Ooh no, something went wrong!