SQL*Plus: Release 11.2.0.3.0 Production on Mon May 6 17:18:19 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
SQL> exit
Disconnected
[root@pc17 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type OFFLINE OFFLINE
ora.asm ora.asm.type OFFLINE OFFLINE
ora.cssd ora.cssd.type OFFLINE OFFLINE
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE pc17
ora.ons ora.ons.type OFFLINE OFFLINE
ora.sgf.db ora....se.type OFFLINE OFFLINE
[root@pc17 ~]# crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=never
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m
[root@pc17 ~]# crs_stat -p ora.diskmon
NAME=ora.diskmon
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=never
CHECK_INTERVAL=3
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=600
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s
[root@pc17 ~]# crsctl start resource ora.cssd
CRS-2672: Attempting to start 'ora.cssd' on 'pc17'
CRS-2672: Attempting to start 'ora.diskmon' on 'pc17'
CRS-2676: Start of 'ora.diskmon' on 'pc17' succeeded
CRS-2676: Start of 'ora.cssd' on 'pc17' succeeded
[root@pc17 ~]#
[root@pc17 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type OFFLINE OFFLINE
ora.asm ora.asm.type OFFLINE OFFLINE
ora.cssd ora.cssd.type ONLINE ONLINE pc17
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE pc17
ora.ons ora.ons.type OFFLINE OFFLINE
ora.sgf.db ora....se.type OFFLINE OFFLINE
[root@pc17 ~]#
pc17:/g01&sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Mon May 6 17:22:41 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 413372416 bytes
Fixed Size 2228904 bytes
Variable Size 385977688 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL>
[root@pc17 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE pc17
ora.asm ora.asm.type ONLINE ONLINE pc17
ora.cssd ora.cssd.type ONLINE ONLINE pc17
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE pc17
ora.ons ora.ons.type OFFLINE OFFLINE
ora.sgf.db ora....se.type OFFLINE OFFLINE
[root@pc17 ~]#
将css 和diskmon设置为自启动:
[root@pc17 ~]# crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
[root@pc17 ~]# crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"
[root@pc17 ~]#
[root@pc17 ~]# crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m
[root@pc17 ~]#