on 05-04-2016 2:07 PM
Hello,
I'm trying to do a system refresh from PRD to QUA with the Homogeneous system copy with Backup/Restore method.
I've made the recovery of PRD on QUA after that I've executed the System Rename but I'm getting and error during the process on create sap stored procedures step.
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name MSSSOURCE
What did I do incorrect?
Regards
Any suggestion?
Many thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruben,
What i normally do while such refresh is recover the Prod DB on the QA host (either by attach/detach or backup/recovery). Then rename the Database in SSMS.
After this I complete the CI installation using the same SID to which the DB is renamed using the below option.
Another thing to ensure is that the id used for installation should have sa and sysadmin access on the DB.
If you are following the same can you share the sapinst.logs when you get this error.
Thanks,
Manas
Can you please share the screnshot of SSMS after expanding the Database. I need to see if the DB name is shown as SCP or SCD.
Also please share the sapinst.logs at the point you get the error while running the swpm. Did u check the access of the userid you are using for the installation.
Thanks,
Manas
Please refer to below KB's
Note 151603 - Copying an SQL Server database
Note 1476928 - System copy of SAP systems on Windows 2008 (R2): SQL Server
Joey's Basis/Netweaver Blog: SAP System Copy Procedure...
You can either use:
1. Attach/Detach method - This will involve source system downtime, unless you have some replication setup at the storage level which is syncing your Source DC to target DC (probably done for DR Setup)
2. Backup/Restore Method - You can take a full online backup and use the same to restore it on the target system.
3. R3load export/import - You can use this DB independent method. Just uncheck " Use DB Specific Utility" while you provide input in SWPM.
In 1& 2 mentioned above you will have to:
1. Ensure that the security is set correctly once you have restored/attached the backup. Your target sidadm should have admin access on the DB.
2. You will have to run the SWPM--> System Copy --> target system build (and then chose the either attach/detach or backup/restore) to complete the post processing. This will drop/recreate the stored procedure and will also do the required schema changes.
Let me know if you need more details.
Thanks,
Manas
Hello Manas,
Not yet.
I'm going to explain step by step what I am doing.
First, I make the recovery of backup SCP into SCD database.
After that I've tried to repair the connections or move the objects from one schema to other, but always I get the same error like the target schema doesn't exist.
I've tried to launch directly the system copy using the Database refresh option
In this step move from scp to scd schema.
But after I get this error:
[Microsoft][ODBC SQL Server Driver][SQL Server]The object with name "get_mssql_session_id" already
What step I'm doing wrong?I've followed yours indications but I'm confuse about the steps before the homogeneous system copy.
Any suggestion??
Regards
Hello,
Has anybody a suggestion about this error??
Please let me know.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruben,
Did you use DB utility to restore the backup or SWPM (with option homogeneous system copy )
I guess the problem is with the schema owner for the DB objects in your target DB. Can you see if the schema is correct for QA DB.
If the schema is not correct you can use the SWPM --> System Copy option to fix this.
Thanks,
Manas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruben,
As I understood from you, you are doing the Homogeneous system copy with Backup/Restore method.
System rename i.e. change of <sid> from PRD to QUA is done by controlfile.sql script.
Which command are you using.
what is your Database, oracle ?
Regards,
Deepa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruben.
From the SAP Note you can correct the schema on the target system(QAS) and then start the system copy on target system.
BR
SS
Hello Sriram,
I've restored SCP backup on SCD database.
Database is SCD and the schema is scp
I've executed the SCHEMA4SAP.VBS and tried to optiones but neither of them It works.
The SCD schema doesn't exist and It's the schema that I want to get after the recovery of SCP to make the system refresh.
Hi Ruben,
Can you kindly check what is the Default Database for Login and the connection String settings.
Also what is the Owner of the Object. Is it the DBO user ?
Thanks and Regards
Anurag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.