Restore of PRD to QAS using homogeneous system copy

Hi All,
My current production system is SAP 4.7 Enterprise Ext 110 with 6.40 kernel on Oracle 10.2.0.2.
Operating sytem is RHEL 4.0 .
I am building my QAS system using these installation guides
"SAP Web Applcation Server ABAP 6.40  SR 1 on Linux: Oracle" and "Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAP Web Application Server ABAP 6.40 SR1".
I was able to generate the CONTROL.SQL, CONTROL.TRC and initQAS.ora files using the OraBRCopy tool.
Also successfully restored the PRD database minus the control files using
brrestore -d disk -b <backlog-file>.afd -m all
Wasn't able to do it via BRTools 7.0.
Database is coming up fine after running the CONTROL.SQL script.
However when I try to connect to the database as qasadm user with R3trans -d , I am getting this error.
This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'QAS'"
R3trans finished (0012).
When I look at the dba_users table I am still seeing references still to PRD, and log below indicates an invalid username/password.
Here are the contents of the trans.log
4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time   : 15.05.2008 - 16:08:50
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -x
4 ETW000  trace at level 2 opened for a given file pointer
4 ETW000  [dev trc     ,00000]  Thu May 15 16:08:50 2008                              70  0.000070
4 ETW000  [dev trc     ,00000]  db_con_init called                                    16  0.000086
4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             34  0.000120
4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/QAS/SYS/exe/run/dboraslib.so' ...
4 ETW000                                                                              26  0.000146
4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/QAS/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000                                                                           12426  0.012572
4 ETW000  [dev trc     ,00000]  Library '/usr/sap/QAS/SYS/exe/run/dboraslib.so' loaded
4 ETW000                                                                              20  0.012592
4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/QAS/SYS/exe/run/dboraslib.so
4 ETW000                                                                              28  0.012620
4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/QAS/SYS/exe/run/dboraslib.so' is "640.00", patchlevel (0.220)
4 ETW000                                                                              70  0.012690
4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/QAS/SYS/exe/run/dboraslib.so
4 ETW000                                                                              23  0.012713
4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/QAS/SYS/exe/run/dboraslib.so
4 ETW000                                                                              38  0.012751
4 ETW000  [dev trc     ,00000]  New connection 0 created                              20  0.012771
4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000                                                                              23  0.012794
4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         14  0.012808
4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
4 ETW000                                                                              17  0.012825
4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000                                                                              21  0.012846
4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/QAS/102_64 from environment
4 ETW000                                                                             180  0.013026
4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         20  0.013046
4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
4 ETW000                                                                              18  0.013064
4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.WE8DEC        1321  0.014385
4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPQAS's password           21  0.014406
4 ETW000  [dev trc     ,00000]  Connecting as /@QAS on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
4 ETW000                                                                              21  0.014427
4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
4 ETW000                                                                              21  0.014448
4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0x6000000000a92fe0 0x6000000000a9c250 0x6000000000a9bbe8
4 ETW000                                                                              34  0.014482
4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       17  0.014499
4 ETW000  [dev trc     ,00000]  Allocating server context handle                      15  0.014514
4 ETW000  [dev trc     ,00000]  Attaching to DB Server QAS (con_hdl=0,svchp=0x6000000000a9bb18,srvhp=0x6000000000a9df98)
4 ETW000                                                                              37  0.014551
4 ETW000  [dev trc     ,00000]  Assigning server context 0x6000000000a9df98 to service context 0x6000000000a9bb18
4 ETW000                                                                           50581  0.065132
4 ETW000  [dev trc     ,00000]  Allocating user session handle                        28  0.065160
4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x6000000000a9bb18,srvhp=0x6000000000a9df98,usrhp=0x6000000000aa79e0)
4 ETW000                                                                              26  0.065186
4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000                                                                            4537  0.069723
4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
4 ETW000                                                                              21  0.069744
4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1017         15  0.069759
4 ETW000  [dev trc     ,00000]  Try to connect with default password                  13  0.069772
4 ETW000  [dev trc     ,00000]  Connecting as SAPQAS/<pwd>@QAS on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
4 ETW000                                                                              22  0.069794
4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
4 ETW000                                                                              20  0.069814
4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0x6000000000a92fe0 0x6000000000a9c250 0x6000000000a9bbe8
4 ETW000                                                                              20  0.069834
4 ETW000  [dev trc     ,00000]  Assigning username to user session 0x6000000000aa79e0
4 ETW000                                                                              18  0.069852
4 ETW000  [dev trc     ,00000]  Assigning password to user session 0x6000000000aa79e0
4 ETW000                                                                              27  0.069879
4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x6000000000a9bb18,srvhp=0x6000000000a9df98,usrhp=0x6000000000aa79e0)
4 ETW000                                                                              19  0.069898
4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000                                                                            1629  0.071527
4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
4 ETW000                                                                              20  0.071547
4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1017         11  0.071558
4 ETW000  [dblink      ,00428]  ***LOG BY2=>sql error 1017   performing CON [dblink#3 @ 428]
4 ETW000                                                                              43  0.071601
4 ETW000  [dblink      ,00428]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#3 @ 428]
4 ETW000                                                                              20  0.071621
2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'QAS'"
Will appreciate some help on the resolution.
Thanks.
Regards,
VKM

Hi All,
Problem was solved by re-installing QAS using same SCHEMA ID as PRD, applying BRTools Release 700  patch level 33 and letting sapint perform the steps to completion
Markus your help directed me to the solution.
Regards,
VKM..

Similar Messages

  • Help !!! Homogeneous system copy hold on step: Create Database

    Group,
    we use homogeneous system copy to install PRD system. The system hold on step : create databse.
    When we check the server and found the data library has been restored from tape. The installation just hold on the step and can't going on.  And there is not additional information on install directory except to see the file keydb.xml were updated.
    Could we adjust the file keydb.xml to continue the installation ? If we could, how ? Thanks in advance.
    Regards.
    Jenny

    Hi Jenny,
    The first question would be:
    Is the database restored properly ?
    How many objects are in there ?
    First stop the SAPinst program so that no "duplicate updates" happen on the log/xml files.
    Most likely you are doing this on another server and therefore the old users are not available which creates an error during restore. This causes often/always an abnormal end of the SAPinst.
    If this is the case, you might want to check the keydb.xml after that you copied that and search for "ERROR" in uppercase and the finally try to set this to OK. If you then rerun SAPinst, this problem is hopefully solved. Unfortunately this is more or less an "standard-error" in this procedure - at least up to 1 year ago I don't know on any generic solution. That's why I do not use this procedure if not really necessary.
    Regards
    Volker Güldenpfennig
    P.S.: Do not forget to distribute forum points as in the last questions - otherwise, you will receive less and less answers ...

  • Homogeneous System Copy using DB6 specific procedure

    Hello all,
    I'd like to do homogeneous system copy from source system(hostname: host01) to target system(hostname: host02) using DB2 backup/restore procedure.
    Because SAP database has some tables related their hostname, I think it cause some conflicts between target system's hostname(host02) and the records in the new database on target system(it still remains "host01"). 
    Can I avoid this conflicts if I use DB6 redirected restore method?
    Or do I have to do R3load export/import like hetero system copy?
    I know I can start SAP system when I set SAPLOCALHOST=host01 in instance profile on host02, but is there any other good workaround?
    I wonder how you will do if you face this situation.
    Any comments would be appreciated.
    Regards, Ikue

    Hi dirk,
    Thank you for your reply.
    As you mentioned, System copy often brings changing hostname, so the post processing in the SAP's Guide should cover all of influences.
    I had thought SAP database does not contain hostname entries anymore, but, I found one table which contains DBHOST name in ECC database: SAP<SID>.DB6NAVSYST
    ex) SID=ST8, hostname=athens
    athens:db2st8 66> db2 "select DBHOST from SAPST8.DB6NAVSYST"
    DBHOST
    athens
      1 record(s) selected.
    Can I believe these entries will be adjusted during System Copy operation along SAP's Guide(both DB2 backup/restore and R3load)?
    If Yes, when does adjusting occur? (at post processing or during SAPinst?)
    I have very negative impression of changing hostname of SAP system since I read Note 8307...
    Does SAP support change hostname if I do System Copy?
    Best regards,
    Ikue

  • Homogeneous system copy using export/import on WIn/Ora

    Dear experts,
    i need to know the homogeneous system copy procedure using export/import method for following scenario as we are in the process of Data center migration of SAP systemsfrom location to another location.
    Source system:
    ECC6/BI7/APO(ABAP stack)
    OS:WIndows 2003
    D:B:Oracle 10g
    Target System: New hardware installed on Virtual environment(VMware)
    No change of SID
    ECC6/BI//APO
    OS:WINDOWS2008
    D:B: Oracle 11g
    It would be great if anyone can share the documentu2019s/links (Not SAP homogeneous system copy guide) which you have prepared for the homog. system copy using export/import on Windows/oracle  as i have done the system copy using backup/restore for ABAP stack and export/import for Java stack so far.
    Therefore i am not sure about this procedure/prerequisites/checklist needs to prepare as i have gone through the SAP guide but it is not step by step document.
    Cheers

    There are two approacahes for your  project
    1) First wether to use Oracle11g on target database
    2) Continue with Database Oracle 10.2 on traget database
    If you want to use Oracle11.2 on your target database you have to search the installers which are supported for 11.2 database. If the installers are available then only you can install your target database using Oracle11.2.Other wise t use Oracle10.2.0.4 is supported on Win2008r2. You can use this version of Oracle database to build ur target database.It works fine . Absolutely no problem.
    Later on you can upgrade the Oracle10.2 to 11.2 Onwards.
    If installers are avialble you can use Oracle11.2 also. There is absolutely no problem.
    As per my knowledge installers are available and supported with Oracle11.2.Also check the PAM before arriving on any deciscion.

  • Db2 homogenous system copy using DB specific tools.

    Hi,
    I'm currently doing a homogenous system copy using db specific tools option (DB2). I did an offline backup of the source system using db2 backup database command, then ran SAPinst (NW70SR2) on the source system to go through the export phase, no problem. On the destination system, I ran SAPinst (NW70SR3) to do the import phase and reached a point where SAPinst asked me to restore the database using db2 tools. I running command:
    RESTORE DATABASE <SID> FROM "E:\backup_folder" TAKEN AT 20090617164332 TO "Q:" INTO <SID> NEWLOGPATH "F:\" WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING;
    After running this command I get SQL0902C  A system error (reason code = "") occurred.  Subsequent
    SQL statements cannot be processed.
    sqlcode: -902
    sqlstate: 58005
    Some background information: I'm running this procedure to do a migrate the database from a 32 bit to 64 bit.
    Am I doing something wrong? Do I need to run any other commands or prep on the detination system before running the restore command?

    One other thing you might have wanted to check was the physical memory on the target machine. Does the target have the same amount of memory as the source? If it is much smaller, sometimes there can be issues with starting up the database on the smaller machine. There is an instance level registry setting you can use to reduce the amount of bufferpool memory the database wants to use.
    Another issue I have seen is that you may want to restore a 32-bit backup to a 32-bit instance. You can then upgrade then instance and database to 64-bit.
    EDIT: Sorry, I didn't realize this thread was 2 months old.
    Edited by: Derek Barrett on Aug 18, 2009 4:39 AM

  • System copy from PRD to QAS based ABAP system EHP4.

    Hi guys,
    I have to perform homogenous system copy from PRD to QAS.
    My PRD is ECC6.0 EHP4 release 701 sp 103( SAP_basis) with oracle ver 10.2.0.4.0.
    Is there any specific procedure for EHP4 or i can follow the below mentioned guide.
    https://websmp204.sap-ag.de/~sapidb/011000358700000514722009E.pdf.
    What pre-requisite i need to take care before doing the system copy?
    Regards
    Abhishek

    Hi,
    All pre-requisite is there in system copy guide.Apart from that take user master backup of quality system and after system copy, import the user master data back so that you have same users in quality system.
    Also, take RFC's backup also.
    Thanks
    Sunny

  • 4.7 Homogeneous System copy - Backup & Restore Method

    Hi,
    I am doing Homogeneous system copy of SAP 4.7 in win2003 & SQL2000. I followed Note :551915 & used user_restore script. My SAP server is not starting. I am attaching the log file of dev_w2. Please guide me
    <<
    trc file: "dev_w2", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Tue Jun 02 20:02:43 2009
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DV1\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'C:\usr\sap\DV1\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'C:\usr\sap\DV1\SYS\exe\run\dbmssslib.dll' is "620.02", patchlevel (0.235)
    B  New connection 0 created
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        1452

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 2 1452) [dpxxdisp.c   1016]
    I  MtxInit: -2 0 0

    X Tue Jun 02 20:02:44 2009
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 2 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.

    M Tue Jun 02 20:02:45 2009
    M  calling db_connect ...
    C  SQLOLEDB Provider Release:08.10.3959
    C  Shared cache sizes: header 52 bytes, 10000 names (13360000 bytes), 1000 dynamic statements (5436000 bytes), total 18796052 bytes
    C  Using shared procedure name cache initialized by another process.
    C  Thank You for using the SLOLEDB-interface
    C  Connected to db server : [adapsap47], dbname: DV1, dbuser: dv1
    C  Using dynamic link library 'C:\usr\sap\DV1\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      235
    C    patchcomment MSSQL: STRING_BAD_REF on NULL-lob-access (412757)
    B  Connection 0 opened
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT Date     Time   DBHost
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  20090602 200245 ADAPSAP47
    C  The IRow interface is supported by this OLEDB provider
    C  ParamStmtExec: line 22924. hr: 0x80040e37 Invalid object name 'SVERS'.
    C  HandleOledbError [ParamStmtExec,line 22924]: Error/Message: (err 208, sev 16), Invalid object name 'SVERS'.
    C  ParamStmtExec failed.  HR 80040e37 DBSL retcode 103. stmt: [SELECT VERSION AS c FROM SVERS ]
    C  DbSlRead - Error 103 (dbcode 208) on open
    C  DbSlRead - <##Y2ADAPSAP4dv100000014520000000001200245>
    C  DbSlRead - Error 103 (dbcode 208) on fetch
    C  DbSlRead - <##Y2ADAPSAP4dv100000014520000000001200245>
    B  ***LOG BZA=> table SVERS      does not exist on database [dblink#1 @ 1292] [dblink  1292 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 004096) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 2

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server adapsap47_DV1_00 on host adapsap47 (wp 2)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Tue Jun 02 20:02:45 2009
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 2 1452) [dpnttool.c   345]
    >>
    Regards,
    Srinivas

    > The Languages(Chinese,Japanese,Korean) Installed on the source system(Non- Unicode) are not reflecting in the target system(Non- Unicode) after Homogeneous system copy.
    Can you tell us what you mean with "not reflecting"? All the content is in the database so if you copied that, it's definitely there.
    > Can you please guide whether we have to do Unicode conversion for this /Is their any way for activating the languages. I Executed the report RSCPINST and tried to activate the languages after doing stimulation and copying zcsa/installed_languages =13CDEFIJLMNOPQRSTVZ to the instance profile.
    ...and you did a restart of the instance after you changed that parameter?
    Markus

  • Homogeneous System Copy using DB6 /Suse Linux procedure

    Hi Experts
    We are planning to do a Homogeneous system copy from  Production Server to a Development Server. Any one can tell me the procedure or documents.
    Thanks in Advance
    Thanks & Regards
    Venkat

    David,
    changing the SID is one thing, changing the logical system name assigned to the client is a different one. They don´t necessarily relate to each other.
    However, you´re right - in most cases the target system is connected to other systems and thus need to have the logical system name of the system before the copy.
    Markus

  • Homogeneous system copy ( sapinst or db specific method )

    I want to make homogeneous system copy ( NW7 ) of ECC6 from PRD to make a QA system on HPUX/Oracle environment. I am wondering which of the following method is better way to go
    System copy with the help of sapinst
    or
    Database specific method
    What are the steps of each method?
    Please help, your help will be highly appreciated.
    Best Regards,
    -Al

    Hi Al,
    Using sapinst is the supported method by SAP but it takes much longer as you'll need to export/import the data and doing this affects availability of your PRD system.  Most companies perform DB backup/restore as it is much quicker and does not require an outage of your PRD system (if you have online backups).  Different databases have different tools for this operations.  Since it only a QA system, I would suggest you do a DB backup/restore.
    Regards,
    Thomas Pham

  • Homogeneous System Copy - Help me

    Hi,
    I need to refresh the Training environment with the QAS environment data then I did the client copy from QRP(QAS environment) to TRN (training environment). This copy was made successfully, but with some data inconsistences.
    And then a decided to do a Homogeneous System Copy.
    I did the HSC selecting the option "Standard System Copy/Migration (R3Load-Based) " but exist the another option "System Copy / Oracle Backup/Restore".
    And my doubt is: the process that I need to do is the Standard System Copy / Migration (R3Load-Based) or System Copy / Oracle Backup/Restore?
    And the inverse process (import), can I to install just a Database Instance, once that a Central Instance already exists?!
    Thanks and Regards,
    Dany Anderson

    Hii the process you need to do is system copy . In system copy there are two ways one by using R3load tool and other is backup method. Generally the backup method is faster where all your database will be backedup and copied to the target system. R3load and oracle backup are just two methods of doing system copy.
    homogeneous system copy if your target system is on the same operating system and database system as your source system. The database contents are copied from the source system to the target system.
        You perform a heterogeneous system copy if you want to change the operating system or database system. Migration is another term for a heterogeneous system copy.
    Please reward points if useful

  • Homogenous System Copy WAS 6.20 DB2 8

    Hi all.
    I am planning to do a Homogenous system copy of our PRD system to the QAS system. Both have SAP R3 4.70 Core with WebAS 620 and DB2 version 8.
    I am reading both guides 6.20 and 6.30 and it is not clear if with WebAs 620 and version 8 if I can use the database relocation method or the backup method. It says that u need DB2 8 but not sure if 620 o 630. Could someone clear this doubt.
    I know that the R3Load method is possible but if the backup method or the relocation method is possible I would like to use this since this backups the whole DB and the r3load doesn't.

    Here is the link to the thread
    Homogenous System Copy WAS 6.20 DB2 8
    Bye.

  • Authority issues after homogeneous system copy - as/400 v5r1 - R/3 4.6C

    Hello,
    I am trying to complete a homogeneous system copy of an R/3 system.
    The source system is PRD - the target system is TST.  The hardware platforms are different (both iSeries) but the kernel/pdf/OS patch levels are all identical.
    The process I have follow so far is this:
    1. Preprocessing of the R3PRDDATA library.
    2. SAVLIB of R3PRDDATA.
    3. Delete old R3TSTDATA lib on target system using QSECOFR
    4. Create new R3TSTDATA using SQLUTIL as TSTOFR (TSTOFR is my user for the target system)
    5. CHGOBJOWN OBJ(R3TSTDATA) OBJTYPE(*LIB) NEWOWN(TSTOFR)
    6. GRTOBJAUT OBJ(R3TSTDATA) OBJTYPE(LIB) USER(SAP02) AUT(CHANGE)
    7. Detach existing Journal, create new journal receiver, create new journal ...
    DLTJRN JRN(R3TSTDATA/QSQJRN)
    DLTJRNRCV JRNRCV(R3TSTJRN/QSQJRN0001)
    CRTJRNRCV JRNRCV(R3TSTJRN/QSQJRN0001) THRESHOLD(500000)
    CHGOBJOWN OBJ(R3TSTJRN/QSQJRN0001) OBJTYPE(*JRNRCV) NEWOWN(R3OWNER)
    CRTJRN JRN(R3TSTDATA/QSQJRN) JRNRCV(R3TSTJRN/QSQJRN0001) MNGRCV(SYSTEM) DLTRCV(NO)
    CHGOBJOWN OBJ(R3TSTDATA/QSQJRN) OBJTYPE(*JRN) NEWOWN(R3OWNER)
    8. RSTLIB from tape.
    9. AS4FIXFILE on R3TSTDATA with
       DBLIB         R3TSTDATA
       CHGOWN   *NO
       ENDJRN      *YES
       STRJRN      *YES
       CHGFILE     *NO
    10. install license key
    So from this point the system will start without a problem.  However whenever I try and write something to the database I get this type of error (via SM21 or ABAP dump) message:
    ‘Database error -551 at SEL access to table BTCOPTIONS
                Not authorized to object BTCOPTIONS in R3TSTDATA type *file
                Job=378721/TST02/WP02’
    Database error text........: "Not authorized to object SCPRACTR in R3TSTDATA  
    type *FILE. Job=379089/TST02/WP00"                                           
    I have also run GRTOBJAUT for the - TST02 user on the R3TSTDATA lib but still the same problem.
    I'm certain the issue is related to the user on the 400 that is actually used by the work processes, and that user does not have the relevant rights to R3TSTDATA.
    Any suggestions on how to resolve this problem will be humbly received.
    Many thanks, Colin

    Hi,
    step 9 is wrong ;-(((
    old:
    9. AS4FIXFILE on R3TSTDATA with
    DBLIB R3TSTDATA
    CHGOWN *NO
    ENDJRN *YES
    STRJRN *YES
    CHGFILE *NO
    correct:
    9. AS4FIXFILE on R3TSTDATA with
    DBLIB R3TSTDATA
    CHGOWN *YES    <<<<<
    ENDJRN *YES
    STRJRN *YES
    CHGFILE *NO
    it NEEDS to run with QSECOFR !!!
    => it will work !
    GRTOBJAUT on all objects is rubbish only !!! no real solution!!!
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Homogeneous System Copy to Upgrade Propouse

    Hi all,
    We're pretending to do a Homogeneous System Copy from a SAP ECC 5.0 that runs on Windows_X64 Server with DB2 8.1 . The target DB release is DB2 9.5 ( Windows_X64 Server).
    We've read from IBM Help Page that DB2 8.2 it can be upgraded directlly to 9.x.
    What is the right roadmap?
    OPTION 1:
    Backup offline of old DB2 8.1 enviroment.
    - Run sapinst install centrall instance
    - Run sapinst to install Database instance with 9.5 RDBMS full installation.
    - Restore backup from 8.1 ?
    or it will be:
    OPTION 2:
    Backup offline of old DB2 8.1 enviroment.
    - Run sapinst install centrall instance
    - Run sapinst to install Database instance with  DB2/UDB RDBMS V8 FP18 Windows_X64 Server - Full Install .
    - Restore backup from 8.1
    - Upgrade to 9.5 ?
    Thanks a lot !

    Hi,
    are you really using DB2 V8.1 ( DB2 V8 with fixpack level < 7 ) ?
    not sure if OPTION 1 works since your DB2 V8 version is so old. Is it an option to upgrade your fixpack level on your source database first and apply OPTION 1 afterwards.
    Regards
                     Frank

  • Homogeneous System Copy - Installation of Database Instance not possible...

    I try to create a SAP NetWeaver 7.0 SR3 Portal based on a homogeneous SAP System Copy. Therefore I already installed in a first step (first option within SAPINST for installing a target system of a system copy) the Central Services Instance successfully on a machine. In the next step I'd like to create the Database Instance with SAPINST but I cannot choose the DB instance that I already created based on a restore within the new DB server (MS SQL 2008 Cluster installation). I can only choose the local machine for using a DB instance but there is no MS SQL Server installed!
    Do I have to start SAPINST on the DB server itself which is not possible/allowed (due to operating/organization reasons)?
    Is there any SAPINST parameter which I have to use for telling SAPINST that the DB is located on a different server?!?
    The documentation just says:
    The target system is installed using the exports from the source system.
    Choose the installation services exactly in the order they appear. For more information, see the MS SQL Server installation guide for your SAP system at http://service.sap.com/installnw70.
    On the SAPinst screen SAP SystemDatabase make sure to select Homogeneous System Copy (MS SQL Server-specific: Detach/Attach or Backup).
    Thanks for supporting and Regards,
    Claudio Schmidt

    OK, SAP Note 1076022 says:
    SAP installation packages on SAP Service Marketplace
    On March 27, 2008, SAP released the Netweaver installation package SR3, which supports SQL Server 2008 (R2). Note 1152240 discusses the details and lists some restrictions. Make sure you carefully read Note 1152240 and use a recent enough installation master DVD.
    SAP Note 1152240 says:
    If you want to perform a system copy of an SAP system that is based on SAP NetWeaver 7.0 SR3 on SQL Server 2008 (R2), you cannot use the Installation Master and Kernel DVD that you received from SAP or downloaded from SAP Service Marketplace (SMP). Instead, you have to do the following:
    - Patch your runtime libraries as described in SAP note 684106
    - Use a modified Installation Master DVD. For more information, see section "IV Creating a modified Installation Master DVD".
    - Use a modified Kernel DVD. For more information about how to create a modified kernel DVD, see SAP note 1480785.
    What problem is fixed by using the modified Installation Master DVD? Is it possible to install the DB part on a server apart of the local machine where SAPINST is run (my initial question/problem I want do resolve)?
    Regards,
    Claudio

  • Homogeneous system copy for 4.7.x.1.1 windows/oracle 9.2.0.3.0

    I plan Homogeneous system copy for 4.7.x.1.1 windows/oracle at a
    customer
    downloaded tools(do I have to put extracted files on the sorce machine
    in kernel directory?):
    MIGMON_2-20001410
    MIGMON_2-20001410.SAR
    MIGTIME_2-20001410
    MIGTIME_2-20001410.SAR
    ORABRCOPY_2-20001410
    ORABRCOPY_2-20001410.SAR
    SAPCAR_5-10002026
    SAPCAR_5-10002026.EXE
    SPLIT_2-20001410
    SPLIT_2-20001410.SAR
    I would have additional questions.
    1. In note 516246(System copy for SAP Systems based on SAP Web AS 6.20)
    it is mentioned to download the latest version of R3LDCTL and apply it
    to the system. I have following questions:
    under service.sap.com/patches
    i found only
    R3LDCTL
    Support Package SAP KERNEL 4.5B 32-BIT Windows Server on IA32 32bit
    ORACLE
    Is this file ok?(I will perform a homogeneous system copy of an 4.7x1.1
    system)
    If the file is ok what is meant as apply?(put it in kernel directory?)
    2. Very similar question applies to file R3szchk
    under service.sap.com/patches I found only
    R3szchk
    Support Package SAP KERNEL 4.6C 32-BIT Windows Server on IA32 32bit
    ORACLE
    Is this file ok?(I will perform a homogeneous system copy of an 4.7x1.1
    system)
    3.In same note(516246) the SAPinst CD is mentioned. How could I get it?
    4.On the Source system I have kernel 640. I guess I have to copy the
    content of this directory to the target system also. But in which phase?

    hi,
    first my question GGG
    -> by which means do you plan to copy? brbackup/brrestore? r3copy? r3load?
    ad 1.
    SAPNet -> Patches -> Add. Components -> SAP Kernel -> 32 BIT (uni oder non-uni depending on your environment) -> SAP Kernel 6.40 32-bit -> Windows Srv -> Oracle -> R3ldctl_6-20000185.SAR (13.07.2006) is the right file (your kernel is 6.40!!!)
    ad 2.
    SAPNet -> Patches -> Add. Components -> SAP Kernel -> 32 BIT (uni oder non-uni depending on your environment) -> SAP Kernel 6.40 32-bit -> Windows Srv -> Oracle -> R3szchk_12-20000185.SAR is the right file (your kernel is 6.40!!!)
    ad 3.
    SAPNet -> SWDC (= Downloads) -> Download -> Inst. and Upgrades -> Entry by applic. group -> SAP Applic. Components -> SAP R/3 Enterprise -> Ent. 47X110 -> Installation -> Windows Server -> Oracle -> CD SAP R3E 4.7x1.10 SR1 SAPINST ORACLE (CD N° 51019679)
    ad 4.
    not really....it depends on the strategy (see my question above)...you first install the database software (oracle), then the central instance using sapinst, afterwards you will install the database instance using sapinst as well; while installing the db instance you have to chose db copy (or homogeneous copy, system copy) as the "database installation method" if you choose to copy the database files or did a backup if you choose to use the export/import method (using standard r3load) you will use the SystemCopy method as well but you will point (later on) to the directory where you (source) db export lies.
    brrestore or copy method:
    =========================
    sapinst will popup at the appropriate point that the db load has to be done and depending on your strategy you have either to restore or copy files...
    by the way: did you already export/backup/copy your source system?
    if any further questions arise feel free to post
    GreetZ, AH

Maybe you are looking for

  • IPod cannot be synced because all of the playlists selected for syncing...

    no longer exist. My ipod could not hold all of the songs that I had on itunes...and after I deleted a playlist, this keeps popping up and i do not know how to fix it.   Windows 2000  

  • Jerky dvd movies

    Hi guys we are shooting video with a xl2 canon pal 50 i . When we are panning or zooming in the video the video is very jerky when viewed on larger plasma screens . On 80cm tube tv sets it isnt as noticeable .when converted to flv files for the web i

  • Dynamic binding from a  XML to pdf forms

    When i tried to prepopulate data from a XML to a drop-down list box, I am getting the values displayed in the PDF preview tab, but when I save the form as a PDF and open the PDF the vales are not getting pre-populated. Pls. resolve this issue for me

  • Error -609 in itunes 10.4.0.8

    How can I fix an error -609 in itunes 10.4.0.8? Album Artwork will not search or find. Any ideas?

  • Renaming a workbook

    Hi Everyone, Hope all is well, How do you rename a workbook... What i am doing is: a) open exisiting workbook from database b) file save as new name to database c) file/manage workbooks/sharing/ assign privileges (to alot of users d) delete old workb