After cluster service relocation Oracle DB was switched to read-only mode

Solution In Progress - Updated -

Issue

  • In two node cluster one of the node was fenced/rebooted so the cluster service cantoning Oracle databse was relocated to remaining node. Although the service was relocated was successfully and fs, lvm, Oracledb resources were started, it was found that Oracle db was switched to read-only mode.

  • This issue occurs only if the service relocation is triggered when databse backup is going on. The databse administrator had manually executed following command to switch the db in read-write mode:

    To check the current status:

    SELECT FILES#, STATUS FROM V$BACKUP;
    

    To change the status and bring the database out of read only mode

    ALTER DATABASE END BACKUP; 
    
  • Is it possible to configure rgmanager to verify if the Oracle DB status is read-only and execute above commands automatically to switch it to read-write mode again?

Environment

  • Red Hat Enterprise Linux 6.3 with High Availability Add-Ons
  • Oracle DB resouce

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content