[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Planned outage at physical standby site

Posted on 2008-11-13
2
Medium Priority
?
434 Views
Last Modified: 2013-12-19
Hey,

Here is possibly the easiest 500 points available today.  We have a planned power outage for 4 hours this saturday at the site where our physical standby database is located.  I plan on bringing the DR server down on Friday night and then back up on Saturday following the power outage.

I have made a list of commands - could someone verify that I haven't missed anything to ensure smooth running?

Thanks:

SHUTDOWN

1) PRIMARY DATABASE
ALTER SYSTEM SET LOG_ARCHIVE_DEST_3=DEFER SCOPE=BOTH;

2) PHYSICAL STANDBY DATABASE
SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
(If the MRP0 or MRP process exists, then the standby database is applying redo.  If log apply services are running, cancel them)
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
SHUTDOWN;


TO RESTART DR_COLT AND SHIP LOGS

3) PHYSICAL STANDBY DATABASE
STARTUP MOUNT;
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;

4) PRIMARY DATABASE
ALTER SYSTEM SET LOG_ARCHIVE_DEST_3=ENABLE SCOPE=BOTH;
0
Comment
Question by:gflmartins
1 Comment
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 1000 total points
ID: 22951396

Maybe this:

-- Shutdown
ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_3=DEFER SCOPE=BOTH;
-- and Startup
ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_3=ENABLE SCOPE=BOTH;

Open in new window

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses
Course of the Month18 days, 5 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question