创建11grac 过程中在oracle 用户下DBCA找不到 ASM diskgroup ?
虚拟主机vmware esx 5.5虚拟机操作系统:OEL6.5 64bit
RAC版本:11.2.0.4
问题现象:
cluster 安装完成用oracle 用户dbca创建数据库 看不到ASMdiskgroup.
节点一
# id -a oracle
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
# id -a grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)
# su - grid
chmod +s oracle检查
$ 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*
$ 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
节点二
# id -a oracle
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
# id -a grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)
chmod +s 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
# 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 就看不到!
$ 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/
绕过dbca 直接手动建库 看有无报错 问题找到了!
usermod -aG asmdba,asmadmin,asmoper,dba oracle
参考:http://www.itpub.net/forum.php?mod=viewthread&tid=1783387 请问刘大 11g rac手动重建库有模版吗? 刚准备回复是不是用户组的问题
页:
[1]