Database Administration (MOSC)

MOSC Banner

how to detect standby database during auto start

edited Jul 14, 2018 5:01AM in Database Administration (MOSC) 6 commentsAnswered

Hi All

I need some help on this.

I have standby databases which I need to re-start them on the server bootup, the issue I have is how to detect if this is standby or primary database.

the dbstart script the comes with oracle will issue startup, which put the database in read or read write mode, I do not have active data guard so I have to mount the standby database.

what I am after is a way to start the database in nomount then be able to detect if this is a primary database or standby and then issue the relevant commands.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center