|
|
Re: Standby Database error [message #252706 is a reply to message #252705] |
Thu, 19 July 2007 13:30 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Did you take backup through rman ?
Did you create Standby controlfile or just copy the existing controlfile?
If your backup was hot did you move all archivelogs?
|
|
|
|
Re: Standby Database error [message #252708 is a reply to message #252707] |
Thu, 19 July 2007 13:43 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Quote: | i did a manual backup to tape after downing the database
|
What is manual backup?? you mean cold?
Quote: | i created a standby controfile
|
In mount stage or open stage.? If you took cold backup then make standby controlfile in mount stage.
|
|
|
|
Re: Standby Database error [message #252714 is a reply to message #252712] |
Thu, 19 July 2007 14:02 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
bank_master wrote on Thu, 19 July 2007 12:56 | cold backup
and i used
alter datatbase create standby controlfile as 'h:directory'
|
In mount or open stage??
|
|
|
|
|
Re: Standby Database error [message #252717 is a reply to message #252716] |
Thu, 19 July 2007 14:21 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u200/oracle/espsvcs/oraarc
Oldest online log sequence 932
Next log sequence to archive 941
Current log sequence 941
and
SQL> ;
1 select name from v$archived_log;
NAME
--------------------------------------------------------------------------------
/u200/oracle/espsvcs/oraarc/arch_1_933_623881327.arc
/u200/oracle/espsvcs/oraarc/arch_1_934_623881327.arc
/u200/oracle/espsvcs/oraarc/arch_1_935_623881327.arc
/u200/oracle/espsvcs/oraarc/arch_1_936_623881327.arc
/u200/oracle/espsvcs/oraarc/arch_1_937_623881327.arc
/u200/oracle/espsvcs/oraarc/arch_1_938_623881327.arc
/u200/oracle/espsvcs/oraarc/arch_1_939_623881327.arc
|
|
|
|
Re: Standby Database error [message #252720 is a reply to message #252718] |
Thu, 19 July 2007 14:38 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
SQL> show parameter log_archive_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest string $ESPSVCS_ORAARC
log_archive_dest_1 string
log_archive_dest_10 string
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
entries from PFILE
###########################################
# Redo Log and Recovery
###########################################
fast_start_mttr_target=300
#log_archive_start = true
log_archive_dest = $ESPSVCS_ORAARC
log_archive_format = arch_%t_%s_%r.arc
you can change it like
SQL> alter system set log_archive_dest='/export/home/oracle';
System altered.
SQL>
[Updated on: Thu, 19 July 2007 14:43] Report message to a moderator
|
|
|
|
Re: Standby Database error [message #252724 is a reply to message #252721] |
Thu, 19 July 2007 15:22 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Are you wanna configure dataguard?
Do you want specify one archive location to standby?
Log_archive_dest_2=’Service=to_standby
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=standby’
|
|
|
|
Re: Standby Database error [message #252890 is a reply to message #252854] |
Fri, 20 July 2007 08:50 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
I have one question for you .
Do you want to configure dataguard for your Database?
Quote: | how do u tell teh standby database where to get the archive logs from?
|
It have lot of steps how standby knows about the archivelogs and how to apply those logs on standby datafiles.
Let suppose we have two server A & B.Let A is your prod and B is your standby,we do some parameters changes in PFILE/SPFILE on both A & B side for database syncrohnization.
And on server B we execute some commands in mount stage in order to apply archivelogs shipped from server A.There are some tables/views from where you can monitor the whole activity.
|
|
|
|
|
|
Re: Standby Database error [message #253329 is a reply to message #253017] |
Mon, 23 July 2007 09:35 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
post the result of these 2 queries.
run on Primary
==============
• SQL> Select Status, Error
from v$Archive_dest
where dest_id=2;
Run on standby
==============
• SQL> Select Name, Applied, Archived
from v$Archived_log;
|
|
|
|