we can use srvctl to manage

11
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_NAME srvctl status nodeapps srvctl status diskgroup -g DISKGROUP_NAME -a srvctl status listener srvctl 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_NAME srvctl config nodeapps srvctl config listener srvctl config asm check the RAC database status image: http://lh6.ggpht.com/-5I3e6EYVjfA/UP4jNiBxQoI/AAAAAAAADvQ/_ucAhl6 6GRM/image_thumb1.png?imgmax=800

Upload: ragin-chittaliya

Post on 04-Dec-2015

216 views

Category:

Documents


3 download

DESCRIPTION

Srvctl

TRANSCRIPT

Page 1: We Can Use Srvctl to Manage

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

Page 4: We Can Use Srvctl to Manage

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

Page 5: We Can Use Srvctl to Manage

 

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

Page 10: We Can Use Srvctl to Manage

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