- 最后登录
- 2016-4-27
- 在线时间
- 84 小时
- 威望
- 87
- 金钱
- 846
- 注册时间
- 2012-2-22
- 阅读权限
- 50
- 帖子
- 101
- 精华
- 1
- 积分
- 87
- UID
- 253
|
4#
发表于 2012-7-18 12:19:54
还有点不解 注意我的DiscoveryString="" 为空
<orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/><orcl:ASM-Profile id="asm" DiscoveryString="" SPFile="+CRSDG/rac/asmparameterfile/registry.253.787925627"/>
SQL> select group_number,name,state,type from v$asm_diskgroup;
GROUP_NUMBER NAME STATE TYPE
------------ ------------------------------ ----------- ------
1 CRSDG MOUNTED NORMAL
2 DBDG MOUNTED NORMAL
3 FLRV MOUNTED EXTERN
SQL> select group_number,disk_number,state,path from v$asm_disk order by 1,2;
GROUP_NUMBER DISK_NUMBER STATE PATH
------------ ----------- -------- ------------------------------
1 0 NORMAL /dev/raw/raw1
1 1 NORMAL /dev/raw/raw2
1 2 NORMAL /dev/raw/raw3
2 0 NORMAL /dev/raw/raw4
2 1 NORMAL /dev/raw/raw5
3 0 NORMAL /dev/raw/raw6
6 rows selected.
SQL> l
1 select NAME "FILE NAME",
2 AU_KFFXP "AU NUMBER",
3 NUMBER_KFFXP "FILE NUMBER",
4 DISK_KFFXP "DISK NUMBER"
5 from x$kffxp, v$asm_alias
6 where GROUP_KFFXP = GROUP_NUMBER
7 and NUMBER_KFFXP = FILE_NUMBER
8* and lower(name) in ('registry.253.787925627')
SQL> /
FILE NAME AU NUMBER FILE NUMBER DISK NUMBER
---------------------------------------- ---------- ----------- -----------
REGISTRY.253.787925627 59 253 0
REGISTRY.253.787925627 59 253 2
[grid@znode1 oracle]$ cd /etc/oracle
[grid@znode1 oracle]$ cat olr.loc
olrconfig_loc=/u01/app/11.2.0/grid/cdata/znode1.olr
crs_home=/u01/app/11.2.0/grid
[root@znode1 cdata]# cat olrconfig_loc=/u01/app/11.2.0/grid/cdata/znode1.olr|grep /dev/raw/raw1
cat: olrconfig_loc=/u01/app/11.2.0/grid/cdata/znode1.olr: No such file or directory
[root@znode1 cdata]# strings /u01/app/11.2.0/grid/cdata/znode1.olr|grep /dev/raw/raw1 |
|