You are on page 1of 5

* RAC will have 3 scan listeners mandatory..

(load balancing done by Scan Listen


er)
and another listener individualy for each node.

First CHeck high availability services status:


*********************************************
crsctl check has
crsctl check cluster
crsctl
crsctl
crsctl
crsctl
crsctl

start has
start cluster
start crs
start css
enable has

pbrun /u01/app/11.2.0/grid/bin/crsctl check has


EXample:
nzapdb572:/home/oracle>crsctl check has
CRS-4638: Oracle High Availability Services is online
nzapdb572:/home/oracle>crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
ASM RAC :
========
crsvctl cmds will be accessed from GRID home..
Srvctl can be done from database home..
To check how many nodes server :
==============================
olsnodes -n
Standalone :
==========
asmcmd
lsdg
crsctl status resource -t
crsctl stop resource -all
crsctl start resource -all

---- check status of all resources


---- stop all the resources
---- start all the resources

crsctl stop/start resource <resourcename> --- To stop/start single resource alon


e

Example :
crsctl stop resource ora.DATA_DG1.dg
* Order to stop resource :
----------------------Database resource and then ASM.(in Asm diskgroup and then asm)
Ex:
ora.databasename.db
then asm : data_sg1, fra_dg1 and asm
* Order to start resource :
-----------------------Start ASM and the database resource.
EX:
start asm : asm ,data_dg1, fra_dg1
ora.databasename.db

To start and stop only Database/Instance/Services :


=================================================
srvctl stop/start database -d <DB NAME>
ce in all the nodes.
srvctl stop/start instance -i <instance name>
e

----- Will start all the instan


----- Will start single instanc

srvctl start service -d <DB name>


----- will start all the service
s in that DB..
srvctl start service -s <Service name> -d <DB name>
---------will start th
e particular service.
srvctl config service -s opeprp1rapp -d opeprp1r
*
if u see any service down in any one instance also..
use srvctl start service -s <Service name> -d <DB name>.. this command will take
care of all to bring the service up an all preferred nodes..
To start scan Listener:
---------------------srvctl start scan

Example:
------nzapdb572:/home/oracle>srvctl
nzapdb572:/home/oracle>srvctl
Instance opeprp1r1 is running
Instance opeprp1r2 is running

status database -d opeprp1r


status database -d opeprp1r
on node nzapdb572
on node nzapdb573

Instance opeprp1r3 is running on node nzapdb574


nzapdb572:/home/oracle>srvctl status service -d opeprp1r
Service opeprp1rapp is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service opeprpapp is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_ars is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_cpr_aal is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_cpr_patient is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_cpr_register is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_cpr_security is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_dc is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_dib3 is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_eas is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_ecc is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_epharmacy is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_escribe is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_fdb is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_mds is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_sbmo is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
Service prd_usps is running on instance(s) opeprp1r1,opeprp1r2,opeprp1r3
********************
nzapdb572:/home/oracle>crsctl status resource -t
-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
-------------------------------------------------------------------------------Local Resources
-------------------------------------------------------------------------------ora.DATA_DG1.dg
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.FRA_DG1.dg
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.LISTENER.lsnr
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.OCR_VOTING_LOC.dg
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.REDOLOG_1.dg
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.REDOLOG_2.dg
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.asm
ONLINE ONLINE
nzapdb572
Started
ONLINE ONLINE
nzapdb573
Started
ONLINE ONLINE
nzapdb574
Started
ora.gsd
OFFLINE OFFLINE
nzapdb572

OFFLINE OFFLINE
nzapdb573
OFFLINE OFFLINE
nzapdb574
ora.net1.network
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.ons
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
ora.registry.acfs
ONLINE ONLINE
nzapdb572
ONLINE ONLINE
nzapdb573
ONLINE ONLINE
nzapdb574
-------------------------------------------------------------------------------Cluster Resources
-------------------------------------------------------------------------------ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
nzapdb574
ora.LISTENER_SCAN2.lsnr
1
ONLINE ONLINE
nzapdb572
ora.LISTENER_SCAN3.lsnr
1
ONLINE ONLINE
nzapdb573
ora.cvu
1
ONLINE ONLINE
nzapdb573
ora.nzapdb572.vip
1
ONLINE ONLINE
nzapdb572
ora.nzapdb573.vip
1
ONLINE ONLINE
nzapdb573
ora.nzapdb574.vip
1
ONLINE ONLINE
nzapdb574
ora.oc4j
1
ONLINE ONLINE
nzapdb572
ora.opeprp1r.db
1
ONLINE ONLINE
nzapdb572
Open
2
ONLINE ONLINE
nzapdb573
Open
3
ONLINE ONLINE
nzapdb574
Open
ora.opeprp1r.opeprp1rapp.svc
1
ONLINE ONLINE
nzapdb572
2
ONLINE ONLINE
nzapdb573
3
ONLINE ONLINE
nzapdb574
ora.opeprp1r.opeprpapp.svc
1
ONLINE ONLINE
nzapdb572
2
ONLINE ONLINE
nzapdb573
3
ONLINE ONLINE
nzapdb574
ora.opeprp1r.prd_ars.svc
1
ONLINE ONLINE
nzapdb572
2
ONLINE ONLINE
nzapdb573
3
ONLINE ONLINE
nzapdb574
ora.opeprp1r.prd_cpr_aal.svc
1
ONLINE ONLINE
nzapdb572
2
ONLINE ONLINE
nzapdb573
3
ONLINE ONLINE
nzapdb574
ora.opeprp1r.prd_cpr_patient.svc
1
ONLINE ONLINE
nzapdb572
2
ONLINE ONLINE
nzapdb573
3
ONLINE ONLINE
nzapdb574
ora.opeprp1r.prd_cpr_register.svc
1
ONLINE ONLINE
nzapdb572
2
ONLINE ONLINE
nzapdb573

3
ONLINE ONLINE
ora.opeprp1r.prd_cpr_security.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_dc.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_dib3.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_eas.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_ecc.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_epharmacy.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_escribe.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_fdb.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_mds.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_sbmo.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.opeprp1r.prd_usps.svc
1
ONLINE ONLINE
2
ONLINE ONLINE
3
ONLINE ONLINE
ora.scan1.vip
1
ONLINE ONLINE
ora.scan2.vip
1
ONLINE ONLINE
ora.scan3.vip
1
ONLINE ONLINE

nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb572
nzapdb573
nzapdb574
nzapdb574
nzapdb572
nzapdb573