- 最后登录
- 2012-8-24
- 在线时间
- 82 小时
- 威望
- 316
- 金钱
- 2458
- 注册时间
- 2011-12-16
- 阅读权限
- 60
- 帖子
- 136
- 精华
- 2
- 积分
- 316
- UID
- 107
|
2#
发表于 2012-3-7 18:36:56
答案:
crsctl stat res ora.DATA.dg -p > ora.DATA.dg
vim ora.DATA.dg
cat ora.DATA.dg
NAME=ora.FRA.dg //修改这里
TYPE=ora.diskgroup.type
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
ALIAS_NAME=
AUTO_START=never
CHECK_INTERVAL=300
CHECK_TIMEOUT=30
DEFAULT_TEMPLATE=
DEGREE=1
DESCRIPTION=CRS resource type definition for ASM disk group resource
ENABLED=1
LOAD=1
LOGGING_LEVEL=1
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=60
START_DEPENDENCIES=hard(ora.asm) pullup(ora.asm)
START_TIMEOUT=900
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(intermediate:ora.asm)
STOP_TIMEOUT=180
TYPE_VERSION=1.2
UPTIME_THRESHOLD=1d
USR_ORA_ENV=
USR_ORA_OPI=false
USR_ORA_STOP_MODE=
VERSION=11.2.0.3.0
crsctl add res ora.FRA.dg -type ora.diskgroup.type -file ora.DATA.dg
crsctl start res ora.FRA.dg
crsctl stat res ora.FRA.dg
NAME=ora.FRA.dg
TYPE=ora.diskgroup.type
TARGET=ONLINE , ONLINE
STATE=ONLINE on node01, ONLINE on node02 |
|