10.07.2015 Views

POWER SOLUTIONS

POWER SOLUTIONS

POWER SOLUTIONS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

DATABASE TECHNOLOGYMigrating an Oracle10g RAC Databasefrom Oracle Cluster File System to Oracle AutomaticStorage Management on Dell/EMC Storage ArraysOracle ® Real Application Clusters (RAC) database file storage options have furthermatured with the release of Oracle 10g software and its Oracle Automatic StorageManagement (ASM) feature. Before ASM, the options available for Oracle RAC databasefile storage were limited to raw devices or the open source Oracle Cluster FileSystem (OCFS). This article compares raw devices and OCFS with the ASM approach,and provides basic steps and best practices for migrating from OCFS to ASM.BY ZAFAR MAHMOOD, UDAY DATTA SHET, AND BHARAT SAJNANIRelated Categories:DatabaseDell/EMC storageFile systemsOracleVisit www.dell.com/powersolutionsfor the complete category index.Oracle Real Application Clusters (RAC) databases requiredirect access to a physical storage system. Before theavailability of Oracle Cluster File System (OCFS) and OracleAutomated Storage Management (ASM), RAC databasesrequired that data files, control files, and redo log files beplaced on raw devices so that they could be shared amongcluster nodes. Database administrators were required tocreate the raw devices, using OS-specific commands, beforebuilding the database. Administrators could bind a rawdevice to an existing block device, such as a disk, and usethe raw device to perform I/O operations with that blockdevice. Such I/O bypasses the Linux ®OS buffer cache thatis normally associated with block devices and can helpeliminate file system overhead. Figure 1 depicts the associationof physical block devices to Oracle database files forthe creation of a RAC seed database.Although raw devices fulfill the requirements fora RAC database, they can be inflexible and difficult forsystem administrators to manage. The unformatted diskpartitions cannot use several key Oracle9i and Oracle 10gfunctions, including the automatic database file extensionand Oracle Managed Files (OMF) features. Eachraw device is bound to only one Oracle database fileand has a fixed size. If the database runs out of spaceon that partition, the database administrator must createanother partition and add another database file to theOracle tablespace. Also, the maximum number of rawdevices—and consequently the maximum number ofOracle database files—that administrators can create onRed Hat ® Enterprise Linux is limited to 255.Introducing Oracle Cluster File SystemThe next evolution of RAC database file storage was theintroduction of Oracle Cluster File System. OCFS is anopen source cluster file system that provides a convenientalternative to raw devices for storing Oracle RACdatabase files on shared storage accessible by all clusternodes. In environments using OCFS, all cluster nodeshave the same view of the Oracle database files and canread and write to the shared storage concurrently.OCFS is designed specifically for RAC databases. Iteliminates the requirement for Oracle database files to belinked to unformatted partitions on logical drives. Administratorscan create OCFS volumes on RAID disks so thatthe volumes span multiple shared disks for redundancyand performance enhancements. Figure 2 depicts theassociation between physical shared storage devices andOracle RAC database files in an OCFS environment.www.dell.com/powersolutions Reprinted from Dell Power Solutions, August 2005. Copyright © 2005 Dell Inc. All rights reserved. DELL <strong>POWER</strong> <strong>SOLUTIONS</strong> 105

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

Saved successfully!

Ooh no, something went wrong!