3 Replies Latest reply: Feb 26, 2013 2:35 AM by Hemant K Chitale RSS

    Database and Application DR

    Richa
      Hi,
      Database - 11.1.0.7
      Application - 12.1.3
      OS - Linux

      I'd made dataguard for EBS using the following doc:-
      Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1]

      Database DR is configured and its successfully working. Now I'd to configure application DR.
      I'm unable to get below points fro the doc:-

      Section 5: Configuration on application tiers after standby database is enabled

      -------------------------
      5.1 Configure standby application tiers

      •     Perform file-based configurations on standby application tiers

      1.     After the application tier software copies are complete, the file system configurations need to be updated to reflect the new environment. To do this on the application tiers, log onto each standby application tier system as the APPLMGR user and execute the following commands. Since your environment scripts are not yet set up, you will need to manually resolve the reference to <COMMON_TOP> and <APPL_TOP>:
      If the directory structure on standby is different than the primary then you need to run "perl adcfgclone.pl atTechStack" instead of adclonectx.
      $ cd <COMMON_TOP>/clone/bin
      $ perl adclonectx.pl <INST_TOP>/appl/admin/<PRIMARY CONTEXT>.xml
      Refer to My Oracle Support Knowledge Document 406982.1 Cloning Oracle Applications Release 12 with Rapid Clone for details.

      2.     When the script is finished and the context file is created, execute the following commands, again resolving the reference to
      If the application tier is configured as a concurrent server only, then modify the context variable s_isWeb to YES . After executing the commands below, change it back to NO. <Bug 14253714 >
      <APPL_TOP> manually:
      $ cd APPL_TOP/ad/12.0.0/bin
      $ perl adconfig.pl contextfile=$INST_TOP/appl/admin/<STNDBY CONTEXT>.xml run=INSTE8
      Answer the questions when prompted. This creates your environment files on the application tier. It tries to connect to the database, so some portions will fail, but the environment scripts should be created successfully. /LI>

      •     Optionally, set up rsync for log and out files.
      If you wish to synchronize your concurrent manager log and out files from primary to the standby, first create directories matching to the APPLCSF environment variables in the appropriate place on the standby application tier server(s). For example:
      $ mkdir -p <APPLCSF from PRODUCTION>/log
      $ mkdir -p <APPLCSF from PRODUCTION>/out
      Repeat this on the primary server, creating directories matching the standby context name, so as to be ready for a switchover operation.
      For UNIX systems, on the primary application tier(s), set up an rsync job in cron, to run every few minutes. This example synchronizes the log directory:
      $ rsync av < APPLCSF>/log <standby_host>: <APPLCSF from PRODUCTION >/log --rsync-path=/usr/local/bin/rsync

      --------------------------------

      Can someone please explain.
      Thanks in advance.