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

Similar Messages

  • Hostname for Standby Database

    Hi All,
    We are setting up standby database for MSSQL2008 in windows 2008 R2 environment. For our customer scenario, their infra team insist of using log shipping to transfer log file and file replication to to replication SAP files.
    Therefore, i've a question in mind.. Do we need to maintain identical hostname for primary and standby database? fyi, they have cluster their primary and DR host.
    If different hostname, virtual hostname is used, basically we can just drop the primary host from the domain and change that respective hostname, virutal hostname and ip for the DR host during swing over? If that's the case, is the any other action we need to perform? Do we need to change any registry? I believe SAP profiles and etc are identical due to the file replication.
    If same hostname is maintained for both primary and standby host, i believe we might need to isolate standby host from the network and change the entries in DNS or routing table during swing over?
    Any feedback and good suggestion are mostly welcome and much appreciate.
    Cheers,
    Regards
    Nicholas Chang.
    Edited by: Nicholas Chang on Feb 10, 2011 4:36 PM
    Edited by: Nicholas Chang on Feb 10, 2011 4:37 PM

    Hi,
    when the primary and the standby database server are on the same network, they have to have a different hostname.
    Is the SAP Ci on the same Cluster as the DB (active-active Cluster) ?
    Is the SAP System itself a cluster ?
    You have three different scenarios here:
    - only the DB cluster is failing
    - only the CI Cluster/System is failing
    - both systems are failing
    For the first case you can
    - either change the profiles of the primary SAP system to point to the new DR DB Host
    - or define a AD alias in beforehand, to which you connect normally.
       Then you have to change the alias only to point the SAP System to the new DR DB Host
    For the second case you can
    - change the profiles of the DR SAP System to point to the primary DB Host
    - or define a AD alias in beforehand, to which you connect normally. When you start
      the DR SAP Systen then, it will connect to the primary DB Host
    For the third case you can
    - change the profiles of the DR SAP System to point to the seondary DB Host
    - or define a AD alias in beforehand, to which you connect normally.
      In the DR case you have to change the Alias in the AD and then you can
      start the DR SAP Systen. It will connect to the primary DB Host
    Changing the virtual or physical hostname during DR swing over is not a good option,
    as you have too many side effects. Using an Alias is much easier and faster.
    Using Database Mirroring (SQL 2005 or higher) will eliminate case 1, as the SAP
    system can swing over to the DR side automatically in the DR case.
    Best regards
      Clas

  • Tcode for listing database in SAP AII 4.0

    Hi,
    Can anyone tell me what is the Tcode for listing Database in SAP AII 4.0?

    If you're looking for a listing of AII 4.0 tables, most are prefixed with "/AIN/".  You can go to SE16 and type in <b>/AIN/*</b> in the input field and drop down on it to display the different tables and their descriptions.

  • 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 for Oracle 8.1.7 Std Ed

    Hi, I am using Oracle 8.1.7 std ed with W2K Adv Server. Both primary host and remote host using the same version of oracle and OS.
    So far both oracle path are identical and the standby folder is same with primary and I don't think I need to add the db_name_convert and log_name_convert into my standby parameter file.
    I have make a consistent backup from primary to standby and also create the standby control file from primary. However, I am having the problem on setting up the tnsnames.ora and listener.ora for both primary and standby? Can someone here give me the sample on configure those ora file? Say example
    Host Name (Primary) : PRMY
    DB_NAME (Primary) : PRMY
    SID (Primary) : PRMY
    Instance (Primary) : PRMY
    Host Name (Primary) : STBY
    DB_NAME : PRMY
    SID (Primary) : STBY
    Instance (Primary) : STBY.
    This error message is once i am going to connect the standby database via SQL*Plus using sys/change_on_install@STBY, error ORA-12154: TNS:could not resolve service name displayed. However, I managed to login follow by set oracle_sid=STBY and connect as sysdba.

    Hi Albert,
    Please find below the ora files for your perusal.
    # TNSNAMES.ORA for Primary Database
    PRMY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PRMY)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PRMY)
    STBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = STBY)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STBY)
    ============================================================
    # LISTENER.ORA for Standby Database
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = STBY)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (GLOBAL_DBNAME = STBY)
    (ORACLE_HOME = E:\oracle\ora81)
    (SID_NAME = STBY)
    ==============================================================
    # LISTENER.ORA for Primary Database
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PRMY)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (GLOBAL_DBNAME = PRMY)
    (ORACLE_HOME = E:\oracle\ora81)
    (SID_NAME = PRMY)
    )

  • Error while creating standby database for ebs prod database

    Hi,
    We are getting error while trying to create a standby database for EBS database by using RMAN DUPLICATE commands,
    Steps followed:
    1.) Backup the primary database (Ebs PROD db). This was done on 12-Mar-2012
    ***RMAN backups are scheduled to run @10:00 pm every night. Flash Recovery Area has been configured and backup is taken at this location
    everyday.
    2.) Tar the backupset, autobackup, archivelogs etc in FRA .... and copy this to the target server (STANDBY).
    *** Copy(oracle rdbms binaries and FRA) completed @12:00AM on 14-Mar-2012
    3.) Tried to create standby database by using RMAN duplicate on 14-Mar-2012
    RMAN> rman sys/sys@PROD auxiliary /
    RMAN> duplicate target database for standby dorecover nofilenamecheck;
    After, some time the RMAN DUPLICATE process errors out with,
    ORA-19563: header validation failed for file
    We are not sure about the cause of this error. While searching in Metalink, we got several notes (ex, 352074.1) but all the causes stated for this error
    are not applicable in our case. We double checked our instance to confirm this.
    We have also found that in PROD database there are 65 datafiles and after the RMAN DUPLICATE errors out in the targer server (STANDBY) the RMAN managed to restore 51 datafiles before erroring out.
    # Please note PROD database was also backed up on 13-Mar-2012. We have a suspicion that backup on 13-Mar may be a possible cause for this error but we are
    not sure.
    Need suggestions if there can be any other possible causes???
    We are in a fix and it would be appreciable if we get some quick suggestions..
    Regards,
    Rupdipt
    Edited by: orarup on Mar 14, 2012 12:29 AM

    When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (data file, archived log, or control file) belonging to the current database.
    Kindly Ensure that the correct files are being specified for the copy or backup operation.
    Regs,
    Bhavi Savla.

  • Where can I download the agent for 11g database for 10.2.0.4 grid control?

    where can I download the agent for 11g database for 10.2.0.4 grid control? i can't find the link.

    I don't think there is one yet, but you can use Grid Control 10gR4 to monitor a 11g database. Please refer the certification matrix in Note 412431.1 Oracle Enterprise Manager 10g Grid Control Checker

  • 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

  • Can I use data guard to create a RAC standby database for a non RAC primary

    Hi,
    we need to RAC our production database but the normal methods will mean a long outage. It is possible to create a standby as a single node RAC database and when ready do a graceful failover to the standby database and open it for business. The next step would be to create another RAC node from this on the original server.
    servers are already cluster aware, using ASM etc
    Oracle 10.2

    Yes, you will be able to setup RAC stnadby for a non-RAC Primary. For primary it just needs a available destination for redo shipping it doesn't matter whether it's RAC enabled or not. And ofcourse you are using 10.2 anyway only one node will be running MRP and that is too in standby mount mode.
    However since you have are using You may follow below sequence.
    1. Setup a new standby as RAC enabled.
    2. Perform a switchover.
    3. Shutdown the Old primary (which is standby now).
    4. Install CRS and RDBMS on the old primary and it's new node.
    5. Modify the cluster_database=TRUE and cluster_database_instances=<required number of instances>.
        With above modification mount the standby database in standby mode and start MRP.
    6. Introduce the database and instances to the OCR using SRVCTL add command.
    7. Once you your database is synchronized with Primary do a switchover.
    9. Now you can repeat step 3 to 6 on the other site too.   <- if you need your secondary site to be RAC enabled too
    10. Finally both the sites should be RAC enabled.
    Hope this is helpful!!!
    Thanks,
    Asif Haliyal

  • How to open a standby database for use?

    First, let me state that I am not a DBA nor am I a systems guy; I'm a software developer.
    At work, we recently built a new virtualized db server by cloning our disaster recovery (DR) database server. The DR database was kept in 'standby' mode (I think that's the correct term) and was synched with production daily via archive logs.
    So now, we have this new virtualized server that has a clone of that 'standby' database on it, and I need to 'open' that database so that it's usable (ie, no longer a standby db). How do I do that?? We recently lost our DBA so this has fallen into my lap.
    From searching the web, I've found all sorts of instructions. It seems that I need to issue some commands via SQL*Plus? But as what user? From where do I issue these commands (I assume from the virtualized server)? And what are the commands?
    This is Oracle 10g v10.2.0.3.0 running on Solaris 10 for x86.
    Thanks!
    Dave

    Hi Dave, I do this each time we do a DR test. I have 10.2.0.3 in physical standby mode.
    First, I make sure I have flashback turned on (here is what I've done):
    connect / as sysdba
    startup nomount
    alter database mount standby database;
    alter database flashback on;
    alter database recover managed standby database through all switchover disconnect using current logfile;
    exit;Activate the physical standby:
    alter database recover managed standby database cancel;
    alter database activate physical standby database;
    alter database open;
    exit;When completed with DR test we return the database back to physical standby mode:
    Find the SCN when the physical standby was activated (this is so we can flashback to that point in time)
    select standby_became_primary_scn from v$database;connect / as sysdba
    flashback database to scn <this is the value returned from above>;
    alter database convert to physical standby;
    shutdown immediate
    startup mount
    alter database recover managed standby database disconnect from session;
    exit;I hope that helps,
    Michael Cunningham
    Edited by: Michael C on Nov 10, 2011 8:59 AM
    Edited by: Michael C on Nov 10, 2011 9:00 AM

  • Manually Setting up a Standby Database for RAC Environment

    Hi,
    I am a Junior DBA so apologies if this sounds like a silly question.
    We have production 11g Extended RAC environment setup. Management have asked for a separate single instance database be setup as a standby DB on a separate 'cold' server in case we lose complete connection to both sides of the RAC. I read up on Oracle Data Guard and presented this as a solution, but they seem adamant about manually going in and copying out the latest backup and archive logs over to the standby database.
    Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate database as easy as that?
    We are using ASM to manage to data files on the RAC. My understanding is that we cant manually access the files on an OS level when using ASM, but maybe I am wrong. Any help or opinions on this would be greatly appreciated.
    Rgs,
    Rob

    Hi,
    Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate >database as easy as that?Yes, but depends on DB version.
    what is the DB version.
    from 11g you have cp command so there is a possibility to copy generated archive logs to standby location, so that you can apply..
    In 10g there is no such option. you need to create a standby database. with automatic shipping
    Thanks

  • Creating a RAC standby database for a single instance database

    Dear All,
    I have a task of migrating a 500GB single instance database to a two-node RAC database with a little downtime at hand. My migration strategy is to:
    1) Create a RAC physical standby for the Single Instance database
    2) Switchover to RAC standby.
    Primary and Standby OS and DB configurations:
    OS: Windows Server EE 2003 (64-bit)
    DB: Oracle 10g Database Release 2 (10.2.0.4)
    Oracle 10g Clusterware Release 2 (10.2.0.4)
    To create a RAC standby, I will:
    a) Install Clusterware (10.2.0.1)
    b) Install Database (10.2.0.1)
    c) Patch both Clusterware and Database (10.2.0.4)
    d) Create ASM instance for both the nodes (+ASM1 & +ASM2)
    e) create standby controlfile on primary
    f) Move standby controlfile, RMAN backup of primary, pfile, listener.ora, tnsnames.ora, password file to standby host-1
    g) make necessary changes to the pfile on standby host-1 like cluster_database, instance_name, thread, ...
    h) mount standby database and restore backup
    Kindly validate my steps and if there already exists such a document then please do provide me with a link.
    Regards

    Please refer to MAA whitet paper :
    [http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf]
    [MAA website|http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm]

  • 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.

  • Best practice approach for seperating Database and SAP servers

    Hi,
    I am looking for a best practice approach/strategy for setting up a distributed SAP landscape i.e separating the database and sap servers. If anyone has some strategies to share.
    Thanks very much

    I can imagine the most easiest way:
    Install a dialog instance on a new server and make sure it can connect nicely to the database. Then shut down the CI on the database server, copy the profiles (and adapt them) and start your CI on the new server. If that doesn't work at the first time you can always restart the CI on the database server again.
    Markus

  • 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

Maybe you are looking for

  • Regarding Material creation

    Hi friends........ I have requirement to create Material through workflow....... menas we need to pass different views to different person..in his business workplace.... Thanks in Advance....... Regards, Charan

  • Site Definition issues when entering remote info in DWcs3

    good day, I am hoping someone can assist me with getting one of my new sites up and running. I am still on Dreamweaver CS3 as my hard drive at thsi time can not support hte size of CS4. I have created a new website for a friend of mine and she has pr

  • Menu Locations / Keyboard Shortcuts in CC

    I spent the day resetting my workflows and keyboard shortcuts as I transition from CS5.5 over to CC. Three questions: 1. Where is Create New Layer located in the InDesign menus? In CS5.5, I managed to create a custom shortcut in all three programs. I

  • Moving photos from iPhoto to Bridge

    Is there a good way to change from using iPhoto to Bridge on a mac? I tried creating a folder for Bridge and copying all the existing photos over, but it's a big mess. Each photo from 2013 went into it's own folder with labels that mean nothing. Help

  • Profit Center In Marketing Docs

    Hi Experts, I'm working on an addon, and there is requirement of filling up the profit center by default in grpo, how can i do this using SDK. Thanks in advance JAIDEEP AMULOJU