DB Refresh Procedure

Hello,
We have done DB refresh from ECC 6.0 Production to Pre-Prod using the below method but faced inconsistencies with Instance ID:
--> Take Java Export from Source
--> Restore and Recovery DB in Target
--> Java Import in Target using SAPINST by selecting the option "System Copy u2013 Target System u2013 Central Instance Import"
To solve the inconsistencies with InstanceID, After reviewing Note - "966752 - Java system copy problems with the
Java Migration Toolkit" we are planning to follow below method:
--> Take Java Export from Source
--> Restore and Recovery DB in Target
--> Move all the files / directories from /usr/sap/SID to another location. (Only Kernel and Default profile will not be moved.)
--> Using SAPINST, we will go with the option u201CInstall Central Instanceu201D
--> Once the Central installation is done, will do Java Import as before - "System Copy u2013 Target System u2013 Central Instance Import"
Is the above method can be followed & will this solve our inconsistencies, please suggest?
Thanks,
Subbu

Hello,
I have been following the below method which you people are suggesting but still the Java is inconsistent in terms of Instance ID..
--> Export CI from Source
--> Restore & Recovery DB in Target
--> Using SAPINST, select ABAP+java -- Target Sys Inst -- Import CI
But i feel the CI import which we are getting will be having Instance ID which relates to Hostname, SID of Source system. Instance ID which was already stored in the files of Traget system and the one which we are getting from the Source DB will be different and creating inconsistencies...
So, I want to find if there is any other way to make this consistent.. Will it make any difference if I do the below way?
--> Export CI from Source
--> Restore & Recovery DB in Target
--> Remove all the files under /usr/sap/<SID>/
--> Using SAPINST, select ABAP+java -- Target Sys Inst -- Import CI
Please let me know if I am not clear...:-)
Thanks,
Subbu

Similar Messages

  • System refresh procedure!!!

    Can anyone of you please help me in understanding the system refresh procedure??What it is used for and how does it help an organisation!!!

    Read
    http://help.sap.com/saphelp_nw70/helpdata/EN/a2/2f0c173a5e43d19585724239ff4de7/frameset.htm
    Markus

  • What are the security post refresh procedures in general?

    Hi,
    Can anyone list me out What are the security post refresh procedures in general?
    Thanks and Regards,
    Damanaidu J

    >
    Damanaidu jawaharlal wrote:
    > Hi,
    >
    > Can you cite with respect to CUA.
    >
    > Thanks and Regards,
    > Damanaidu J
    CUA
    ====
    CUA behaves differently during a system/client copy and this is the approach we took and it was successful.  The goal is to take a backup of the source before CUA deletion then restore. Do not delete CUA and just attempt to rebuild it, all the roles will be gone.  Backup and restore will be the approach I recommend.
    a1.  Take a snap shot of your QA user and role assignments before copy.
    1.  (Basis) First make a backup of the source system.  This is important before step 2.
    2.  After successful backup delete the CUA from the source system. 
    3.  After successful copy to target system, restore backup to source system.
    4.  Depending how the copy was done, users and passwords should be in the target system but all the role assignments will be gone. 
    5.  Start assigning roles base on your requirements.  If you need to restore the old QA settings that is captured in a1.
    Perhaps others can add in other steps I might have missed.
    Good Luck!

  • Client refresh procedure

    hi all,
       i have two system landscape, dev and pro, on hp-unix, oracle 9.1 and sap 4.7.
    i want refresh the dev client (it have  old data). i want know.
    who to do my dev client refresh ?
    how to check compare space req ?
    i need procedure doc. where i will get...please provide link then i can download.
    thnaks and  regards,
    swathi

    Hi Swathi,
    I normally do a client copy using export and import. I felt very comfortable to perform a export/import rather than a remote copy which will put a tremendous load in your existing network.
    These are the steps I follow to refresh my client in DEV / QA from PRD,
    1. Export the DEV users in a transport request.
    2. Schedule the YSTABSIZ to check the size of the DEV client (Login with the target client)
    3. Delete the DEV client using SCC5.
    3. Export the Production data (Select the appropriate profiile for your need) SCC8
    4. Compare the DB size of each table space of DEV with PRD. Estimate the DB space growth after deletion ( DEV data) and importing the PRD data. This can be done through experience and there is no step by step guide to do the activity. Add datafiles if needed in dev system.
    5. Write a shell script to GZIP the exported file. (Perform GZIPing of exported data)
    6. Write a shell script to convert the GZIP file to TAR file.
    7. FTP the TAR file from Production host to Development host.
    8. Write a shell script to UNTAR the file..
    9. Write a shell script to UNZIP the files
    10. Now you have the production data to Import.
    11. Use STMS to import the production client in to Dev system.
    12. Import the user master transports for the DEV system.
    13. Perform Post processing activities after client import.
    Now you have your production client in Dev system.
    regards,
    VInodh.

  • RAM variable refresh procedure

    Hello,
    It is possible to create RAM maintenance procedure which makes aggregation (refresh) in hybrid database only fact data with limit (ex. only for one month) without changing data outside limit and without changing dimensions ?

    No it is not possible to do this in RAM/RAA

  • New rows become deleted from snapshot sites after refresh

    Hi buddy
    I am facing problem in snapshot at snapshot sites.
    I have oracle 8.0.5 4 database server machines.
    all servers machines have O.S windows 2000 advance server
    all servers machine have same oracle version ( 8.0.5 ).
    there is Site A ( Master site ) site B ( snapshot site ) Site C ( snapshot site).
    snapshot has been created at all snapshots sites ( B,C and at D)
    snapshot log against each table are also present at master site ( Site A )
    refresh group is present at snapshot site.
    these are working since feb-2002 successfully. now problem occur in these sites if some miner issues comes then it has been resolved successfully.
    Replication parameter in init.ora all all sites are as follows
    global_names = true
    job_queue_processes = 2
    job_queue_interval = 60
    job_queue_keep_connections = false
    distributed_lock_timeout = 60
    distributed_transactions = 16
    open_links = 4
    snapshot_refresh_interval = 60
    snapshot_refresh_keep_connections=false
    snapshot_refresh_processes = 2
    few days ago one problem occurs in master site A. it become crashed. we did its recovery from previous night backup ( cold backup).
    Now all branches are working. but my current problem is that we have 20 tables in replication.It is a snapshot replication old version of materialized view.
    when site B start refresh procedure then it show message procedure successfully completed.
    it show no error message.
    but when we check no of rows at snapshot site ( site b )
    all new rows which were inserted at snapshot ( site b ) after previous refresh has been deleted.
    mean all data which is inserted after previous refresh command has been finished. but data which is inserted at master site is present at snapshot site after refresh.
    this problem is present at all the snapshot sites ( site B, Site C and site D).
    database link is also present from master to snapshot site anf from snapshot to master. but problem is still suspended.
    i have checked at all snapshot site and master site there is no invalid procedure or package.
    there is no error message in alert file at all site.
    if any body has its solution kindly told me.
    thanks in advance
    Abdul Hameed
    [email protected]

    This is still going on when the page fails the call to getCurrentRow().refresh(Row.REFRESH_REMOVE_NEW_ROWS) goes out to lunch and stops processing for the rest of the function. I tried adding a try catch around it but nothing is caught and the function still fails.
    getSiteMealLogsV().getCurrentRow().refresh(Row.REFRESH_REMOVE_NEW_ROWS);
    ---Stops working here -----
    getSiteMealLogsV().clearCache();
    getDBTransaction().commit();
    Jim

  • Fast Refresh mview performance

    Hi,
    I'm actually facing with Fast Refresh Mview performace problems and i would like to know what is the possible improvments for the fast refresh procedure:
    - base table is 1 500 000 000 rows partitions by day , subparttion by has (4)
    - mlog partition by hash (4) with indexes on pk and snaptime
    - mview partition by day subpartition by hash (4)
    10 000 000 insertions / day in base table/mlog
    What improvment or indexes can i add to improve fast refresh ?
    Thanks for help

    Hi,
    Which DB version are you using?
    Did you have a look at the MV refresh via Partition Change Tracking (PCT)?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/advmv.htm#sthref575
    If it's possible to use PCT, it would probably improve a lot the performance of the refresh of your MV.
    Regards
    Maurice

  • Raid battery refreshment

    Does anybody know how I can initiate the battery refreshment manually. After an interrupted raid card battery refreshment procedure I get permanently an error message and the raid cache is disabled. I don’t like to wait 3 months until the battery refreshment procedure will start automatically. It seems that there is not an menu option to do this.

    Oh yeh just thought I'd add a screen shot of the raid utility log.

  • System refresh of abap+java

    Hi gurus,
    I am trying to do the system refresh for ecc6.0 abap + java .I did the abap part with the oracle specific method where we restore the data files and run the control.sql command . But for the java part i am confused on what option i had tried to select abapJava and do an export and then when i am importing it with the abapJava option it is also doing the restoration of abap stack . If i select only java it is trying to create a instance JC00 which i dont want , Is there a method where i can only export the java stack and import into the abap system that was refreshed using the oracle restore method ?
    Thanks in advance

    try following this:
    JAVA Refresh Procedure On SRC system
    1) Execute the following command after navigating to the SAPinst directory to the JAVA export using SAPinst.
    a. sapinst.exe product_cp.catalog
    The export procedure is as follows
    1) Specify the SID name and export directory
    2) To take the export without stopping the JAVA process, uncheck the check box
    On TRG System Preparations
    1) Copy the export from the SRC export directory to the TRG system
    2) The JAVA versions should be same on SRC and TRG
    Import procedure is as follows
    Execute the following command on the TRG system after navigating to the SAPinst in the Master DVD
    sapinst.exe product_cp.catalog
    Check for the TRG system SID for example TAJ
    Note:
    1) Ensure that the SAP system is up and running.
    2) Ensure that temporary tablespace u201CPSAPTEMPu201D is not empty
    After completing the import successfully, restart the SAP system.
    Rohit

  • Refresh Mviews

    hi all,
    I have few Materialized views that are dependent on one another..
    ex: mv1, mv2, mv3..
    I wrote code that will submit jobs to refresh all 3 views at the same time...
    but it should be in the order mv1, mv2, mv3..
    well, i can loop through it in that order...
    then what's the problem?
    which table should i look up to make sure that the mview has refreshed successfully..
    i am assuming it is not the "all_scheduler_jobs" coz it just says that the job is submitted successfully...
    correct me if i am wrong..
    and could any one help me out of this..
    thank you

    I think i need to rephrase my question..
    how to refresh nested materialized views...
    and i think i found the answer in my book....
    in DBMS_MVIEW.REFRESH procedure..
    need to set the nested parameter to TRUE...
    thanks for looking at my question.... and answer too..
    please let me know if i am wrong...
    thank you

  • How to infer the status of MView/Refresh from LAST_REFRESH_DATE

    Hi,
    I am having a MView "MV_SCI_COLLATERAL_INFO" in Production. It is working fine in development environment.
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    "CORE 11.2.0.3.0 Production"
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    CREATE MATERIALIZED VIEW MV_SCI_COLLATERAL_INFO
      BUILD IMMEDIATE
      USING INDEX
      REFRESH FORCE ON DEMAND START WITH SYSDATE+0 NEXT SYSDATE + 5/1440
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      USING ENFORCED CONSTRAINTS DISABLE QUERY REWRITE
      AS SELECT * FROM COLLATERAL_INFO@BLINK;
    SELECT mview_name, last_refresh_date, refresh_method, invalid, UNUSABLE
      FROM all_mview_analysis
    WHERE mview_name IN ('MV_SCI_COLLATERAL_INFO');
    MVIEW_NAME
    LAST_REFRESH_DATE
    REFRESH_METHOD
    INVALID
    UNUSABLE
    MV_SCI_COLLATERAL_INFO
    23-JUN-13 01:26:53
    FORCE
    N
    N
    Job Details:
    Job
    Log_user
    Privilege_User
    Schema_User
    Last_Date
    This_Date
    Next_Date
    Total_Time
    Broken
    Interval
    Failures
    What
    166
    OCCSS_BOWBMS_HK
    OCCSS_BOWBMS_HK
    OCCSS_BOWBMS_HK
    6/23/2013 1:26
    6/23/2013 1:31
    6/23/2013 1:31
    4272898
    N
    SYSDATE + 5/1440
    0
    dbms_refresh.refresh('"OCCSS_BOWBMS_HK"."MV_SCI_COLLATERAL_INFO"');
    I believe the MView is valid. And it is scheduled to run for every 5 minutes. But from the last refreshed date i couldn't see the latest date. Am i infering the column wrong?
    Isn't my MView refreshing on every 5 minutes? In the event of any errors, how to check?

    you have created the MVIEW with option "REFRESh FORCE ON DEMAND" which means that it will not refresh the MVIEW automatically.
    Specify ON DEMAND to indicate that database will not refresh the materialized view unless the user manually launches a refresh through one of the three DBMS_MVIEW refresh procedures.

  • System copy and database refresh

    Can any one nagotiate me about system refresh and databaswe refresh.

    Hi,
    System Copy means copying the contents of the system into another including data i,.e Table Data. It comprises entire user settings, data will be copied.
    In the database refresh, table contents (data) are refreshed.
    Good thread discussion:
    http://www.sap-img.com/bc049.htm
    Re: client refresh procedure
    Thanks,
    Moorthy

  • Exclude SMSY from refresh

    Hello,
    In our three systems SolMan landscape (Development, QA & Production systems), we have a weekly refresh of the QA system database by the Production system database.
    This refresh includes all SMSY data. We would like to exclude the SolMan system landscape from the refresh procedure, because :
    - It causes problem for some trusted RFC destinations, that do not work anymore after the refresh and must always be recreated.
    - It is just not practical, because in the QA system we use only test logical components, and have no use for the ones defined in the production system.
    Is there some easy way to do this ?
    Thanks in advance.

    After refresh, when you open any particular RFC in QA which is related to Solman, the error which comes is something like, 'secure storage invalid' or if you do the connection or authorization tests for those RFCs, the error shows 'couldn't retrieve the seucure storage details or login details',
    So normally, only the login details become invalid after refresh, rest of the details remain unaffected. So you have to just put the correct login details agin in RFC.

  • Refreshing Materialized Views

    Hi
    Im trying out to use some MV so im very new in this. My question is, now have a Select statement with object, so I cant use refresh on commit right?
    When I use refresh on demand, how or when does my MV refreshes ?
    Hope someone have a Hint or maybe a link where I can read about this.

    When I use refresh on demand, how or when does my MV
    refreshes ?http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6002.htm#SQLRF01302
    ON DEMAND Clause
    Specify ON DEMAND to indicate that the materialized view will be refreshed on demand by calling one of the three DBMS_MVIEW refresh procedures. If you omit both ON COMMIT and ON DEMAND, ON DEMAND is the default.
    See Also:
    PL/SQL Packages and Types Reference for information on these procedures

  • ORA-01555 when performing refresh of materialized views via DBMS_JOB

    All,
    With this project needing to be finished soon and an issue occuring on the local database, I am hopefuly one of you will have the answer or resolution so that I may complete this project soon....
    Here is the setup..
    10g database (remote)
    9i database (local
    DB Link from local to remote database
    103 materialized views in local database that are refreshed by pulling data from dblink to remote database.
    A PL/SQL procedure has been created which sets the v_failures variable = 0 and then performs a check to see if the current job has a failure and if so, inserts that value into the v_failures variable. When that reaches "1", then the procedure does nothing and closes out. If the failures are equal to "0" then it performs a DBMS_MVIEW.REFRESH procedure for each materialized view.
    This worked the first time but its continually failing now with the ORA-01555 error (snapshot too old). From what I can tell, the dbms_job duration is 4 seconds and the Last_Exec is 2m 7s after it starts (8:30 PM). With that said, our DBAs working o nthe project have increased the Undo_Retention settings and assure us that shouldn't be the problem. Odd thing is, this never happened in the dev environment when we were developing/testing - only in the production environment once it got migrated.
    I am looking for possible causes and possible solutions to the ORA-01555 error. A sample of the code in my procedure is below:
    CREATE OR REPLACE PROCEDURE Ar_Mviews IS
    V_FAILURES NUMBER := 0;
    BEGIN
    BEGIN
              SELECT FAILURES INTO V_FAILURES FROM USER_JOBS WHERE SCHEMA_USER = 'CATEBS' AND WHAT LIKE '%DISCO_MVIEWS%';
              IF V_FAILURES = 1 THEN NULL;
              ELSE
    DBMS_MVIEW.REFRESH ('AR_BATCH_RECEIPTS_V', 'C');
              DBMS_OUTPUT.PUT_LINE(V_FAILURES); END IF;
    END;
    BEGIN
         SELECT FAILURES INTO V_FAILURES FROM USER_JOBS WHERE SCHEMA_USER = 'CATEBS' AND WHAT LIKE '%DISCO_MVIEWS%';
              IF V_FAILURES = 1 THEN NULL;
              ELSE
    DBMS_MVIEW.REFRESH ('AR_BATCHES_ALL_V', 'C');
              DBMS_OUTPUT.PUT_LINE(V_FAILURES); END IF;
    END;
    END Ar_Mviews;
    ---------------------------------------------------------------------------------------------------------------

    We are doing complete refreshes and doing it that way for consistency in the data presented. Because some materialized views are dependent upon data in other materialized views, we have them ordered in a procedure so that when one finishes, the next starts and they are also in a specific order as to ensure accurate data.
    The condition for v_failures is done so that the job doesn't get, lets say, 90% finished and hit an error and start over again. We do the IF statement which results in NULL (do nothing) so that the job doesn't repeat itself over and over again. If one MV fails, we have to consider the job a failure and do nothing else because the one MV that failed may have been a dependency of another MV down the line. (i.e. MV7 calls MV3 and MV3 fails, so the whole job fails because MV7 can't be accurate without the most current data from MV3).
    As well, this is being performed in off-business hours after backup to tape, etc. and prior to start of business so that no one is using the system when we run this job. That won't always be the case when we move to high availability with this system for varying time-zone end-users.
    I hope I have answered your question and look forward to continued feedback.
    Thanks!

Maybe you are looking for

  • Error in calling a javascript function

    Hi Below is a code from my HTML file... <html> <head> <script language="javascript" > function try() alert("hi"); </script> </head> <body> <input type="button" value="Hello world!" onclick='try();'> </body> </html>while running page in browser i m ge

  • External microphone not working on mac mini mid 2012

    i bought a general electric  external headset/microphone for my mac mini. i plug it in and it does not work.... please help because i broadcast on a radio station and need a working mic.

  • Can I break up a video project into smaller projects using prel 10?

    I've created a large video project in prel 10 ( the 0s is win7). I want to break it up into smaller new video projects so I don't lose all my existing assembly and editing work. Can I do this and if so how? Thanks

  • Data Load from ECC6 in GC or LC

    Hi Friends, Have a small query. When i extract data from ECC6. Should i take the data in GC (Group currency) or in LC (Local Currency). If i do the extract in local currency how does the system handle the currency conversion from Local currency to Gr

  • Drop down in selection-screen

    hi, suppose in the selection screen i have Customer No. and i want the result for only 4 customers like 1000, 1002, 1009, 1020. can anyone help me how to select only those in the selection screen. thanks, swamy