Enable DMP support for ASM to make DMP devices visible to ASM as available disks

To make DMP devices visible to ASM

  1. From ASM, make sure ASM_DISKSTRING is set to the value/dev/raw/*.

    For Linux:

    The value for ASM_DISKSTRING is /dev/raw/*.

    SQL> show parameter ASM_DISKSTRING;
    NAME TYPE VALUE
    -------------------- ----------- ---------------
    asm_diskstring string /dev/raw/*

    For AIX, HP-UX, and Solaris:

    The value for ASM_DISKSTRING is /dev/vx/rdmp/*.

    SQL> show parameter ASM_DISKSTRING;
    NAME TYPE VALUE
    -------------------- ----------- ---------------
    asm_diskstring string /dev/vx/rdmp/*
  2. As root user, enable DMP devices for use with ASM.

    # vxdmpraw enable usernamegroupname [devicename ...]

    For example:

    # vxdmpraw enable oracle dba eva4k6k0_1
  3. For Linux, perform this step:

    The vxdmpraw enable command creates raw devices in the /dev/raw/* directory, corresponding to the DMP devices. Query the raw devices for devices with major number 201 and minor number between 241 to 255. There are 16 entries, since disks in Linux can have a maximum of 16 partitions. For example:

    # raw -qa | grep "major 201, minor 241"
    /dev/raw/raw54: bound to major 201, minor 241

    The above output indicates that /dev/raw/raw54 corresponds to the partition/dev/vx/rdmp/eva4k6k0_1s1. Similarly, /dev/raw/raw55 corresponds to/dev/vx/rdmp/eva4k6k0_1s2 and so forth. Finally, /dev/raw/raw69 corresponds to/dev/vx/rdmp/eva4k6k0_1s15.

  4. From ASM, confirm that ASM can see these new devices.

    SQL> select name,path,header_status from v$asm_disk;

    Sample output for Linux:

    NAME  PATH	                     HEADER_STATUS
    ---------------------------------------------
    ... ....... ....
    /dev/raw/raw53 CANDIDATE
    ... ....... ....

    Sample output for AIX, HP-UX, and Solaris:

    NAME  PATH	                     HEADER_STATUS
    ---------------------------------------------
    ... ....... ....
    /dev/vx/rdmp/eva4k6k0_1 CANDIDATE
    ... ....... ....
 

Remove DMP devices from the listing of ASM disks

To remove DMP devices from the listing of ASM disks, disable DMP support for ASM from the device. You cannot remove DMP support for ASM from a device that is in an ASM disk group.

To remove the DMP device from the listing of ASM disks

  1. If the device is part of any ASM disk group, remove the device from the ASM disk group.

  2. As root user, disable DMP devices for use with ASM.

    # vxdmpraw disable diskname

    For example:

    # vxdmpraw disable eva4k6k0_1

How to Enabling and Diabling VxDMP devices for use with Oracle ASM的更多相关文章

  1. How to create Oracle ASM devices using device-mapper multipath devices in Red Hat Enterprise Linux 6

    How to create Oracle ASM devices using device-mapper multipath devices in Red Hat Enterprise Linux 6 ...

  2. RAC的QA

    RAC: Frequently Asked Questions [ID 220970.1]   修改时间 13-JAN-2011     类型 FAQ     状态 PUBLISHED   Appli ...

  3. [Andriod官方API指南]连接之蓝牙

    Bluetooth —— 蓝牙 The Android platform includes support for the Bluetooth network stack, which allows ...

  4. Oracle 10g AND Oracle 11g手工建库案例--Oracle 11g

    Oracle 10g AND Oracle 11g手工建库案例--Oracle 11g 系统环境: 操作系统: RedHat EL6 Oracle:  Oracle 10g and Oracle 11 ...

  5. Attribute-based identification schemes for objects in internet of things

    Methods and arrangements for object identification. An identification request is received from diffe ...

  6. OSCP Learning Notes - Privilege Escalation

    Privilege Escalation Download the Basic-pentesting vitualmation from the following website: https:// ...

  7. 转:ORA-15186: ASMLIB error function = [asm_open], error = [1], 2009-05-24 13:57:38

    转:ORA-15186: ASMLIB error function = [asm_open], error = [1], 2009-05-24 13:57:38http://space.itpub. ...

  8. 1Z0-050

    QUESTION 13 View the Exhibit.Examine the following command that is executed for the TRANSPORT table ...

  9. Oracle Tuning 基础概述01 - Oracle 常见等待事件

    对Oracle数据库整体性能的优化,首先要关注的是在有性能问题时数据库排名前几位等待事件是哪些.Oracle等待事件众多,随着版本的升级,数量还在不断增加,可以通过v$event_name查到当前数据 ...

随机推荐

  1. 解析3级JSON的例子

    我们都知道现在Ajax盛行,而且前后台数据交流的格式已经换成了JSON了.虽然我对这种做法还是有点担忧的,如果用户关闭了JavaScript怎么办?但是这些担忧还是不能阻止Ajax的盛行和JSON数据 ...

  2. Intel Code Challenge Elimination Round (Div.1 + Div.2, combined) D. Generating Sets 贪心+优先队列

    D. Generating Sets time limit per test 2 seconds memory limit per test 256 megabytes input standard ...

  3. Spring Boot入门——全局异常处理

    1.后台处理异常 a.引入thymeleaf依赖 <!-- thymeleaf模板插件 --> <dependency> <groupId>org.springfr ...

  4. review39

    不可以在非同步方法中使用wait().notify()和notifyAll().

  5. UML类图(一)-------概述+结构

    类图用于描述系统中所包含的类以及它们之间的相互关系,帮助人们简化对系统的理解,它是系统分析和设计阶段的重要产物,也是系统编码和测试的重要模型依据.       1. 类       类(Class)封 ...

  6. 20个PHP面试题及答案

    php学了那么久了,先来小试牛刀,看下这些PHP程序员面试题都会不会?初级题目1.问题:请用最简单的语言描述PHP是什么?答:PHP全称:Hypertext Preprocessor,是一种用来开发动 ...

  7. phpstorm修改html模板

  8. 按返回键退出程序但不销毁代码,像QQ一样,后台运行

    @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BA ...

  9. java-04类和对象课堂练习

    1.请运行并输入以下代码,得到什么结果 public class Test { public static void main(String[] args){ Foo obj1=new Foo(); ...

  10. HUST 1010 The Minimum Length

    There is a string A. The length of A is less than 1,000,000. I rewrite it again and again. Then I go ...