码迷,mamicode.com
首页 > 数据库 > 详细

DBCA Does Not Display ASM Disk Groups In 11.2

时间:2017-05-09 09:31:45      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:led   uri   diskgroup   port   ast   mil   splay   http   form   

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

DBCA Does Not Display ASM Disk Groups In 11.2

标签:led   uri   diskgroup   port   ast   mil   splay   http   form   

原文地址:http://www.cnblogs.com/cqubityj/p/6828946.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!