Oracle10grac provides a tool crs_stat can be used to view the status of resources in the RAC, the main common usage of the tool is as follows:
1. Through-h parameters can be prompted by the system
bash-2.05$ crs_stat-h
Usage:crs_stat [Resource_name [...]] [-V] [-l] [Q] [-C Cluster_member]
Crs_stat [Resource_name [...]]-t [-v] [-Q] [-c Cluster_member]
crs_stat-p [Resource_name [...]] [Q]
Crs_stat [-A] application-g
Crs_stat [-A] application-r [-c Cluster_member]
crs_stat-f [Resource_name [...]] [Q] [-C Cluster_member]
Crs_stat-ls [Resource_name [...]] [Q]
2. View the resources in the RAC through the LS command
bash-2.05$ Crs_stat-ls
Name Owner Primary privgrp Permission
-----------------------------------------------------------------
Ora ..... C1.lsnr Oracle DBA rwxrwxr--
ORA....AC1.GSD Oracle DBA rwxr-xr--
Ora....ac1.ons Oracle DBA rwxr-xr--
ORA....AC1.VIP Root DBA rwxr-xr--
Ora ..... C2.lsnr Oracle DBA rwxrwxr--
ORA....AC2.GSD Oracle DBA rwxr-xr--
Ora....ac2.ons Oracle DBA rwxr-xr--
ORA....AC2.VIP Root DBA rwxr-xr--
Ora.eygle.db Oracle DBA rwxrwxr--
Ora....ygle.cs Oracle DBA rwxrwxr--
Ora....le1.srv Oracle DBA rwxrwxr--
Ora....le2.srv Oracle DBA rwxrwxr--
Ora....e1.inst Oracle DBA rwxrwxr--
Ora....e2.inst Oracle DBA rwxrwxr--
3. Direct use of the Crs_stat tool to list the specific information of all resources
bash-2.05$ Crs_stat
Name=ora.db210-rac1.listener_db210-rac1.lsnr
Type=application
Target=online
State=online on DB210-RAC1
Name=ora.db210-rac1.gsd
Type=application
Target=online
State=online on DB210-RAC1
Name=ora.db210-rac1.ons
Type=application
Target=online
State=online on DB210-RAC1
Name=ora.db210-rac1.vip
Type=application
Target=online
State=online on DB210-RAC1
Name=ora.db210-rac2.listener_db210-rac2.lsnr
Type=application
Target=online
State=online on DB210-RAC2
Name=ora.db210-rac2.gsd
Type=application
Target=online
State=online on DB210-RAC2
Name=ora.db210-rac2.ons
Type=application
Target=online
State=online on DB210-RAC2
Name=ora.db210-rac2.vip
Type=application
Target=online
State=online on DB210-RAC2
Name=ora.eygle.db
Type=application
Target=online
State=online on DB210-RAC1
Name=ora.eygle.eygle.cs
Type=application
Target=offline
State=offline
Name=ora.eygle.eygle.eygle1.srv
Type=application
Target=offline
State=offline
Name=ora.eygle.eygle.eygle2.srv
Type=application
Target=offline
State=offline
Name=ora.eygle.eygle1.inst
Type=application
Target=online
State=online on DB210-RAC1
Name=ora.eygle.eygle2.inst
Type=application
Target=online
State=online on DB210-RAC2