`
helloyesyes
  • 浏览: 1296410 次
  • 性别: Icon_minigender_2
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

How to Prepare Storage for ASM

阅读更多

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.

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 files—NFS files are suitable for testing, but are not a recommended configuration for production environments. Using NFS files with ASM duplicates ASM functionality. Though, NetApp as an NFS vendor certifies its product with ASM. So there are customers using NFS and ASM together.

B) The procedures for preparing storage resources for ASM are:

1) Identify or create the storage devices for ASM by identifying all of the storage resource device names that you can use to create an ASM disk group. For example, on Linux systems, device names are typically presented from the /dev directory with the /dev/device_name_identifier name syntax.

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
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) Choose a hardware RAID stripe size that is a power of 2 and less than or equal to the size of the ASM allocation unit.

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.

From Oracle

-------------------------------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()

DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

聊天 群:40132017 聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

分享到:
评论

相关推荐

    asm storage

    自动存储管理(Automatic Storage Management,简称ASM)是Oracle数据库系统中用于管理存储的一种高性能、高可用性技术。它提供了一种简单有效的方式来管理和配置存储资源,特别是在大型企业环境中。本文将基于文档...

    MANUAL FOR ASM FM 9

    MANUAL FOR ASM FM 9

    MANUAL FOR ASM MFE 9

    MANUAL FOR ASM MFE 9

    【故障】ASM diskgroup dismount with \"Waited 15 secs for write IO to PST\"

    标题中的“【故障】ASM diskgroup dismount with \"Waited 15 secs for write IO to PST\"”描述了一个Oracle Automatic Storage Management (ASM)磁盘组出现的问题,即在尝试卸载ASM磁盘组时,系统等待了15秒用于...

    intel asm to at &t asm

    Intel汇编语法(Intel ASM)和AT&T汇编语法(AT&T ASM)是两种常见的x86架构下的汇编语言表示方式,它们在指令格式和语法上有显著差异。本文将详细讨论如何在Linux下将Intel ASM代码转换为AT&T ASM代码,以及涉及到...

    How to view and edit data on ASM using BBED

    本文档主要介绍如何使用Oracle的内部工具BBED(Binary Block Editor)来查看和编辑存储在自动存储管理(ASM)中的数据。作者Marcin Przepiorowski提供了他的工作思路和方法,以及使用该工具时遇到的一些问题和解决...

    VM下搭建ORACLE10G RAC for ASM

    在本教程中,我们将深入探讨如何在VMware Workstation环境下搭建Oracle 10g RAC (Real Application Clusters) 集群,并结合Automatic Storage Management (ASM)进行存储管理。Oracle RAC是一种高可用性解决方案,它...

    oracleasm安装包for redhat7.zip

    Oracle ASM (Automatic Storage Management) 是Oracle数据库的一种存储管理技术,它提供了一种高效、自动化的I/O管理和磁盘组管理方式。Oracle ASMLib(Oracle ASM Library)是Oracle公司为ASM提供的一种驱动程序,...

    oracle10g rac asm for linux

    oracle10g rac asm for linux oracle10g rac asm for linux

    For AIX6.1+ASM安装手册

    在Oracle RAC 11GR2 (11.2.0.4) for AIX6.1的安装过程中,ASM(Automatic Storage Management)是一个关键组成部分,用于管理数据库的数据存储。本手册针对的是初次接触此领域的读者,旨在提供现场实施的指导。 ...

    asm.jar各个版本

    asm-1.3.3.jar, asm-1.3.4.jar, asm-1.3.5.jar, asm-1.4.1.jar, asm-1.4.2.jar, asm-1.4.3.jar, asm-1.4.jar, asm-1.5.1.jar, asm-1.5.2.jar, asm-1.5.3.jar, asm-2.0.jar, asm-2.1.jar, asm-2.2.1-sources.jar, asm...

    oracle ASM安装和配置

    在开始安装Oracle Automatic Storage Management (ASM) 之前,确保所使用的Linux操作系统版本满足要求非常重要。本示例中使用的系统版本为Red Hat Enterprise Linux Server release 5.4 (Tikanga),内核版本为2.6.18...

    oracle asm学习资料

    storage management and provisioning for the database has been greatly simplified using Automatic Storage Management (ASM). ASM provides filesystem and volume manager capabilities built into the Oracle...

    oracle-support oracleasmlib kmod-oracleasm包

    Oracle Support for Oracle ASM (Automatic Storage Management) 和 Kmod-OracleASM 包是Oracle数据库系统在Linux环境下进行存储管理的关键组件。这些包确保了在Red Hat Enterprise Linux (RHEL)、CentOS以及Oracle ...

    AsmDude-vs2022 汇编语法高亮插件

    Assembly syntax highlighting and code assistance for assembly source files and the disassembly window for Visual Studio 2015, 2017 and 2019. This extension can be found in the visual studio extensions...

    ASM 1351.zip

    ASM 1351 是一款由ASMedia( ASM 微电子)公司开发的集成电路,主要应用于数据传输和接口控制领域。这个压缩包“ASM 1351.zip”包含了与ASM 1351相关的三个关键文件:一个固件升级工具、数据表以及设计套件。 1. **...

    C-include-ASM.zip_asm中include asm_c语言中嵌套asm

    在标题提到的"C-include-ASM.zip_asm中include_asm_c语言中嵌套asm",我们主要讨论的是如何在C程序中使用汇编代码,并且可能涉及到如何在汇编代码中包含其他汇编模块。 首先,让我们了解一下C语言嵌套汇编的基本...

Global site tag (gtag.js) - Google Analytics