zoukankan      html  css  js  c++  java
  • DBCA Does Not Display ASM Disk Groups In 11.2

    DBCA Does Not Display ASM Disk Groups In 11.2

    https://oraclehowto.wordpress.com/2011/08/15/dbca-does-not-display-asm-disk-groups-in-11-2/

    Posted by cloeffel on August 15, 2011

    I get this problem when trying to create a database with a different user than grid user.

    I've installed Grid infrastructure with user grid, and I was trying to create a database with user oracle (who's the owner of oracle rdbms). But during this installation I wasn't able to see any of my ASM disk. There are lots of reasons not to be able to see the disks, but mine was not in Oracle Support.

    In fact my problem was that the mount point of oracle binary filesystem had option nosuid. So if you're in trouble first check that, may be it'll save you some times.

    Otherwise take a look at these oracle notes :

    ASM Diskgroup Can Not Be Shown When Creating Database With DBCA (Doc ID 1269734.1)

    DBCA Does Not Display ASM Disk Groups In 11.2 (Doc ID 1177483.1)

    Dbca Does Not Show ASM Diskgroup Information (Doc ID 1286434.1)

    Here's a summary of what to check in this case :

    1. Check if your ASM is OK

    With grid user :

    $ ./crsctl status res -t
    …….
    ora.asm
    ONLINE ONLINE cluster1
    ONLINE ONLINE cluster2
    …….

    2. Check your oracle binary mount point (option nosuid disable)

    $ cat /etc/fstab

    3. Check users and groups , it should be like that :

    $ id -a grid
    uid=961(grid) gid=310(oinstall) groups=310(oinstall),330(asmadmin),332(asmdba)
    $ id -a oracle
    uid=960(oracle) gid=310(oinstall) groups=310(oinstall),300(dba),320(oper),332(asmdba)
    $ cat /etc/group
    dba:x:300:applq,oracle
    oinstall:x:310:oracle,grid
    oper:x:320:oracle
    asmadmin:x:330:grid
    asmoper:x:331:
    asmdba:x:332:oracle,grid

    4. Check  if file permissions in <Grid_home>/bin/oracle executable are set properly, it should be 6751.

    $ ls -l $ORACLE_HOME/bin/oracle
    -rwsr-s–x 1 grid oinstall 200678430 Jun 16 12:44 /app/11.2.0/grid/bin/oracle

    To correct :

    $ chmod 6751 /app/11.2.0/grid/bin/oracle

    5. Check asm disk permissions, with two users it should be : grid — asmadmin

    $ ls -ltr /dev/oracleasm/disks/
    total 0
    brw-rw—- 1 grid asmadmin 8, 34 Jun 23 14:05 ASMDATA
    brw-rw—- 1 grid asmadmin 8, 39 Jun 23 14:05 ASMREDO
    brw-rw—- 1 grid asmadmin 8, 36 Jun 23 14:05 ASMFRA
    brw-rw—- 1 grid asmadmin 8, 37 Jun 23 16:10 ASMRAC

    I hope this could help you if you're in trouble.

    Regards

  • 相关阅读:
    linux-vi/vim
    Linux性能监控-ss
    Linux性能监控-netstat
    Linux性能监控-sar
    Linux性能监控-htop
    Linux性能监控-pstree
    Linux性能监控-ps
    查看linux占用内存/CPU最多的进程
    Linux性能监控-top
    Linux-cpu-socket/core/processor
  • 原文地址:https://www.cnblogs.com/cqubityj/p/6828946.html
Copyright © 2011-2022 走看看