11gR2 GI standalone环境(即:GI 单机环境)中asm spfile的位置信息

11gR2 GI standalone环境(即:GI 单机环境)中asm spfile的位置信息

知识点一:
11gR2 GI standalone环境中,asm spfile的位置信息,是不存在于GPNP的profile中的,asm spfile的位置记录在OLR中。

参考自:ASM spfile in a disk group (文档 ID 1668455.1)

There is no GPnP profile in a single instance set up, so this information is in the ASM resource (ora.asm), 
stored in the Oracle Local Repository (OLR). Here are the values from a single instance environment:

$ crsctl stat res ora.asm -p | egrep "ASM_DISKSTRING|SPFILE"
ASM_DISKSTRING=
SPFILE=+DATA/ASM/ASMPARAMETERFILE/registry.253.822856169


举例说明:

[grid@rhel63single peer]$ pwd
/u03/app/11.2.0/grid/gpnp/rhel63single/profiles/peer
[grid@rhel63single peer]$ ll
total 116
-rw-------. 1 grid oinstall 115968 Jan 10 19:42 OCRDUMPFILE
[grid@rhel63single peer]$ ---->>>上面没有profile.xml


下面就对OLR进行转储

知识点二--对OLR进行转储的方法:

[grid@rhel63single peer]$ ocrdump -local -stdout 

如下是截取:

[SYSTEM.OHASD.RESOURCES.ora!asm.CONFIG]
ORATEXT : ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--~ACTION_FAILURE_TEMPLATE=~ACTION_SCRIPT=~AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%~ALIAS_NAME=~ASM_DISKSTRING=~AUTO_START=restore~BASE_TYPE=ora.local_resource.type~CHECK_INTERVAL=1~CHECK_TIMEOUT=30~DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=asm) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%)~DEGREE=1~DESCRIPTION=Oracle ASM resource~ENABLED=1~GEN_USR_ORA_INST_NAME=+ASM~LOAD=1~LOGGING_LEVEL=1~NAME=ora.
<-- Split by OCRDUMP -->
asm~NLS_LANG=~NOT_RESTARTING_TEMPLATE=~OFFLINE_CHECK_INTERVAL=0~PROFILE_CHANGE_TEMPLATE=~RESTART_ATTEMPTS=5~SCRIPT_TIMEOUT=60~SPFILE=+DATA/asm/asmparameterfile/registry.253.890702019~START_DEPENDENCIES=hard(ora.cssd) weak(ora.LISTENER.lsnr)~START_TIMEOUT=900~STATE_CHANGE_TEMPLATE=~STOP_DEPENDENCIES=hard(ora.cssd)~STOP_TIMEOUT=600~TYPE=ora.asm.type~TYPE_ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--~TYPE_NAME=ora.asm.type~TYPE_VERSION=1.2~UPTIME_THRESHOLD=1d~USR_ORA_ENV=~USR_ORA_INST_NAME=+ASM~USR_ORA_OPEN_
<-- Split by OCRDUMP -->
MODE=mount~USR_ORA_OPI=false~USR_ORA_STOP_MODE=immediate~VERSION=11.2.0.4.0~
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_NONE, OTHER_PERMISSION : PROCR_NONE, USER_NAME : grid, GROUP_NAME : oinstall}

 

你可能感兴趣的:(11gR2 GI standalone环境(即:GI 单机环境)中asm spfile的位置信息)