Question : How to start rac database as read only?

Doing a restore of a prod database to dev environment and need to know how to start the database in read only state. I know for a single instance it would be to start then alter to open read only but I'm not sure how to do this with srvctl, tried srvctl start database -d -o readonly but didn't work.

Answer : How to start rac database as read only?

Got error running alter database open read only, telling me that it needs "standby" but this is not a standby database.

What I ended up doing is simply logging into each node and doing startup mount and alter to open read only.

I was thinking there should be a srvctl command like srvctl start database -d -o "read only" but I haven't been able to find an example like this.

But thanks for the attempts.

Thanks,
Geodin
Random Solutions  
 
programming4us programming4us