Archives from PRD to DR

Hi All,
Our SAP System:
ECC 6.0
Windows 2003
Oracle DB 10.2.0.4
We started our DR 1 month before and started patching it. as DR is UP and all Patches are successfully applied. We want to shift our users from PRD to DR and want to patch the PRD.
How can I apply archives from PRD to DR as our DR has one month old Productiion data. After then we will be able to shift users to DR. And when patching is done on PRD, we will shift them back to PRD and continue the DR as it is.
Please help how can i complete the task above.
Regards,
Diya.

Hi Diya,
As Sunny and Orkun mentioned, the archivelogs cannot be applied in DR/standby once the DB is opened. In your case you have already opened the DB in DR and hence you will not be able to apply the archivelogs now.
FYI: No need to apply the patches (SAP support packages) seperately in DR. Instead you can apply the patches in PRD and DR will be updated with patches/changes while you recover the archive logs.
You can follow the below mentioned steps to create a standby DR.
1. Backup the PRD DB (offline backup)
2. Stop the application and DB in the DR site
3. Restore the backup in DR using BRRESTORE
4. Create a standby controlfile in PRD and copy the same to the controlfile locations in DR
5. Start the DB at the DR site in the standby mode
6. Copy the archive logs (you can either do this manually or automate the same usnig oracle dataguard)
7. Apply/recover the archive logs in the DR (ongoing process).
(or)
1. Copy the datafiles from PRD
2. Create a standby controlfile in PRD and copy the same to the controlfile locations in DR
3. Start the DB at the DR site in the standby mode
4. Copy the archive logs (you can either do this manually or automate the same usnig oracle dataguard)
5. Apply/recover the archive logs in the DR (ongoing process).
Hope this helps/clarifies.
Regards,
Varadharajan M

Similar Messages

  • QAS Refresh from PRD

    Dear Bhudev/Guest,
    I am Planning to refresh my Quality system from Production's Offline Database Backup. I have seen you a lot posts.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Refresh from Offline backup (AQC from APC)
    Let's say AQC is quality and APC is production.
    Pre-processing Activity:
    Verifications:
    1. Verify the last offline backup in the source system /oracle//sapbackup/back.log
    2. Verify that both the source and target systems are at the same Oracle level (which is already the case between APC and AQC)
    3. It is recommended that an off-line backup be taken of the target system before starting this process, in case of fall back.
    4. Confirm there is enough space in the target (AQC) file systems to contain the data from the source system this is required as we may have to copy the files from Production to quality. /oracle/SID/sapdata* folders should be having little more space as compared to the source filesystem.
    5. Check access to SAP* for APC (000 and 400) and also for AQC (000 and 400)
    6. Check other passwords such as adm and ora
    7. Server : User : ora > sqlplus u201C/ as sysdbau201D > alter database backup controlfile to trace > exit In /oracle/SID/saptrace/usertrace, the last trace (check the time) is the script for recreating the control file. You will need to edit it. Please rename the trace file to ld.sql and send the file to the target system /oracle/SID Edit the Script: vi ld.sql Delete or comment out all lines at the beginning of the file before STARTUP NOMOUNT which is kept. Change old controlfile creation statement at the beginnig of the controlfile: Old line: create controlfile reuse database NOresetlogs archivelog; change to New line: create controlfile set database resetlogs archivelog; replace all occurences of string by in each line where appears :g / / s / / /g example: :g/P10/s/P10/T21/g Delete the following lines a the end of the script: ; RECOVER DATABASE; ALTER SYSTEM ARCHIVE LOG ALL; ALTER DATABASE OPEN;
    8. Get from the Prod system (APC) the .aff and backDPR.log and copy them on AQC. (/oracle//sapbackup) Copy the files to /instkits/SID/. And after we can go on target source server and copy them from /instkits/SID to the /oracle/SID/sapbackup/. With the good owner and permission
    9. Lock all the users in client 400 except Basis and post system message. Target system data collection (On AQC -400):
    1. SM59 Expand all the trees, print by choosing: ->System ->List ->Print i) Compare list to R/3 connections on source system. Record details for any that will need to be recreated on target system.
    2. SCC4 Record all client settings. -> Tableview ->Print ->Standard List -> List -> Print Make sure you understand the columnsu2026
    3. SE06 Record system change options
    4. RZ10 Record the instance profile settings for: rdisp/wp-no-btc and rdisp/max_wprun_time
    5. STMS Record current transport routes. ->Overview -> Transport Routes -> manually expand all trees -> system ->list ->print
    6. Request customer to provide u201Ccatch-upu201D list of transports to be applied to system after refresh (QA and Sandbox systems).
    7. RZ04 Record current work process set-up. Highlight each operation mode and click instances/op modes button. i) Print with ->System ->List ->Print
    8. SAP License Ensure the SAP license information is available. If not on-hand, logon target system as adm and enter command: saplicense u2013show. This information is also available on OSS.
    9. TSM Nodename View /usr/tivoli/tsm/client/api/bin64/dsm.sys on source and target system. Record the nodename entries. These will be SAP or server names.
    11. Take printer Export through SPAD and save it locally to desktop->SPAD
    12. Take Export of User Master from the client 400 through SCC8 target system is AQC , so that it may be re-imported through STMS. Note the Transport number here also verify the transport exist in the queue. DB Restore from offline backup from APC:
    1. Stop SAP on AQC -> Login as aqcadm -> stopsap
    2. Change the TSM node on AQC-> cd /usr/tivoli/tsm/client/api/bin64 ls -lrt vi /usr/tivoli/tsm/client/api/bin64/dsm.sys Change it to point to APC, comment the AQC Node. Post Restore Acitivity:
    1. Stop Database Delete Old controlfile rm /oracle/AQC/sapdata1/system_1/cntrl/* rm /oracle/AQC/saparch/cntrl/* rm /oracle/AQC/origlogA/cntrl/*
    2. Re-create the controlfile and then after that start the database User : ora > cd > sqlplus u201C/ as sysdbau201D > @ld.sql > alter database open resetlogs;
    3. Change the sapr3 password Server : User : ora Temporarily, we have to change the sapr3 password to the default password. With SAPBA, change this user password to pass.
    4. Test the connection: Server : User : adm > R3trans u2013d It should have a return code of 0000
    5. Reasign tempfile alter tablespace psaptemp add tempfile '/oracle/AQC/sapdata1/temp_1/temp.data1' size 6020M reuse autoextend on next 20971520 maxsize 10000M; alter database rename global_name to AQC.WORLD; drop user OPS$APCADM cascade; drop user OPS$ORAAPC; create user OPS$ORAAQC identified externally default tablespace psapdnausr temporary tablespace psaptemp; grant connect, unlimited tablespace, SAPDBA to OPS$ORAAQC; grant connect, unlimited tablespace, SAPDBA to OPS$AQCADM;
    7. Change the instance profile to stop all the background processing To be sure that no production batch are executing, set rdisp/wp_no_btc to 0 posprocessing:
    8. Startsap
    9. Run Transaction SICK (as sap*)
    10. Installing license through the tcode: slicense While logged in as 000/sap/using password of APC system Get the License from service.sap.com and download it to local machine Log in 000 client using SAP and run the Tcode slicense import printers, run BDLS for logical system name conversions se06 posprocessing stms usermaster import import profiles for QAS
    thanks
    Bhudev
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Hi Pranav
    why the SIDs of production and QAS are same, did you do refresh of QAS from PRD ?
    If yes, then you should have done control file creation and change of SIDs, after the datbase restore...
    however, if you want to create the new control file and change the SID then try to consider the following steps:
    1. Login as orasid
    2. connect to sqlplus
    3. run query: alter database PRD backup controlfile to trace;
    4. It will create a control file as a latest trace file (.trc) in the directory /oracle/PRD/saptrace/usertrace
    note: logout of sqlplus
    5. Rename that .trc file into ldQAS.sql
    6. copy this file into /oracle/SID ie. /oracle/QAS directory
    7. edit the .sql file as below
    8. CREATE CONTROLFILE SET DATABASE u201CQASu201D RESETLOGS ARCHIVELOGS;
    add above statement replacing the below:
    CREATE CONTROLFILE REUSE DATABASE u201CQASu201D NORESETLOGS ARCHIVELOGS;
    9. Replace all occurences of string <PRD_SAPsid> by <QAS_SAPsid> in each line where <source_SAPsid> appears
    :g/PRD/s/PRD/QAS/g
    10. login in sqlplus, stop database
    11. as oraqas, delete old control files:
    rm /oracle/SID/sapdata1/system_1/cntrl/*
    rm /oracle/sid/saparch/cntrl/*
    rm /oracle/SID/origlogA/cntrl/*
    12. again login into sqlplus (as sysdba always)
    13. run this .sql : @ldQAS.sql
    note: it should give a message that control file creaated.
    14. Open the database using: alter database open resetlogs;
    15. alter database rename global_name to QAS.WORLD;
    16. drop user OPS$PRDADM cascade;
    17. drop user OPS$ORAPRD;
    18. create user OPS$ORAQAS identified externally default tablespace <tablespacename>
    temporary tablespace psaptemp;
    19. grant connect, unlimited tablespace, SAPDBA to OPS$ORAQAS;
    grant connect, unlimited tablespace, SAPDBA to OPS$QASADM;
    at SAP level:
    1. you can run BDLS to convert logicalsystems from PRD to QAS SID
    Bhudev
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    In both post, There is some difference specially like User droping.
    Whether I have to run BDLS or Drop usr and create or both activity have to be done?????
    Regards
    Dharmendra

    Please explain step by step:-
    7. Server : User : ora > sqlplus u201C/ as sysdbau201D > alter database backup controlfile to trace > exit
    In /oracle/SID/saptrace/usertrace, the last trace (check the time) is the script for recreating the control file.
    You will need to edit it. Please rename the trace file to ld.sql and send the file to the target system /oracle/SID
    Edit the Script: vi ld.sql Delete or comment out all lines at the beginning of the file before STARTUP NOMOUNT which is kept.
    Change old controlfile creation statement at the beginnig of the controlfile: Old line: create controlfile reuse database NOresetlogs archivelog; change to New line: create controlfile set database resetlogs archivelog; replace all occurences of string by in each line where appears :g / / s / / /g example: :g/P10/s/P10/T21/g Delete the following lines a the end of the script: ; RECOVER DATABASE; ALTER SYSTEM ARCHIVE LOG ALL; ALTER DATABASE OPEN;
    8. Get from the Prod system (APC) the .aff and backDPR.log and copy them on AQC. (/oracle//sapbackup) Copy the files to /instkits/SID/. And after we can go on target source server and copy them from /instkits/SID to the /oracle/SID/sapbackup/. With the good owner and permission
    Break into steps and explain. It looks confusing to me because I am new to ECC with Oracle.
    Regards
    Dharmendra

  • Not able to recover QAS from PRD online backup

    Hi All,
    We are refreshing our QAS from PRD.
    We have restored the PRD database to QAS, using an online backup.
    After that, we created control file and brought the database in mount state.
    But, when we trying to recover the database, its giving follwoing error :
    ORA-00308: cannot open archived log
    '/saparch/RC4/PC4arch1_290393_614926552.dbf'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    Its craving for some redolog file, which has nothing to do with the backup, used for restore.
    All the logs, generated during the online backup, have been placed in the respective folder i.e. /saparch/RC4/.
    Why is it asking for the someother log file?
    Thanks

    Hi All,
    i have duly placed all the redologs in the archive directory which were generated during the online backup.
    But whenever i start recovery, instantly it asks for some random file which is PC4arch1_290393_614926552.dbf
    The sequence of redologs generated during the backup is PC4arch1_29069[3-9]_614926552.dbf and they all are present in archiving directory, i have doble checked the backup log, we have the right files in our archiving directory.
    I hope the situation is clear now.
    Please suggest now.

  • How to restore Thunderbird mail archive from external harddrive?

    Macbook Pro crashed (display). However, the hard drive is fully ok. How I can restore the local Thunderbird mail archive from the hard drive? I can see it as external drive from another mac computer.

    Terve, pekkak!
    Tässä englanninkielisessä kysymyksessä tulikin sitten jo vähän enemmän taustatietoa. Mielestäni paras vaihtoehto olisi koko profiilin kopiointi, sillä silloin saisit toiseen koneeseesi täsmälleen saman tilanteen kuin vanhassa koneessasi. Edelleen, sovella ohjeita artikkelissa [[Thunderbirdin profiilit]].

  • Logical system on QAS after remote client copy from PRD to QAS

    I wander after remote client copy from PRD to QAS do I have to change Logical system on QAS. Do I have to run some postprocessing program?
    Thank you in advance

    Hi Branko,
    After the system copy, go to transaction SALE -> Sending and receiving Systems -> Logical systems -> Define Logical System , click New Entries and create a new logical system for your QAS; then go to SALE -> Sending and receiving Systems -> Logical systems -> Assign Client to Logical System, click on the client, click change and assign the new Logical system.
    Other activities, check Jobs, RFC's, etc...
    Regards
    Juan
    Please reward with points if helpful

  • Download and upload variants from PRD to DEV

    Hi,
    Unfortunately, most of the variants are being created directly in production system, but not in development. We would like to stop this process further more.
    In future, we would like to follow the process from DEV & transport to QAS and PRD.
    To match the variants of PRD and DEV, I would like to download the variants from PRD to DEV.
    How can I download the variants from one system and upload to the other system.
    Regards,
    Ravi

    Ravi,
    1. You can include the variants into a transport request in se38.
    SE38--> Variants --> Utilities --> Transport request
    2. When you create your program use can use TVARV table for variants, and parameters. You can maintain it with STVARV transaction also. So if you create your program using TVARV in your program, then you can include the changes of the variables into a transport request (there is an option to do it in transaction STVARV).
    If you use tvarv table, then you have to take care of when you saving a variant:
    http://help.sap.com/saphelp_nw04/helpdata/en/c0/9803aae58611d194cc00a0c94260a5/content.htm
    I think there is no other standard way to transport the variants from one system to another.

  • Can an "Archive From Camera" folder be opened up in Final Cut Pro?

    Greetings.
    I'm just starting out, using an AVCHD camcorder and iMovie.
    I've got video in my camcorder, and I want to remove it from the camcorder to make room for more video, and edit it in iMovie.
    However, I also want to preserve the original in its original form for posterity and future use. I'd like to keep an original forward-compatible version around to use in Final Cut Pro (which I don't yet have but plan to get).
    iMovie gives me two import options - directly into iMovie (which changes the file), and an "Archive From Camera" which appears to save it in what looks like the same folders/files as what's on the camcorder.
    If I perform an Archive From Camera, can I use the folder it generates to import the original video into FCP at a future date?
    Is this the best way to take video, use it in iMovie, and save a copy of the original so that it's there if I want to step up the editing at a later date?
    Thanks!

    Thanks!
    So the safe workflow is basically: 1) make archive, 2) backup archive, 3) import into iMovie, 4) reformat camera.
    I'm nervous about errasing the video in the camera before I abolutely know it's safe, but I imagine if I leave it there and add to it, the next archive will combine new + old material..
    (apologies for the mirrored post - at 1st there were no takers in FCX so I then posted here).

  • Problem with create archive from mini-DV tape

    I have a fairly large collection of homemade mini-DV tapes. They are getting a bit old and I would like to back them up to my computer as well as have easy access to the footage with FCP.
    The tapes were made on a Sony TRV8 camcorder (either directly or as backups of older VHS tapes). I am using the same camcorder for playback.
    The camera shows up as expected in FCP. My goal is to "Create Archive" on each tape. Here is where I ran into some problems.
    My first tape ran about halfway through - around the 30 min mark and gave me a "end of tape" message. The footage was captured properly, but there is still half the tape to go. I tried a second time and only reached the 5 minute mark when the archiving ended with an "end of tape" message. I am on my third try as I type this and have made it to the 15 minute mark.
    I thought to possibly create multiple archives, picking up where I left off. However, whenever I select "create archive" FCP insists on rewinding the tape to the start. This behavior differs from the Apple KB article which states archiving will start from the current position of the tape.
    Adding to the problem is an issue of jittering playback.
    When I playback using the camera controls of the "play" button in the import window, things are fine. When "Create Archive" handles the playback on its own, the pictures jumps as if it is on a trampoline. Sometimes I am able to hit "stop" and then "play" to get a normal playback - sometimes hitting stop stops the archive with an "end of tape" message.
    Any ideas on what is going wrong or how to work around it? I have over 100 tapes to archive. If each tape requires numerous attempts to archive, this will never get done. I thought the archive process was supposed to import the entire tape?

    The bit about archiving from the current tape position is from Apple:
    "Final Cut Pro begins archiving from the current location on the tape."
    From Final Cut Pro X: Create and manage camera archives
    Last updated 9.16.14
    Obviously, that is wrong.
    The part about archiving ignoring timecode and just archiving the entire tape I have read in several online forum posts. Some I believe are in this forum. These same folks usually advise to use archive rather than import in a bad TC scenario. Again, it seems that wrong information.
    I am now simply doing an "import" of a tape, which appears to be working as expected. Seems either the age of the tape and/or the playback device is causing less than perfect timecode. Lot's of stutters resulting in a single "scene" being imported as many separate clips. I understand what you mean by assembling when ready to edit, but this is not practical. It looks like some areas are broken down to clips of 1-2 seconds (some even less).
    What a mess. I'm looking for a mini-DV player as I suspect my camcorder may be the culprit. Not easy to find one.
    Seems I will have to assemble the multiple clips to recreate the original. I am hoping I can then output the assembled sequences to DV files to maintain the "original" quality of the import (which should be the same as the tape since it is all digital). I would then create some FCP libraries to organize and store the clips.
    Was really hoping to simply do the camera archive thing. My tapes are all cataloged and organized. Having a number of archives which match each tape would have saved a lot of time and trouble.
    --and thanks for the help. It's a bit frustrating trying to preserve old tapes, especially when things don't work how you expect. Any workarounds or ideas to get a library of raw files out of this mess is appreciated. IF I can get that far, I plan to back up to M-disc.

  • URGENT help needed:Address data missing after QA Refresh from PRD

    All,
    Address data for almost all user-ids are missing after QA Refresh from PRD.
    In QA, after importing the User-Master although its shows successful. The detailed log shows:
       Data inconsistency in USR21. Start RSADRCK2 (See Note 459763)
       Exit program AFTER_IMP_ADDRESS3 successfully executed
       SAP user has no address SAP*
       Error while deleting ADRVP for SAP*
       SAP user has no address SAPCPIC...
       ERROR: Type "F" user exit with SYS_ERROR:     SUSR_CLIENTCOPY_USERBUF_RESET
    We also do a Table export - import wherein the tables
    USR03
    USR07
    USR09
    USR20
    USR21
    USR30
    are included.
    The no. of entries exported and imported are same.
    Also FYI in the User-master Transport i can see the following Tables included in the object list
    USR01
    USR02
    USR04
    USR05
    USR06
    USR08
    USR14
    USR21S
    USR22
    USRACL
    USREXTID
    USREXTIDH
    Has anyone seen this before?
    Any body has any ideas?

    Hello Bidwan,
    I think it is an issue with company address. Just check if  company addresses are existing the source client ?After client copy company addreses of target client will only exist in source client. Then if you do impot of the transport containing USR* tables it will try to assign old company addresses to the users but probably they are not exisitng in target client any more.
    If this is the case then you need to create those company addresses again using SUCOMP and then once again import the transport for user master.
    Regards.
    Ruchit.

  • Accessing a file in Imported Archive from Adapter module

    Hi,
    I am designing a module for File/FTP and Mail adapters. Is it possible to retrieve data from a CSV or TXT file uploaded in the Imported Archive from the Java code in the module? If this is possible, do I use the same approach as accessing the CSV data from the mapping using a UDF? If this is not possible, can you suggest other ways were I can access a CSV or TXT configuration file from an adapter module?
    I would like to avoid using Module key, Parameter name and Parameter value as I would like to make the adapter module generic and the data I will be reading might be too much to be specified in this location. However, I would use the Module key, Parameter name and Parameter value to specify the CSV or TXT filename which the adapter module will be using.
    Thanks in advance for any help that you can provide.
    Regards,
    Elbert

    Imported archives are part of mapping flow and adapter modules are more part of routing. Therefore I don't think imported archive could  be made accessible anywhere outside mapping.
    but my CSV or TXT file would be updated regularly by the developer.
    So were you planning to import this file again and again under imported archive? This doesn't seems to be a good solution when you think about changin Design part in Production environment. It would be better to give access to certain folder to developer to put the file there and access it using some code. You may refer this
    /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
    Regards,
    Prateek

  • Change archive from time 'sysdate-8' crosscheck;

    change archive from time 'sysdate-8' crosscheck;
    What does this statement do

    I am not sure, but I think that if you have reincarnate your database to your previous backup and uptill some previous archivelog, and the RMAN catalog is pointing to the latest archivelog, so the above command may be used to resync RMAN catalog with your reincarnated database.
    I would love to get corrected.
    Thanks.

  • To revert back a transport request from prd to dev server

    hi experts
        how to revert back a transport request from prd server to
        dev server?
        a transport request has been wrongly transported
        and it has make major changes in production server,
       now  we want to revert back that request , we know the   request no.
    regards
    pankaj

    All you have to do is create an order of transport type "Transport of copies" in PRO.
    I give you the steps to follow:
    1. Go to SE01 and create a new order (remember the type "Transport of copies").
    2. Enter the data of the order of transport that is going to come back.
    3. Enter the target, here is where you asign the target system to carry the request.
    4. Now just add the number of request to the new request you just created.
    5. Finally released the request from this transaction.
    6. Check on the queue of transport in DES, the request must appear there.
    I hope you serve =)

  • HR Master Transfer from PRD to Quality

    Hi All,
    I have a issue in PRD for an employee in PRD.
    Hence to analyse and test the same, I need to transfer/clone all his HR master data of same employee from PRD to QUality.
    Is there anyway I can achieve this?????

    HI,
    1. There is a Cloning tool available for such thing  called Clone and Test from Accenture. You can clone the data employee data from one system to another.
    2. However if there is a small set of updations, you can do that manually in QA.
    Hope this helps.
    Param

  • Building IdcCommand command file to archive from UCM

    Hi,
    I'm trying to build a command file to be run by the IdcCommand utility to archive files that have expired. Is it possible to set the export query in the command file? I know how to export the archive once the archive has been built, but I'm stuck on constructing the archive from the command line.
    Any help would be appreciated,
    Thanks!

    What's the benefit of creating the archive each time the command is run? wouldn't that create an excess of archives?
    Could you create one archive via the archiver applet and trigger the export via idccommand? Each export would be stored as separate batches within the archive, if configured to do so.
    Thanks,
    -ryan
    Ryan Sullivan | ECMconsultant
    http://www.ecmconsultant.net/

  • Script remove archives from standby after applied

    Hello,
    I am looking for a script to remove archivelog files from the standby flash recovery area after beeing applied.
    My database is 11.2.0.3.3 on Linux Redhat 5.
    Can someone kindly proovide me an example?
    Thank you

    RMAN does that for you :
    RMAN>CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    Then set the date to what you need and run as often as you need.
    http://docs.oracle.com/cd/E18283_01/server.112/e17022/rman.htm#BAJHHAEB
    #!/bin/bash
    # Name: db_rman_arch_standby.sh
    # Purpose: Delete archive from standby
    # Usage : db_rman_arch_standby <DBNAME>
    if [ "$1" ]
    then DBNAME=$1
    else
    echo "basename $0 : Syntax error : use . db_rman_full <DBNAME> "
    exit 1
    fi
    . /u01/app/oracle/dba_tool/env/${DBNAME}.env
    echo ${DBNAME}
    MAILHEADER="Archive_cleanup_on_STANDBY_${DBNAME}"
    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman target / catalog rmancat/rmancat@rcatalog << EOF
    delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-1';
    exit
    EOF
    echo `date`
    echo
    echo 'End of archive cleanup on STANDBY'
    mailx -s ${MAILHEADER} $MAILTO < /tmp/rmandbarchstandby.out
    . /u01/app/oracle/dba_tool/bin/rmemptyfolders.sh ${DBNAME}
    # End of ScriptUses an ENV file ( standby.env ) for each database. Use Linux ENV to compare to your settings
    ORACLE_BASE=/u01/app/oracle
    ULIMIT=unlimited
    ORACLE_SID=STANDBY
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    export TERM=vt100
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    export ORACLE_HOME
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    export TNS_ADMIN
    export PATHBest Regards
    mseberg
    Edited by: mseberg on Oct 25, 2012 4:58 AM

Maybe you are looking for