Home » Server Options » Data Guard » to start and stop a standby database on server startup (Oracle 9i R2, Linux)
to start and stop a standby database on server startup [message #336136] |
Fri, 25 July 2008 00:10  |
sajut
Messages: 69 Registered: January 2007
|
Member |
|
|
Dear All
I have a test standby database setup, which I have to shutdown every evening and start again in the morning. I use the following method for this
to startup
sqlplus '/as sysdba'
startup nomount
alter database mount standby database
alter database recover managed standby database disconnect from session;
and to shutdown
sqlplus '/as sysdba'
alter database recover managed standby database cancel;
shutdown;
Is there any way I can automate these two processes
Thanks in advance
Saju
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun May 04 08:40:59 CDT 2025
|