- 最后登录
- 2015-10-8
- 在线时间
- 42 小时
- 威望
- 70
- 金钱
- 476
- 注册时间
- 2012-4-23
- 阅读权限
- 50
- 帖子
- 101
- 精华
- 2
- 积分
- 70
- UID
- 382
|
1#
发表于 2015-1-30 14:26:38
|
查看: 5133 |
回复: 4
虚拟主机vmware esx 5.5
虚拟机操作系统:OEL6.5 64bit
RAC版本:11.2.0.4
问题现象:
cluster 安装完成用oracle 用户dbca创建数据库 看不到ASMdiskgroup.
节点一
[root@ptbxrac01 11.2.0]# id -a oracle
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
[root@ptbxrac01 11.2.0]# id -a grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)
[root@ptbxrac01 11.2.0]# su - grid
chmod +s oracle检查
[grid@ptbxrac01 ~]$ ll /u01/app/11.2.0/grid/bin/oracle
-rwsr-s--x 1 grid oinstall 209914471 Jan 25 22:13 /u01/app/11.2.0/grid/bin/oracle*
[grid@ptbxrac01 ~]$ ll /dev/asm*
brw-rw---- 1 grid asmadmin 8, 16 Jan 30 12:46 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 8, 32 Jan 30 12:46 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 8, 48 Jan 30 12:46 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 8, 64 Jan 29 22:02 /dev/asm-diske
节点二
[root@ptbxrac02 oracle]# id -a oracle
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
[root@ptbxrac02 oracle]# id -a grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)
chmod +s oracle检查
[root@ptbxrac02 oracle]# ll /u01/app/11.2.0/grid/bin/oracle
-rwsr-s--x 1 grid oinstall 209914471 Jan 25 22:16 /u01/app/11.2.0/grid/bin/oracle
[root@ptbxrac02 oracle]# ll /dev/asm*
brw-rw---- 1 grid asmadmin 8, 16 Jan 30 12:46 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 8, 32 Jan 29 22:04 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 8, 48 Jan 29 22:04 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 8, 64 Jan 29 22:02 /dev/asm-diske
在grid用户下 运行dbca 可以找到 DG,在oracle用户下运行dbca 就看不到!
[grid@ptbxrac01 ~]$ asmcmd
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 3072 2676 0 2676 0 Y CRS/
MOUNTED EXTERN N 512 4096 1048576 102400 102305 0 102305 0 N DGDATA/
MOUNTED EXTERN N 512 4096 1048576 51200 51105 0 51105 0 N FRA/
|
|