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. Https通信工具类

    记录一个在微信开发中用到的https通信工具类,以后会用到的. 用于https通信的证书信任管理器 import java.security.cert.CertificateException; im ...

  2. Shiro安全配置

    主要还是整合了本地ehcache,集群session管理过段时间放出 <?xml version="1.0" encoding="UTF-8"?> ...

  3. 基于vue的滚动条组件之--element隐藏组件滚动条scrollbar使用

    在项目中,总是需要用到滚动条,但windows浏览器默认的滚动条是很丑的,为了页面美观,可以考虑优化滚动条样式.  vue Element UI官方文档上并没有放出滚动条相关的示例说明,但是实际上是有 ...

  4. nginx安装目录

    1.rpm -ql nginx看看通过yum安装到哪里了 2./etc/logrotate.d/nginx    配置 nginx日志轮转 用于logrotate服务的日志切割 3./etc/ngin ...

  5. js修改隔行tr的颜色。

    <!DOCTYPE html><html lang="zh-Hans"><head> <meta charset="UTF-8& ...

  6. c++primer 第五章编程练习答案

    5.9.1 #include<iostream> int main() { using namespace std; ; cout << "input first i ...

  7. 在winform中给GridView加checkbox在按钮点击的时候获取选中的checkbox

    dataGridView绑定后 bool[] mark = new bool[this.dataGridView1.Rows.Count]; ; i < mark.Length; i++) { ...

  8. pthread_getspecific()--读线程私有数据|pthread_setspecific()--写线程私有数据

    原型: #include <pthread.h> void *pthread_getspecific(pthread_key_t key); int pthread_setspecific ...

  9. CodeForces - 688C:NP-Hard Problem (二分图&带权并查集)

    Recently, Pari and Arya did some research about NP-Hard problems and they found the minimum vertex c ...

  10. HihoCoder1080 更为复杂的买卖房屋姿势(线段树+多重lazy)

    描述 小Hi和小Ho都是游戏迷,“模拟都市”是他们非常喜欢的一个游戏,在这个游戏里面他们可以化身上帝模式,买卖房产. 在这个游戏里,会不断的发生如下两种事件:一种是房屋自发的涨价或者降价,而另一种是政 ...