Initial setup for standby database - doubts ??

Hi,
While creating a physical standby database from a primary database what is the initial setup in case of the standby database which will be created.
1.Is it that I will only install the oracle with no starter database and then continue with the steps for creating standby database.
2. The SID has to be the same for both the database or can it be different.
Waiting for your answer.
sl

1)
Fulfill the prerequisites
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm#i58150
2) It has to be same.

Similar Messages

  • Error while trying to setup a standby database.

    While tring to setup a standby database (with version 8.1.7.0.0) i am running the command:
    recover managed standby database timeout 20;
    Here is the errors i'm getting:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/data/syndicate/standby/system/dup75_system01.dbf'
    ORA-16016: archived log for thread 1 sequence# 6518 unavailable
    Although it says that file 1 was not restored from sufficiently old backup I've copied all the datafiles from the primary database at once - using a script.
    The archived log sequence it asks for is non-existant - the last one i have is # 6517.
    Thank you guys in advance for any ideas.
    Greg

    I am having the same problem as you are when I am applying the current logs after successfully mounting standby database as seen below:
    SVRMGR> alter database mount standby database;
    Statement processed.
    SVRMGR> recover standby database ;
    ORA-00279: change 2939586 generated at 07/28/2002 01:09:33 needed for thread 5718
    ORA-00289: suggestion : C:\ORACLE\ORADATA\STANDBY\ARCHIVE\STANDBYT571S00362.ARC
    ORA-00280: change 2939586 for thread 5718 is in sequence #362
    Specify log: {=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\STANDBY\SYSTEM01.DBF'
    SVRMGR>
    Just before copying the datafiles from the primary database I did the following:
    Connected to the primary database:
    1. alter database create standby controlfile as .....
    2. alter system switch logfile
    3. shutdown normal
    4. took a cold backup (including archived redo logs)
    Copied the data files, redolog files, archived redo logs and standby controlfile to standby database:
    1. made copies of standby controlfile over current standby ones.
    2. startup nomount (the standby database)
    3. alter database mount standby database;
    4. recover standby database;
    That's when it asks for an archived redo log that does'nt exist and when I enter cancel, that's when I get the above error?
    Am I not applying the latest redo logs to the latest cold backup of the primary database?
    Your help would be much appreciated!

  • Procedure for Standby Database for SAP ERP 6.0

    Hello All,
    We are using SAP ERP 6.0 with Oracle 10g with AIX 5.3.
    We are planning to setup a standby database for our SAP ERP 6.0 production system as part of remote DR site using Oracle Data Guard.
    I was under the assumption that i can first install an erp 6.0 (ABAP) system using homogeneous system copy from my erp 6.0 (ABAP) production system and then start configuring oracle dataguard.
    But the System Copy Guide "System Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 ABAP" has mentioned that "You cannot create standby systems with a system copy".
    Please suggest the best practise or the procedure for creating standby database for SAP ERP 6.0 system. Iam not looking at the steps for creating a pure oracle 10g standby database, but with SAP instances as well.
    Thanks in advance.
    CVS

    Hi,
    Please refer the below mentioned link for configuring data guard.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10823/create_ps.htm
    Below mentioned are the sequence of stpes, which needs to be followed for setting up data guard.
    3.1 Configuring the Primary Database
    3.1.1 Enable archiving and define a local archiving destination
    3.1.2 Create a password file
    3.1.3 Configuring the Oracle networking files
    3.1.4 Set initialization parameters on the primary database
    3.1.5 Take Offline/Online backup of the primary database
    3.1.6 Create a control file for the standby database
    3.1.7 Prepare initialization parameter file for the standby database and start the primary database with the changed pfile.
    3.1.8 Copy all files from the primary host to the standby host
    3.2 Configuring the Standby Database
    3.2.1 Configuring the Oracle networking files
    3.2.2 Create a INIT parameter file for the standby database
    3.2.3 Copy the standby controlfile to the appropriate location
    3.2.4 Create Oracle Password File
    3.2.5 Start the physical standby database
    3.2.6 Initiate log apply services
    Regards,
    Ranjith

  • Initial setup for After Effects

    Hi. Running AE CS4 on a Mac Pro w/ 16 GB RAM. Have some questions regarding an initial setup for AE using two internal drives (boot drive is an SSD).
    With the aim of keeping my boot drive lean as possible and improving AE performance, in Preferences, under Conformed Media Cache, is it a good idea to select a folder on a different drive than the boot drive for both Database and Cache?
    Should I enable Disk Cache and should I choose a folder on the 2nd drive for it? I read that enabling Disk Cache is not a good idea if you only have one internal drive bus. I've got a mid-2010 Mac Pro and I'm not sure if it has more than a single internal drive bus (although there's a reference to busses in the specs).
    Re: Enabling "Render Multiple Frames Simultaneously" Without this enabled I was only able to get a RAM Preview duration of about 4" on a particular clip, but with it checked off, I was able to preview the entire clip (20"). So this definitely seems to be a good thing to have enabled. Anything I should be careful about?
    Last thing. Does it matter if I keep my AE project files in a folder on the 2nd drive?

    Dr. Seward wrote:
    Re: Enabling "Render Multiple Frames Simultaneously" Without this enabled I was only able to get a RAM Preview duration of about 4" on a particular clip, but with it checked off, I was able to preview the entire clip (20"). So this definitely seems to be a good thing to have enabled. Anything I should be careful about?
    You're running CS4. CS4 is old. It was written in 32-bit. This means it can only address under 4 GB of RAM. (CS5 and later are all 64-bit, so they can all access much more RAM.) When you enable multiprocessing in CS4, it actually launches several instances of AE so that it can address more RAM. Thus, your RAM preview will be longer because you are accessing more RAM. Does that help?

  • Error in CTC for BI Initial Setup for ABAP

    Hi,
    I have freshly installed BIJAVA 7.0 system and now i wanted to connect
    with BW ABAP7.0 system which has been system copied from Qualtiy system.
    While running the CTC template for BI Initial Setup for ABAP i am
    getting following error :
    " Validate Client : BW is already configured for different client. CTC
    can be run only for that client. If BW has to be configured for the
    client entered in 'Client' input field, perform Client copy using
    transaction SCCL before running CTC template. "
    I have used Java UME option during installation.Will it create any
    problem.
    Regard's
    Goldy

    Hi,
    Hope you would have done all the post precessing after system copy.
    Please check what are the entry maintained in the table mentioned below.
    RSPOR_T_PORTAL
    Change the entry in the above table in SM30 in backend  and also check the settings in the portal
    System Administration -> System Landscape-> SAP_BW
    Thanks
    Rishi Abrol

  • Archive apply issue for standby database in Standard Edition.

    We have setup standby database in Oracle standard edition. the archive log cannot be send by oracle automatically. So we manually send the archive over. But do not see the database apply the archive log file. What could be wrong and where should we check on it?
    We also used following when finishing the standby DB after running "recover standby database;" for a few archive log file:
    alter database recover managed standby database disconnect from session;
    ======================================================================================
    This is the status:
    SQL> select OPEN_MODE, SWITCHOVER# ,REMOTE_ARCHIVE ,ARCHIVELOG_CHANGE#,SWITCHOVER_STATUS, DATABASE_ROLE from v$database;
    OPEN_MODE SWITCHOVER# REMOTE_A ARCHIVELOG_CHANGE# SWITCHOVER_STATUS DATABASE_ROLE
    MOUNTED 495550636 ENABLED 1.2201E+13 SESSIONS ACTIVE PHYSICAL STANDBY

    The DB version is 10.2.0.5
    I can do this to apply at standby DB:
    SQL> set autorecovery on
    SQL> recover standby database;
    Then I tried to run this to leave the session:
    alter database recover managed standby database disconnect from session;
    Do not seen any apply.
    =============================
    Here is the last lines of alert log:
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/cntus/redolog/redo01b.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Thu Sep 06 15:08:34 EDT 2012
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/cntus/redolog/redo01b.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Clearing online redo logfile 1 /u02/cntus/redolog/redo01a.log
    Clearing online log 1 of thread 1 sequence number 10158
    Thu Sep 06 15:08:34 EDT 2012
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/cntus/redolog/redo01b.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Thu Sep 06 15:08:34 EDT 2012
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    Clearing online redo logfile 1 complete
    Media Recovery Waiting for thread 1 sequence 10166
    Thu Sep 06 15:08:35 EDT 2012
    Completed: alter database recover managed standby database disconnect from session
    ======
    We have the directory /u02/cntus/redolog and /u03/cntus/redolog. But nothing in there. Should we create redo for it? Is this a separate issue?
    Thanks!

  • Standby database doubts

    Hi All,
    I have some doubts in Oracle Standby database configuration and log transfer and redo apply.
    I have read the below document.
    Oracle® Data Guard Concepts and Administration
    Now my doubts are *(in Physical standby database with Maximum performance mode)*
    1. When configuring the standby database we are creating standby redologs in primary database,Is this standby redologs are used only when the role transition happens or for anyother purpose?
    2.The archivelogs are shipped from primary to standby and the archivelogs are applied to the standby database by doing the normal media recovery.Now, how and when the data is written in the standby database redologfiles,so that when we enable the real time apply it uses the standby database redologfile to apply the data without delay?
    3.(if the second point is true)In the standby database will it generate the Archivelogfiles from the redo applied, apart from the primary archivelogs which are transfered?
    Please Advice..
    TIA,

    1. When configuring the standby database we are creating standby redologs in primary database,Is this standby redologs are used only when the role transition happens or for anyother purpose?It is not for role transition.
    A standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases.
    You can recover more data than only applying archive logs in case of failure.
    SRLs' are a must for real time apply.
    2.The archivelogs are shipped from primary to standby and the archivelogs are applied to the standby database by doing the normal media recovery.Now, how and when the data is written in the standby database redologfiles,so that when we enable the real time apply it uses the standby database redologfile to apply the data without delay?The data is directly written from production to SRL of standby database using lgwr process(with the help of RFS), that is why it real time. Not waiting for a log switch. See the [diagram.|http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm#i1021537]
    3.(if the second point is true)In the standby database will it generate the Archivelogfiles from the redo applied, apart from the primary archivelogs which are transfered?No. Only standby redo log will generate archived logs.
    Regards,
    S.K.

  • High Availability - Active Passive setup for EBS Database

    Hello Gurus,
    We have the below environment:
    Oracle Applications - 12.1.3
    Oracle Database - 11.2.0.3
    OS - Oracle Enterprise Linux 5.7
    I would like to know how to achieve high availability (*Active/Passive*) for the database. We don't want to go with RAC at this stage. Can you please guide on a specific note id which explains how to setup an active passive database environment for HA.
    Thanks.

    Hi;
    We have the below environment:
    Oracle Applications - 12.1.3
    Oracle Database - 11.2.0.3
    OS - Oracle Enterprise Linux 5.7
    I would like to know how to achieve high availability (*Active/Passive*) for the database. We don't want to go with RAC at this stage. Can you please guide on a specific note id which explains how to setup an active passive database environment for HA.You can go with Dataguard. Please review:
    Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1]
    Also see:
    MAA Roadmap for the E-Business Suite [ID 403347.1]
    Regard
    Helios

  • SAPOSCOL for standby Database

    Hi ,
    To read the SAPOSCOL information of DB system ( distributed environment) from SAP Applicaiton, I have created the SAPOSCOL destination SAPCCMSR.<<Hostname>>.99 with below utility
    /sapmnt/<SID>/exe/sapccmsr -R pf=/usr/sap/tmp/sapccmsr/sapccmsr.pfl
    However, I cannot use this to read OS information when system is running on standby database.
    I have searched lot and gone through many links to setup destination for standby DB OS information and no luck.
    Can any one help me by providing some information how to setup destination.

    Hi Murugesan,
    You can configure CCMS monitoring on the standby database .
    You can do the following to achieve the same
    install the sapccm4x agent on the standby host
    - Register the agent to the CEN
    - In the agent home directory create a file like oscolfilter.ini In this file enter the filesystems you would like to monitor
    - Add the oscolfilter.ini file into the sapccmsr.ini file This is also located in the agent home directory
    - Create a MTE for filesystem monitoring in your CEN. Add the relevant monitor attribute there.
    - Assign autoreaction via RZ21
    For more information, see OSS Note 522453 - RZ20: Monitoring operating system data
    Hope this helps.
    Regards,
    Deepak Kori

  • Logical Standby Database - Doubts

    Hi everyone,
    I have a doubt about this view: dba_logstdby_unsupported;
    This view shows up me 400 tables, so i understand that an operation DML on these tables won't be replicated in the other node?, or only the fields allowed will be replicated in the news record? or new record on these tables will be replicated if these records have NULL value in the fields doesn't allow.
    Thank you very much if someone can help me with this doubts.
    Regards

    This is what the documentation says:
    If the primary database contains unsupported tables, SQL Apply automatically excludes these tables when applying redo data to the logical standby database.Source: Unsupported Tables

  • Problem on archivelog for standby database

    Hi,
    I have an RAC architecture on linux in standard edition.
    I build a standby database on an other server in standard edition.
    I have build my standby database and open in read only but when i do some modifications in my rac i can't apply my archive logs because in
    RAC i have the thread notion and the apply give me an error:
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /db/RSAPRODS/FRA/RSAPROD/archivelog/2011_03_30/thread_1_seq_166.354.747075275
    ORA-00325: archived log for thread 2, wrong thread # 1 in header
    ORA-00334: archived log:
    I don't know how to do to generate an archive log for my standby.
    Thanks

    $ oerr ora 325
    00325, 00000, "archived log for thread %s, wrong thread # %s in header"
    // *Cause:  The archived log is corrupted or for another thread. Can not
    //          use the log for applying redo.
    // *Action: Find correct archived log.Make sure you have transfered archived redo logs in binary mode if using ftp and that they are not corrupted : you can try to use cksum or md5sum on source archived redo log and on target archived redo log.

  • CCMS MAIL ALERT FOR STANDBY DATABASE

    Hi All,
    I've configured the CCMS alert monitor in my entire landscape & I'm successfully getting alert mails from CCMS alert monitor (T-codes involved are RZ20 & RZ21).
    I want to activate the same functionality for my standby database. At least I want to configure the CCMS alert monitor for File System Utilization in my Standby database.
    Can any one guide me about the configuration setting for file system utilization in Standby Database through CCMS monitor.
    Regards,
    Neehir Bhatt

    Hi,
    Highlevel steps:
    - Install the sapccm4x agent on the standby host
    - Register the agent to the CEN
    - In the agent home directory create a file like oscolfilter.ini In this file enter the filesystems you would like to monitor
    - Add the oscolfilter.ini file into the sapccmsr.ini file This is also located in the agent home directory
    - Create a MTE for filesystem monitoring in your CEN. Add the relevant monitor attribute there.
    - Assign autoreaction via RZ21
    For more information, see OSS Note 522453 - RZ20: Monitoring operating system data

  • Best way for standby database?

    hi,
    I heard that DataGuard and Streams are two ways to have a standby database ready in case your normal database fails?
    Can someone please share their experience of using either of these so that I can decide which one I should research into?
    thanks

    I am not very good in streams but whatever little I know , based on that , DG is a block by block copy of the production over the standby making it sure that in the case of the disaster, if you would do failover, there won't be anything that you would be missing. That's why physical standby is the best and if I can say, the only way to do take care of a disaster. Further enabled with Broker, it can be done completely without the dba's intervention which would happen in 20seconds maximumly ( I hope the timing is correct) making it an idle solution for the HA. With 11g enhancements of Active Dataguard and Snapshot Standby, it has really become a useful entity for normal functionality/working of the databases as well.
    Streams, on the other hand is a replicaton tool based on some rules that you define. Compared to DG, it can be just a part of the production system which is replicated over the other side. So I won't consider this as an ideal to take care of disasters.
    Just my 2 cents.
    Happy new year and belated merry Christmas as well :-) .
    Aman....

  • Autorecover for standby database....

    Does anyone know if there are plans to allow the autorecover function to apply log files to a standby database without bringing the database online? It would seem like a logical option to have and greatly simplify the management of log files on the standby server.
    Alternatively, does anyone have any template scripts (RHEL4) that they could post for applying log files on a standby server. I don't believe in re-inventing the wheel if I don't have to.
    Thanks,
    George M-A

    Hello George,
    we are in the same situation of not to re-invent the wheel.
    So I used the forum search and some google and found the following link:
    http://lists.mysql.com/maxdb/24407
    In this thread a script for autorecovering is discussed.
    We are now trying to verify the script and to customize it for our environment.
    Regards,
    Thomas

  • Force logging at tablespace level for standby database

    Hi
    Can we create a standby database by enabling force logging at tablespace level instead of enabling it at database level.I want to out the tablespace containing indexes in nologging mode so that when I rebuild the indexes no logs will be generated.

    Technically, you can create a Standby without having set FORCELOGGING at the Primary database.
    You can also then selectively FORCELOGGING for all your important tablespaces (beginning with SYSTEM, SYSAUX, UNDO ....)
    However, for a Physical Standby Redo Apply will mark the blocks (e.g. those populated by the CREATE INDEX .. NOLOGGING) as "corrupt". You will get Read Errors (ORA-1578 and ORA-26040) when you attempt to read the index (e.g. for a Table query).
    So you have to monitor your NOLOGGING operations and the datafiles where NOLOGGING is applied. You can take Incremental RMAN Backups of such datafiles and restore them to the Standby immediately after the NOLOGGING operations.
    Hemant K Chitale

Maybe you are looking for

  • Unexpire a User

    I have got an Issue to unexpire a user in SRM How can i do this? In our Case we replicate the Employees from ECC to SRM Please help Thanks in advance

  • Strange String literal issue - Newbie alert !!

    Hello all, Please forgive if this is dumb but I have a deadline to meet. I have a function func_name(int num, String ip_s1, String ip_s2) It works just fine if I do somaclass.func_name(123,"string1","string2"); but not for someclass.func_name(123,str

  • Recurring kernel panic (AirPort suspected)

    Hi All, I have a recurring kernel panic - it comes more and more often, I will send my iBook to Apple, yet maybe someone know what does the following mean: Fri Oct 7 14:55:52 2005 panic(cpu 0 caller 0x000A8B98): Uncorrectable machine check: pc = 0000

  • WTF Is Google Analytics and why is it hangin up Firefox?

    On almost every site i visit recently the page will load for a second and then get redirected to a page that never loads. At the bottom of the browser is a message "waiting for google analytics. Has google gone mad? Had firefox gone off the deep end.

  • Is it possible to restore to a previous iCloud backup?

    Hey, my brother just recently got an iPhone 5, and logged in with my iTunes account, and enabled iCloud, and all of my contacts went onto his phone, he then deleted them all because he dosnt know any of them, and now I have no contacts anymore. I hop