How to Prepare Storage for ASM (Doc ID 452924.1)
In this Document
Goal |
Solution |
A) You can create an ASM diskgroup using one of the following storage resources: |
B) The procedures for preparing storage resources for ASM are: |
C) Recommendations for Storage Preparation. The following are guidelines for preparing storage for use with ASM: |
Community Discussions |
References |
Applies to:
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.4 [Release 10.1 to 11.2]Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: 10.1.0.2 to 11.2.0.4
***Checked for relevance on 03-Dec-2010***
Goal
This document describes how to prepare your storage sub-system before you configure Automatic Storage Management (ASM). When preparing your storage to use ASM, first determine the storage option for your system and then prepare the disk storage for the specific operating system environment.
Solution
A) You can create an ASM diskgroup using one of the following storage resources:
1) Raw disk partition—A raw partition can be the entire disk drive or a section of a disk drive. However, the ASM disk cannot be in a partition that includes the partition table because the partition table can be overwritten.
2) Logical unit numbers (LUNs)—Using hardware RAID functionality to create LUNs is a recommended approach. Storage hardware RAID 0+1 or RAID5, and other RAID configurations, can be provided to ASM as ASM disks.
3) Raw logical volumes (LVM)—LVMs are supported in less complicated configurations where an LVM is mapped to a LUN, or an LVM uses disks or raw partitions. LVM configurations are not recommended by Oracle because they create a duplication of functionality. Oracle also does not recommended using LVMs for mirroring because ASM already provides mirroring.
4) NFS NAS files—If you have a certified NAS device, then you can create zero-padded files in an NFS mounted directory and use those files as disk devices in an Oracle Automatic Storage Management (Oracle ASM) diskgroup.
B) The procedures for preparing storage resources for ASM are:
2) Change the ownership and the permissions on storage device resources. For example, the following steps are required on Linux systems:
2.1) Change the user and group ownership of devices to oracle:dba or grid:asmadmin (See ASM Role Separation document: 1376731.1 )
2.2) Change the device permissions to read/write
2.3) On older Linux versions, you must configure raw device binding
After you have configured ASM, ensure that disk discovery has been configured correctly by setting the ASM_DISKSTRING initialization parameter.
Note: Setting the ownership to oracle:dba is just one example that corresponds to the default settings. A non-default installation may require different settings. In general, the owner of the disk devices should be the same as the owner of the Oracle binary. The group ownership should be OSDBA of the ASM instance, which is defined at installation.
C) Recommendations for Storage Preparation. The following are guidelines for preparing storage for
use with ASM:
1) Configure two disk groups, one for the datafile and the other for the Flash Recovery Area. For availability purposes, one is used as a backup for the other.
2) Ensure that LUNs, which are disk drives of partitions, that ASM disk groups use have similar storage performance and availability characteristics. In storage configurations with mixed speed drives, such as 10K and 15K RPM, I/O distribution is constrained by the slowest speed drive.
3) Be aware that ASM data distribution policy is capacity-based. LUNs provided to ASM have the same capacity for each disk group to avoid an imbalance.
4) Use the storage array hardware RAID 1 mirroring protection when possible to reduce the mirroring overhead on the server. Use ASM mirroring redundancy in the absence of a hardware RAID, or when you need host-based volume management functionality, such as mirroring across storage systems. You can use ASM mirroring in configurations when mirroring between geographically-separated sites over a storage interface.
Hardware RAID 1 in some lower-cost storage products is inefficient and degrades the performance of the array. ASM redundancy delivers improved performance in lower-cost storage products.
5) Maximize the number of disks in a disk group for maximum data distribution and higher I/O bandwidth.
6) Create LUNs using the outside half of disk drives for higher performance. If possible, use small disks with the highest RPM.
7) Create large LUNs to reduce LUN management overhead.
8) Minimize I/O contention between ASM disks and other applications by dedicating disks to ASM disk groups for those disks that are not shared with other applications.
9) If you are using a high-end storage array that offers robust built-in RAID solutions, then Oracle recommends that you configure redundancy in the storage array by enabling RAID protection, such as RAID1 (mirroring) or RAID5 (striping plus parity). For example, to create an Oracle ASM disk group where redundancy is provided by the storage array, first create the RAID-protected logical unit numbers (LUNs) in the storage array, and then create the Oracle ASM disk group using the EXTERNAL REDUNDANCY clause.
10) Avoid using a Logical Volume Manager (LVM) because an LVM would be redundant. However, thereare situations where certain multipathing or third party cluster solutions require an LVM. In these situations, use the LVM to represent a single LUN without striping or mirroring to minimize the performance impact.
11) For Linux, when possible, use the Oracle ASMLIB feature to address device naming and permission persistency.
12) ASMLIB provides an alternative interface for the ASM-enabled kernel to discover and access block devices. ASMLIB provides storage and operating system vendors the opportunity to supply extended storage-related features. These features provide benefits such as improved performance and greater data integrity.
For Additional information please check the next manual:
Community Discussions
Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject. (Window is the live community not a screenshot)
Click here to open in main browser window
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1107507/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to free space from an ASM diskgroup? (Doc ID 1553744.1)ASM
- Oracle Linux and External Storage Systems (Doc ID 753050.1)OracleLinux
- How to Duplicate a Database in NOARCHIVELOG mode (Doc ID 275480.1)DatabaseHive
- How To Size the Database Smart Flash Cache (Doc ID 1317950.1)Database
- How To List All The Named Events Set For A Database (Doc ID 436036.1)Database
- ORA-15097 Cannot Shutdown ASM if OCR is Located in ASM (Doc ID 984663.1)ASM
- How to Start 11gR2 Grid Infrastrucure in Exclusive Mode (Doc ID 1364971.1)AST
- How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]ASM
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- ASM(Automatic Storage Management)ASM
- ASM tools used by Support : KFOD, KFED, AMDU (Doc ID 1485597.1)ASM
- Performing duplicate database with ASM/OMF/RMAN (Doc ID 340848.1)ORMDatabaseASM
- [doc]How To Efficiently Drop A Table With Many Extents
- How to delete SLP after backup with storage fundationdelete
- How to Copy ASM Files Across Nodes [ID 1147859.1]ASMROS
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- Automatic Storage Management (ASM)(轉)ASM
- Setting up ASM on linux with LVM (Doc ID 292348.1)ASMLinuxLVM
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name (Doc ID 975457.1)
- 【健康檢查】How to Perform a Health Check on the Database (Doc ID 122669.1)ORMDatabase
- How to re-create the ASMASM
- How to restore ASM based OCRRESTASM
- How to cleanup ASM installationASM
- How to move ASM spfile to a different disk group [ID 1082943.1]ASM
- Master Note for Automatic Storage Management (ASM) [ID 1187723.1]ASTASM
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- How To Check if Asynchronous I/O is Working On Linux (Doc ID 237299.1)Linux
- How To Deinstall/Uninstall Oracle Home In 11gR2 (Doc ID 883743.1)Oracle
- How To Change The Asm Rebalancing PowerASM
- Configuring device-mapper for CRS/ASM (Doc ID 357472.1)devAPPASM
- Placeholder for AMDU binaries and using with ASM 10g (Doc ID 553639.1)ASM
- How to Increase CSS Misscount in single instance ASM installations [ID 729878.1]CSSASM
- ORA-15024: discovered duplicately numbered ASM disk(Doc ID 1457185.1)ASM
- Top ASM Bugs In 11gR2 (Doc ID 1506033.1)ASM
- Automatic Storage Management (ASM)在oracle的使用ASMOracle
- Using Automatic Storage Management -ASM 詳解ASM
- How to Check ASM Login for Oracle Goldengate (OGG) ? [ID 1311784.1]ASMOracleGo