Cluster Ready Services (CRS): is Oracle's clusterware software
CRS starts automatically when the server starts/rebooted planned/unplanned, it can be stopped this in the following conditions
Applying a patch set to CRS_HOME
O/S maintenance ( requies reboot)
Troubleshooting CRS problems
1) Starting CRS in 10gR2
$CRS_HOME/bin/crsctl start crs
2)Stopping CRS using Oracle 10g R2
$CRS_HOME/bin/crsctl stop crs
## Stopping CRS using Oracle 10g R1
srvctl stop -d database <database>
srvctl stop asm -n <node>
srvctl stop nodeapps -n <node>
/etc/init.d/init.crs stop
3)disabling/enabling CRS in 10g R2
$CRS_HOME/bin/crsctl [disable|enable] crs
## Oracle 10g R1
/etc/init.d/init.crs [disable|enable]
4)CRS status
$CRS_HOME/bin/crsctl check crs
$CRS_HOME/bin/crsctl check evmd
$CRS_HOME/bin/crsctl check cssd
$CRS_HOME/bin/crsctl check crsd
$CRS_HOME/bin/crsctl check install -wait 600
$CRS_HOME/bin/crs_stat
$CRS_HOME/bin/crs_stat -t
$CRS_HOME/bin/crs_stat -ls
$CRS_HOME/bin/crs_stat -p
Note:
-t more readable display
-ls permission listing
-p parameters
5)create profile for CRS
$CRS_HOME/bin/crs_profile
6)register/unregister application
$CRS_HOME/bin/crs_register
$CRS_HOME/bin/crs_unregister
7)Start/Stop an application
$CRS_HOME/bin/crs_start
$CRS_HOME/bin/crs_stop
8)Resource permissions
$CRS_HOME/bin/crs_getparam
$CRS_HOME/bin/crs_setparam
9)Relocate a resource
$CRS_HOME/bin/crs_relocate
No comments:
Post a Comment