Use the Crs_stat tool to view the RAC resource status

Source: Internet
Author: User
Tags dba resource

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.