Solve the Problem of Oracle crs_stat status being UNKNOWN

Source: Internet
Author: User

After RAC is started, crs_stat-t displays two resources in the unknown status, as shown below:

Oracle @ RAC1 [/home/oracle] crs_stat-t
Name Type Target State Host
------------------------------------------------------------
Ora... SM1.asm application ONLINE rac1
Ora... C1.lsnr application ONLINE rac1
Ora. rac1.gsd application online unknown rac1
Ora. rac1.ons application online unknown rac1
Ora. rac1.vip application ONLINE rac1
Ora... SM2.asm application ONLINE rac2
Ora... C2.lsnr application ONLINE rac2
Ora. rac2.gsd application ONLINE rac2
Ora. rac2.ons application ONLINE rac2
Ora. rac2.vip application ONLINE rac2
Ora. xjny. db application ONLINE rac2
Ora... y1.inst application ONLINE rac1
Ora... y2.inst application ONLINE rac2

Use crs_stop to change the resource to offline state, and then restart the resource with crs_start, as shown below:

Oracle @ RAC1 [/home/oracle] crs_stop ora. rac1.gsd
Attempting to stop 'ora. rac1.gsd' on member 'rac1'
Stop of 'ora. rac1.gsd' on member 'rac1' succeeded.


Oracle @ RAC1 [/home/oracle] crs_stop ora. rac1.ons
Attempting to stop 'ora. rac1.ons 'on member 'rac1'
Stop of 'ora. rac1.ons 'on member 'rac1' succeeded.

After the command is complete, the related resource changes to the OFFLINE status:


Oracle @ RAC1 [/home/oracle] crs_stat-t
Name Type Target State Host
------------------------------------------------------------
Ora... SM1.asm application ONLINE rac1
Ora... C1.lsnr application ONLINE rac1
Ora. rac1.gsd application OFFLINE
Ora. rac1.ons application OFFLINE
Ora. rac1.vip application ONLINE rac1
Ora... SM2.asm application ONLINE rac2
Ora... C2.lsnr application ONLINE rac2
Ora. rac2.gsd application ONLINE rac2
Ora. rac2.ons application ONLINE rac2
Ora. rac2.vip application ONLINE rac2
Ora. xjny. db application ONLINE rac2
Ora... y1.inst application ONLINE rac1
Ora... y2.inst application ONLINE rac2

Run the crs_start command to start the resource:


Oracle @ RAC1 [/home/oracle] crs_start ora. rac1.gsd
Attempting to start 'ora. rac1.gsd' on member 'rac1'
Start of 'ora. rac1.gsd' on member 'rac1' succeeded.
Oracle @ RAC1 [/home/oracle] crs_start ora. rac1.ons
Attempting to start 'ora. rac1.ons 'on member 'rac1'
Start of 'ora. rac1.ons 'on member 'rac1' succeeded.
Oracle @ RAC1 [/home/oracle]
Oracle @ RAC1 [/home/oracle] crs_stat-t
Name Type Target State Host
------------------------------------------------------------
Ora... SM1.asm application ONLINE rac1
Ora... C1.lsnr application ONLINE rac1
Ora. rac1.gsd application ONLINE rac1
Ora. rac1.ons application ONLINE rac1
Ora. rac1.vip application ONLINE rac1
Ora... SM2.asm application ONLINE rac2
Ora... C2.lsnr application ONLINE rac2
Ora. rac2.gsd application ONLINE rac2
Ora. rac2.ons application ONLINE rac2
Ora. rac2.vip application ONLINE rac2
Ora. xjny. db application ONLINE rac2
Ora... y1.inst application ONLINE rac1
Ora... y2.inst application ONLINE 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.