Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 891
  • Last Modified:

Oracle Restore

Our SAP Production environment is a clustered environment:
 
PROD R/3 CLUSTER
--------------------------------
 
BSRPR3100 - Windows Cluster
BSRPR3101 - Node IP
BSRPR3102 - Node IP (oracle is installed here)
BSRPR3200 - Oracle Cluster
BSRPR3300 - SAP Cluster
 
When you shutdown (place offline) and restart (place online) the database in a clustered environment you have to use ORACLE FAIL SAFE MANAGER.
 
When I ran the restore I ran it from BSRPR3102. The brrestore -d util_file -b last -m full -c force completed successfully.
 I received this oracle error:
 
ORA-01589 must use RESETLOGS or NORESETLOGS option for database open

Cause: Either incomplete or backup control file recovery has been performed. After these types of recovery you must specify either the RESETLOGS option or the NORESETLOGS option to open your database.

Action: Specify the appropriate option.

When you restore the control files and one or more database files or in my case restore the entire database I would need to open the database with resetlogs, which puts the database back to how it existed as of the restore:

My question is: If the database is already shutdown and the only way to open the database is to use ORACLE FAIL SAFE MANAGER were do you enter

ALTER DATABASE OPEN RESETLOGS;

I tried logging on with sqlplus but it would not allow me

Thanks for your help


0
algotube
Asked:
algotube
1 Solution
 
algotubeAuthor Commented:
Hello I was able to log into sqlplus:

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\pr3adm.ALGOMA>sqlplus /nolog

SQL*Plus: Release 9.2.0.7.0 - Production on Tue Apr 4 15:36:43 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

SQL> connect / as sysdba;
Connected to an idle instance.
SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01034: ORACLE not available


SQL>

as you can see I have connected as sys and received ORA-01034 when I used alter database open resetlogs.........what command should I have used before the alter database open resetlogs...............
0
 
MikeOM_DBACommented:

startup mount;
0
 
GranModCommented:
Closed, 100 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now