You are on page 1of 7

crsctl check cluster

rac1_GRID-> crsctl check cluster


CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

crsctl check has


rac1_GRID-> crsctl check has
CRS-4638: Oracle High Availability Services is online

crsctl check crs


rac1_GRID-> crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

crsctl stat res -t

rac1_GRID-> crsctl stat res -t


------------------------------------------------------------------------
--------
NAME TARGET STATE SERVER
STATE_DETAILS
------------------------------------------------------------------------
--------
Local Resources
------------------------------------------------------------------------
--------
ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.LISTENER_RAC.lsnr
ONLINE ONLINE rac1
ONLINE OFFLINE rac2
ora.OCR_VOTE.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2
ora.eons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
------------------------------------------------------------------------
--------
Cluster Resources
------------------------------------------------------------------------
--------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE rac2
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE rac2
ora.devdb.db
1 ONLINE ONLINE rac1 Open
2 ONLINE ONLINE rac2
ora.oc4j
1 OFFLINE OFFLINE
ora.rac1.vip
1 ONLINE ONLINE rac1
ora.rac2.vip
1 ONLINE ONLINE rac2
ora.scan1.vip
1 ONLINE ONLINE rac1
ora.scan2.vip
1 ONLINE ONLINE rac2
ora.scan3.vip
1 ONLINE ONLINE rac2

crsctl stop has

Allow only through root access and stop has only on local server and
start other resources (like scan listeners) on other nodes.

[root@rac1 bin]# ./crsctl stop has


CRS-2791: Starting shutdown of Oracle High Availability Services-managed
resourc es on 'rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources
on 'rac1 '
CRS-2673: Attempting to stop 'ora.OCR_VOTE.dg' on 'rac1'
CRS-2673: Attempting to stop 'ora.devdb.db' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_RAC.lsnr' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER_RAC.lsnr' on 'rac1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.rac1.vip' on 'rac1'
CRS-2677: Stop of 'ora.scan3.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'rac2'
CRS-2677: Stop of 'ora.scan2.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.scan2.vip' on 'rac2'
CRS-2677: Stop of 'ora.rac1.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.rac1.vip' on 'rac2'
CRS-2676: Start of 'ora.scan3.vip' on 'rac2' succeeded
CRS-2676: Start of 'ora.scan2.vip' on 'rac2' succeeded
CRS-2676: Start of 'ora.rac1.vip' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'rac2'
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'rac2'
CRS-2672: Attempting to start 'ora.LISTENER_RAC.lsnr' on 'rac2'
CRS-5016: Process "/oracle/product/11.2.0/db_1/bin/lsnrctl" spawned by
agent "/oracle/grid/11.2.0/grid/bin/oraagent.bin" for action "start"
failed: details at "(:CLSN00010:)" in
"/oracle/grid/11.2.0/grid/log/rac2/agent/crsd/oraagent_oracle/oraagent_o
racle.log"

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 26-FEB-2013


07:36:16

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Starting /oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production


System parameter file is
/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to
/oracle/product/diag/tnslsnr/rac2/listener_rac/alert/log.xml
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER_RAC)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted

Listener failed to start. See the error message(s) above...

CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'rac2' succeeded


CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'rac2' succeeded
CRS-5016: Process "/oracle/product/11.2.0/db_1/bin/lsnrctl" spawned by
agent "/oracle/grid/11.2.0/grid/bin/oraagent.bin" for action "start"
failed: details at "(:CLSN00010:)" in
"/oracle/grid/11.2.0/grid/log/rac2/agent/crsd/oraagent_oracle/oraagent_o
racle.log"

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 26-FEB-2013


07:36:18

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_RAC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused

CRS-2674: Start of 'ora.LISTENER_RAC.lsnr' on 'rac2' failed


CRS-2677: Stop of 'ora.OCR_VOTE.dg' on 'rac1' succeeded
CRS-2677: Stop of 'ora.devdb.db' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac1'
CRS-2677: Stop of 'ora.DATA.dg' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'rac1'
CRS-2673: Attempting to stop 'ora.eons' on 'rac1'
CRS-2677: Stop of 'ora.ons' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'rac1'
CRS-2677: Stop of 'ora.net1.network' on 'rac1' succeeded
CRS-2677: Stop of 'ora.eons' on 'rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac1'
has completed
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac1'
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2673: Attempting to stop 'ora.diskmon' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed
resources on 'rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.

crsctl start has


[root@rac1 bin]# ./crsctl start has
CRS-4123: Oracle High Availability Services has been started.

rac1_GRID-> ps -ef|grep smon


grid 9068 1 0 07:49 ? 00:00:00 asm_smon_+ASM1
oracle 9614 1 0 07:49 ? 00:00:00 ora_smon_devdb1
grid 9735 6354 0 07:49 pts/2 00:00:00 grep smon
rac1_GRID-> ps -ef|grep lsnr
grid 9342 1 0 07:49 ? 00:00:00
/oracle/grid/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
grid 9354 1 0 07:49 ? 00:00:00
/oracle/grid/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oracle 9371 1 0 07:49 ? 00:00:00
/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER_RAC -inherit
grid 9737 6354 0 07:49 pts/2 00:00:00 grep lsnr
crsctl stop crs
+++++++++++++++++
It works same as “crsctl stop has”

[root@rac1 bin]# ./crsctl stop crs


CRS-2791: Starting shutdown of Oracle High Availability Services-managed
resources on 'rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources
on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_RAC.lsnr' on 'rac1'
CRS-2673: Attempting to stop 'ora.OCR_VOTE.dg' on 'rac1'
CRS-2673: Attempting to stop 'ora.devdb.db' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER_RAC.lsnr' on 'rac1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.rac1.vip' on 'rac1'
CRS-2677: Stop of 'ora.scan1.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'rac2'
CRS-2677: Stop of 'ora.rac1.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.rac1.vip' on 'rac2'
CRS-2676: Start of 'ora.scan1.vip' on 'rac2' succeeded
CRS-2676: Start of 'ora.rac1.vip' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'rac2'
CRS-2672: Attempting to start 'ora.LISTENER_RAC.lsnr' on 'rac2'
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'rac2' succeeded
CRS-5016: Process "/oracle/product/11.2.0/db_1/bin/lsnrctl" spawned by
agent "/oracle/grid/11.2.0/grid/bin/oraagent.bin" for action "start"
failed: details at "(:CLSN00010:)" in
"/oracle/grid/11.2.0/grid/log/rac2/agent/crsd/oraagent_oracle/oraagent_o
racle.log"

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 26-FEB-2013


08:02:50

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Starting /oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production


System parameter file is
/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to
/oracle/product/diag/tnslsnr/rac2/listener_rac/alert/log.xml
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER_RAC)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted
Listener failed to start. See the error message(s) above...

CRS-5016: Process "/oracle/product/11.2.0/db_1/bin/lsnrctl" spawned by


agent "/oracle/grid/11.2.0/grid/bin/oraagent.bin" for action "start"
failed: details at "(:CLSN00010:)" in
"/oracle/grid/11.2.0/grid/log/rac2/agent/crsd/oraagent_oracle/oraagent_o
racle.log"

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 26-FEB-2013


08:02:51

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_RAC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused

CRS-2674: Start of 'ora.LISTENER_RAC.lsnr' on 'rac2' failed


CRS-2677: Stop of 'ora.OCR_VOTE.dg' on 'rac1' succeeded
CRS-2677: Stop of 'ora.devdb.db' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac1'
CRS-2677: Stop of 'ora.DATA.dg' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'rac1'
CRS-2673: Attempting to stop 'ora.eons' on 'rac1'
CRS-2677: Stop of 'ora.ons' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'rac1'
CRS-2677: Stop of 'ora.net1.network' on 'rac1' succeeded
CRS-2677: Stop of 'ora.eons' on 'rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac1'
has completed
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac1'
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2673: Attempting to stop 'ora.diskmon' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed
resources on 'rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
crsctl start crs

root@rac1 bin]# ./crsctl start crs


CRS-4123: Oracle High Availability Services has been started.

You might also like