we can use srvctl to manage
DESCRIPTION
SrvctlTRANSCRIPT
we can use srvctl to manage, maintain and check the RAC related services, such as Instance, Database, Listener and ASM .
crsctl is the command use to manage the Oracle Clusterware.
Check RAC related service status.
srvctl status -d DATABASE_UNIQUE_NAMEsrvctl status nodeappssrvctl status diskgroup -g DISKGROUP_NAME -asrvctl status listenersrvctl status asm
Use config option can configure the related service.However, if we don’t provide any parameters, it would show the detail for the service.
srvctl config -d DATABASE_UNIQUE_NAMEsrvctl config nodeappssrvctl config listenersrvctl config asm
check the RAC database status
image: http://lh6.ggpht.com/-5I3e6EYVjfA/UP4jNiBxQoI/AAAAAAAADvQ/_ucAhl66GRM/image_thumb1.png?imgmax=800
image: http://lh4.ggpht.com/-5gZGCWZxXMA/UP4jOmynZUI/AAAAAAAADvg/VJnqi12FEIg/image_thumb11.png?imgmax=800
Check the RAC nodes status
image: http://lh6.ggpht.com/-jy3704V38dU/UP4jPFsf9II/AAAAAAAADvw/mbdTtq-lF_E/image_thumb3.png?imgmax=800
image: http://lh3.ggpht.com/-UGnYToNukN0/UP4jQUjTIpI/AAAAAAAADwA/t74E2IhyPjY/image_thumb14.png?imgmax=800
check the disk group
image: http://lh3.ggpht.com/-f4ZBm5M0zF8/UP4jRmvS01I/AAAAAAAADwQ/gdKNfA8mZ3c/image_thumb5.png?imgmax=800
check listener status
image: http://lh5.ggpht.com/-yPUHLqF7NVA/UP4jSU5lHmI/AAAAAAAADwg/0gfwRpaoLjY/image_thumb7.png?imgmax=800
image: http://lh3.ggpht.com/-cZ3StXCuagU/UP4jTKFgzBI/AAAAAAAADws/5IeGo1bZFKU/image_thumb16.png?imgmax=800
check asm status
image: http://lh4.ggpht.com/-2W6X1fiON3Q/UP4jUR-QaNI/AAAAAAAADxA/zbKEdiJKun0/image_thumb9.png?imgmax=800
image: http://lh6.ggpht.com/-bQ4Ge79xUf0/UP4jVNIjE-I/AAAAAAAADxQ/E5ikvj5rnxM/image_thumb18.png?imgmax=800
Use crsctl manage cluster resource
crsctl status resource -tcrsctl status servercrsctl check clustercrsctl check crscrsctl query css vtediskcrsctl querry crs activeversioncrsctl query crs releaseversioncrsctl query crs softwareversion
image: http://lh3.ggpht.com/-1D6nG2fYjZI/UP4jVxLJVCI/AAAAAAAADxg/EJsCErHWXrw/image_thumb26.png?imgmax=800
crsctl status resource ora.rac1.db
image: http://lh6.ggpht.com/-x_3RvWf5FS8/UP4jWyJIw9I/AAAAAAAADxw/0rL1LcysD-c/image_thumb24.png?imgmax=800
-v provide the runtime information
image: http://lh3.ggpht.com/-Fx-b6xZk4XI/UP4jXpyaxJI/AAAAAAAADyA/I8Z3LOm5fEk/image_thumb28.png?imgmax=800
-f provide the detail configuration.
image: http://lh3.ggpht.com/-dmfH7lVFVeE/UP4jY4Vd8xI/AAAAAAAADyQ/BSy7_ysEPzU/image_thumb30.png?imgmax=800
Check the server status
image: http://lh3.ggpht.com/-Xas2Ma3wdqs/UP4jZ9qhZJI/AAAAAAAADyg/aTxcSI_Jpxk/image_thumb%25255B1%25255D.png?imgmax=800
Check the cluster status
image: http://lh4.ggpht.com/-zKnfZ8vjFPY/UP4jaoLTVJI/AAAAAAAADyw/HEOAijLK9h8/image_thumb%25255B3%25255D.png?imgmax=800
Check the CRS( Cluster Ready Status) status.
image: http://lh6.ggpht.com/-qnbYcLus95k/UP4jbf-WOtI/AAAAAAAADzA/zlBtjlts9eg/image_thumb%25255B5%25255D.png?imgmax=800
Check the CSS( Cluster Synchronization Services) voting disk
image: http://lh6.ggpht.com/-Bs09fb5ffMQ/UP4jcH4bEJI/AAAAAAAADzQ/eAk_22y2R3g/image_thumb%25255B7%25255D.png?imgmax=800
Check Oracle Clusterware version
image: http://lh3.ggpht.com/-pN24R2yiQvI/UP4jdOe0n8I/AAAAAAAADzg/HszGoRq53_Q/image_thumb%25255B9%25255D.png?imgmax=800
Check Oracle high availability server version
image: http://lh5.ggpht.com/-kdP_NV6gGu0/UP4jdux4mRI/AAAAAAAADzw/QkTj928foUs/image_thumb%25255B11%25255D.png?imgmax=800
Check Oracle Clusterware version on the node
image: http://lh6.ggpht.com/-MBRPEErHvCQ/UP4jeSqGssI/AAAAAAAAD0A/j3qlTb_e_rw/image_thumb%25255B13%25255D.png?imgmax=800
POSTED BY PO@SQLPANDA AT 12 :28 AM
LABELS: ORACLE , RAC
Read more at http://www.sqlpanda.com/2013/01/oracle-rac-management-1-srvctl-and.html#6vQUXrVaPaId7WTk.99