`

New Feature on ASM (Automatic Storage Manager). [ID 249992.1]

 
阅读更多

New Feature on ASM (Automatic Storage Manager). [ID 249992.1]


Modified 03-DEC-2009Type BULLETINStatus ARCHIVED

PURPOSE

-------

Automatic Storage Management is a file system and volume manager built into the database kernel that allows the practical management of thousands of disk drives with 24x7 availability. It provides management across multiple nodes of a cluster for Oracle Real Application Clusters (RAC) support as well as single SMP machines.

It automatically does load balancing in parallel across all available disk drives to prevent hot spots and maximize performance, even with rapidly changing data usage patterns.

It prevents fragmentation so that there is never a need to relocate data to reclaim space. Data is well balanced and striped over all disks. It does automatic online disk space reorganization for the incremental addition or removal of storage capacity.

It can maintain redundant copies of data to provide fault tolerance, or it can be built on top of vendor supplied reliable storage mechanisms. Data management is done by selecting the desired reliability and performance characteristics for classes of data rather than with human interaction on a per file basis.

ASM solves many of the practical management problems of large Oracle databases.As the size of a database server increases towards thousands of disk drives, or tens of nodes in a cluster, the traditional techniques for management stop working. They do not scale efficiently, they become too prone to human error, and they require independent effort on every node of a cluster. Other tasks, such as manual load balancing, become so complex as to prohibit their application.

These problems must be solved for the reliable management of databases in the tens or hundreds of terabytes. Oracle is uniquely positioned to solve these problems as a result of our existing Real Application Cluster technology. Oracle’s control of the solution ensures it is reliable and integrated with Oracle products.

This document is intended to give some insight into the internal workings of ASM. It is not a detailed design document. It should be useful for people that need to support ASM.

Automatic Storage Management is part of the database kernel. It is linked into $ORACLE_HOME/bin/oracle so that its code may be executed by all database processes.

One portion of the ASM code allows for the start-up of a special instance called an ASM Instance. ASM Instances do not mount databases, but instead manage the metadata needed to make ASM files available to ordinary database instances. Both ASM Instances and database instances have access to some common set of disks.

ASM Instances manage the metadata describing the layout of the ASM files. Database instances access the contents of ASM files directly, communicating with an ASM instance only to get information about the layout of these files. This requires that a second portion of the ASM code run in the database instance, in the I/O path.

Note:

1. One and only one ASM instance required per node. So you might have multiple databases, but they will share the same single ASM.

2. ASM is for DATAFILE, CONTROLFILE, REDOLOG, ARCHIVELOG and SPFILE. So you can use CFS for common oracle binary in RAC.

3. ASM can provide mirroring for files in a disk group.

4. In external redundancy disk groups, ASM does not mirroring. For normal redundancy, ASM 2-way mirrors files by default, but can also leave files unprotected. [Unprotected files are not recommended]. For high redundancy disk groups, ASM 3-way mirrors files.

5. Unless a user specifies an ASM alias filename during file creation, the file is

OMF. OMF files are deleted automatically when the higher level object (eg tablespace) is dropped, whereas non-OMF files must be manually deleted. Oracle is recommending to use OMF.

HOW TO USE ?

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

Use DBCA to configure your ASM.

DBCA eases the configuring and creation of your database while EM provides an integrated approach for managing both your ASM instance and database instance.

Automatic Storage Management is always installed by the Oracle Universal Installer when you install your database software. The Database Configuration Assistant (DBCA) determines if an ASM instance already exists, and if not, then you are given the option of creating and configuring an ASM instance as part of database creation and configuration. If an ASM instance already exists, then it is used instead.

DBCA also configures your instance parameter file and password file.

Steps in DBCA:

1. Choose ASM disk.

2. Create diskgroup by choosing available disk.

3. While creating ASM you have choice of mirroring for files in a disk group and the options are like below

HIGH, NORMAL or EXTERNAL.

High -> ASM 3-way mirrors

Normal -> ASM 2-way mirrors

External -> If you have already mirror disk in H/W label like EMC or another third party

4. dbca will create a separate instance called "+ASM" which will be in nomount stage to control your ASM.

5. Choose your all datafile, controlfile, redolog and spfile to your ASM volume.

Preinstall:

Here DBA will create the ASM volume, so Sysadmin should give the ownership or

proper privs to DBA.

Example in LINUX

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

You have two disk say "/dev/sdf" and "/dev/sdg"

Determine what those devices are bound as raw:

$ /usr/bin/raw -qa

If not:

Include devices in diskgroups by editing /etc/sysconfig/rawdevices :

eg /dev/raw/raw1 /dev/sdf

/dev/raw/raw2 /dev/sdg

Set owner, group and permission on device file for each raw device:

$ chown oracle:dba /dev/raw/rawn, chmod 660 /dev/raw/rawn

Bind disk devices to raw devices:

$ service rawdevices restart

So from DBCA you can see the device "raw1" and "raw2".

After finishing of ASM volume creation, when you create a database on an ASM volume, you should see the file details using Enterprise Manager (EM). Or you can use V$ or DBA view to check the datafile name. Oracle recommended not to specify the datafile name while adding datafile or creating new tablespace, because ASM will automatically generate OMF file.

Note: If DBA's by mistake or intentionally choose the datafile name, dropping of tablespace, will not drop the datafile from ASM volume.

IMPORTANT VIEW in ASM

=====================

V$ASM_DISKGROUP

V$ASM_CLIENT

V$ASM_DISK

V$ASM_TEMPLATE

V$ASM_ALIAS

V$ASM_OPERATI

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

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.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...

    asm-util.jar

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

    org.springframework.asm-3.0.5.RELEASE.jar

    1. 动态代理:Spring AOP利用ASM生成代理类,实现对目标对象的方法拦截。当一个类需要被代理时,Spring会使用ASM生成一个该类的子类,然后在这个子类中加入拦截逻辑,这样就实现了方法的动态代理。 2. CGLIB(Code ...

    win32asm.part1.rar

    win32asm.part1.rarwin32asm.part1.rar

    EditPlus(附asm.acp,asm.stx)

    1. **代码高亮**:通过asm.acp,汇编语言的关键字、指令、常量等将以不同的颜色显示,帮助快速定位和理解代码。 2. **代码折叠**:asm.stx使得代码块可以折叠,方便查看和管理复杂代码结构。 3. **自动完成**:根据...

    asm storage

    本文将基于文档ID 452924.1《如何为ASM准备存储》来详细介绍如何为ASM环境准备存储资源。 #### 目标 本文档的目标是指导用户在配置ASM之前,如何为存储子系统做好准备。这包括确定适合系统的存储选项,并根据具体的...

    cglib-2.2.jar asm-tree.jar asm-commons.jar asm.jar

    【标题】"cglib-2.2.jar asm-tree.jar asm-commons.jar asm.jar" 提供的是一组用于Java编程的库,它们主要用于实现动态代理和字节码操作。 【描述】"cglib动态代理模式jar包 cglib-2.2.jar asm-tree.jar asm-...

    asm-all-5.2.jar

    asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-5.2.jar asm-all-...

    kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm

    Oracle ASM(Automatic Storage Management)是Oracle数据库系统中的一个组件,用于提供高效、自动化的存储管理功能。在Linux环境中安装Oracle 11g数据库时,ASM是必不可少的一部分,它可以帮助管理员轻松管理和配置...

    kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm

    标题 "kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm" 指向的是一个针对Oracle Automatic Storage Management (Oracle ASM) 的内核模块,它被设计用于Red Hat Enterprise Linux 6 (RHEL 6) 平台的64位体系结构。...

    asm.jar asm.jar

    asm.jarasm.jarasm.jarasm.jarasm.jarasm.jarasm.jarasm.jarasm.jarasm.jar

    oracleasm-2.6.18-194.32.1.el5-2.0.5-1.el5.x86_64.rpm

    oracleasm-2.6.18-194.32.1.el5-2.0.5-1.el5.x86_64.rpm

    Oracle Automatic Storage Management_ Under-the-Hood & Practical Deployment Guide

    ### Oracle Automatic Storage Management (ASM):深入解析与实践部署指南 #### 一、Oracle ASM简介 Oracle Automatic Storage Management(简称ASM)是Oracle数据库系统中的一种高性能、可伸缩且易于管理的存储...

    org.objectweb.asm-3.3.1.v201105211655.jar

    asm字节码jar包,仅需要一个就可以。具体使用,可以参考http://blog.csdn.net/gaoshan12345678910/article/details/78131784

    asm-3.1.jar.zip

    ASM是一个流行的Java字节码操作和分析框架,用于动态生成和转换类以及接口。ASM-3.1.jar是ASM框架的版本3.1的实现,主要用于处理和操作Java字节码。这个版本在ASM的早期发展中引入了重要的改进和修复,以支持更广泛...

    asm-util.jar.zip

    1. "asm-util.jar" - 这就是标题中提到的ASM实用工具库的实际JAR文件。它可能包含了一系列用于操作或分析Java字节码的方法和工具。 2. "asm-2.2.1.jar.license.txt" - 这个文件是ASM库2.2.1版本的许可证文本,通常...

    kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm和Oracleasmlib、Oracleasm-support

    Oracle ASM (Automatic Storage Management) 是 Oracle 公司提供的一种高效、自动化的磁盘管理解决方案,尤其在Oracle数据库环境中被广泛使用。它简化了存储管理,提供了高性能、高可用性和高可扩展性。Oracleasmlib...

    kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rar

    Oracle ASM(Automatic Storage Management)是Oracle数据库公司提供的一种先进的存储管理解决方案,主要用于简化数据库和相关应用的数据存储。kmod-oracleasm是Oracle ASM在Linux操作系统上的内核模块,它允许系统...

    win32asm.part2.rar

    win32asm.part2.rarwin32asm.part2.rar

    ASM操作加盘.7z

    Oracle ASM(Automatic Storage Management)是Oracle数据库管理器中的一种存储管理解决方案,专为高可用性和高性能而设计。在Oracle RAC(Real Application Clusters)环境中,ASM被广泛用于管理多个数据库实例共享...

Global site tag (gtag.js) - Google Analytics