Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 10

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
srvctl
srvctl
srvctl
srvctl

status
status
status
status
status

-d DATABASE_UNIQUE_NAME
nodeapps
diskgroup -g DISKGROUP_NAME -a
listener
asm

Use config option can configure the related service.However, if we dont provide any
parameters, it would show the detail for the service.
srvctl
srvctl
srvctl
srvctl

config
config
config
config

-d DATABASE_UNIQUE_NAME
nodeapps
listener
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/mbdTtqlF_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/UP4jURQaNI/AAAAAAAADxA/zbKEdiJKun0/image_thumb9.png?imgmax=800

image: http://lh6.ggpht.com/-bQ4Ge79xUf0/UP4jVNIjEI/AAAAAAAADxQ/E5ikvj5rnxM/image_thumb18.png?imgmax=800

Use crsctl manage cluster resource

crsctl
crsctl
crsctl
crsctl
crsctl
crsctl
crsctl
crsctl

status resource -t
status server
check cluster
check crs
query css vtedisk
querry crs activeversion
query crs releaseversion
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/0rL1LcysDc/image_thumb24.png?imgmax=800

-v provide the runtime information

image: http://lh3.ggpht.com/-Fxb6xZk4XI/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/UP4jbfWOtI/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

P O S T E D BY P O @ S Q L PA N D A AT 1 2 : 2 8 A M
L A B E L S : O RA C L E , RA C

Read more at http://www.sqlpanda.com/2013/01/oracle-rac-management-1-srvctland.html#6vQUXrVaPaId7WTk.99

You might also like