Quantcast
Channel: SCN : Popular Discussions - SAP liveCache Technology

SCM system copy with livecache post steps

$
0
0

Hello,

 

I am trying to create a new SCM quality system by making a copy of production system using backup/restore. I am a basis person and this is my first time working on SCM system. Please note that we want to copy both SCM database and also the data in livecache database. The SIDs for both SCM and Live cache instance are changing. I have read multiple notes (1015489, 886103, 877203, 457425, 1030857, 1349272 etc) and some GREAT POSTS in this forum BY NATALIA KHLOPINA. Thanks to this info, I have done the following so far:

 

SCM version is 7.0 SP 11 and Livecache version is 7.7.7.

 

I first copied over the SCM database using backup restore.

Installed the SCM target system with the new SID

Installed Livecache instance for target system (on a separate host than SCM) using swpm

Then I initialized the maxdb instance via DB manager

then I did restore and initialize using the full backup that I had taken of source livecache system via DBM GUI (pretty much steps in note 457425)

Then ran the following command : load_systab -u superdba,admin

(ran into some issues in between but resolved one by one like upgrading kernel, re-restored the db afer change default_code to Unicode etc )

Then in LC10, LCA -  I registered LCAPPS

Then in LC10, I did the integration configuration for LCA connection (it was blank due to some reason after the copy). Also reentered the u/p for LDA and LEA connections.

The LC10 connections are coming up green to livecache

 

Firstly, can you verify the steps above are correct so far ?

 

Secondly, I am trying to follow the notes 1015489, 886103, 877203, 457425 and 1030857, 1073954 to do post copy steps and have the following issues/questions:

 

1) In note 1015489 (connection problems after system copy),  it says to run report SLCA_GET_SYSNAME to get system name in livecache. When I do so, It says "Table for system names does not yet exist". Is that normal ( I am on scm 7.0 SP11) ? If I go to dbmcli and try to drop table APPSYSPARAM or APPSYSNAME, it says table does not exist ?? How do I verify if correct system name is registered in livecache?

 

2) Note 886103 (system landscape copy for SCM) -- It says to change logical system name in /SAPAPO/ORDMAP but this table is not active in my dictionary !! same for table CIFRFCDES and table /sapapo/cifdistr does not exist ??

 

3) Note 886103 says that if you want to rename the user SAPR3 to SAPEL1, you run some dbmcli commands. Is this necessary ?? my Livecache id is changing from LIP to LIQ, so shall I change it ? The domain.users currently shows control , superdba and also SAPLIP user and SAPLIQ user (SAPLIQ user only started showing up after I registered LC APPS ). Do I need to do anything else or verify something ?

 

4) Note 877203 once again talks about SAPEL1 user and I am not sure if I need to run these steps or not

 

5) Note 1030857 tells to run this report zz_update_acckey to correct the external keys. Is this necessary even if we run BDLS ? Shall I ask the SCM functional person ?

 

6) Note 1073954 (effects of changing the standard livecache user) -- How do I know if I need to run this ? my livecache tables like /sapapo/ordmap are stil owned by SAP<OLDSID> but  in LC10 connections I have changed the three connections to use SAP<NEWSID> user and the connetions are green and connection tests in db59 are also successful !!.

The note says that "Only change the standard liveCache user if the system does not contain any data or if you initialize the liveCache directly after the change"

My copied over livecache does contain data and If I initialize the livecache after changing this user id, I guess I will loose the data. So, Can I skip this step as long as connections in LC10 and db59 are working okay ?

 

7 ) How can I verify that APO optimizer is also installed in Production system. I thought it was optional to install it and I don't know if this client is using it ?

 

Sorry for this long long post. Hope someone out there has patience to clarify my doubts.

 

Thanks

 

BV


DBIF_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR

$
0
0

Hi

 

During Release of demand planning to supply network I got run time error :

 

 

Category               Installation Errors

Runtime Errors         DBIF_DSQL2_SQL_ERROR

Except.                CX_SY_NATIVE_SQL_ERROR

Date and Time          06.03.2016 23:39:54

 

 

Short text

 

     SQL error 600 occurred when executing Native SQL.

 

 

What happened?

 

     The error 600 occurred in the current database connection "LCA".

     Error Text of Database: "POS(1) Work rolled back: DbpError: DbpError -4004

      errorK"

     SQL Statement Responsible:"EXECUTE PROCEDURE "APS_CUS_ORDER_CHANGE1""

 

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_NATIVE_SQL_ERROR', was not

caught in

procedure "/SAPAPO/OM_CUS_ORDER_CHANGE" "(FUNCTION)", nor was it propagated by

a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

Error Text of the Database: "POS(1) Work rolled back: DbpError: DbpError -4004

errorK"

 

Please Advise how to solve

 

Regards

Livecache requirements

$
0
0

Hello,

 

Are there any restriction about install Livecache server and SCM on the same server?

The OS is windows.

 

 

Regards.

Upgrade of SCM 7.0 to EHP2 and Livecache 7.7 to 7.9

$
0
0

Hi Experts,

 

We are planning to do SCM 7.0 EHP2 upgrade from SCM 7.0.

 

I have few questions regarding upgrade of SCM and Livecache 7.7 to 7.9 .

 

1. Is it possible to upgrade the SCM alone with out livecache upgrade .Or is it mandatory to upgrade livecache too with SCM upgrade .

2. Whether livecache should be upgraded before or after SCM 7.02 upgrade .

3.how to do Parallel upgrade of SCM and Livecache . things to do for parallel upgrade .

4. Which upgrade is best , Livecache upgrade after SCM upgrade or parallel upgrade of Livecache and SCM.

5.As per upgrade guide there are two method for livecache upgrade one is extract/load & another is inplace upgrade, which one we need to follow.

 

 

Please help me to clarify this things .

 

Thanks

 

Alok

liveCache Installation on HANA

$
0
0

Hi,


We are testing migration of SCM to SCM on HANA with integrated LiveCache in our lab box & now migrating

external LiveCache to Integrated LiveCahce migration.We have done all the steps upto step 5 as specified in the note 1825703. Not able to validate step number 6. We dont see APS_ORDER_GET_DATA under "Catalog => Public Synonyms" in the SAP HANA Studio and also we dont see role AFL__SYS_AFL_LCAPPS_EXECUTE. The LC installation step number 5 completed successfully without any error. The HANA DB connection (created in step 4) from DBACOCKPIT is working fine LCA,LDA and LEA.


Thanks

Vipin

What to do with LiveCache for SCM migration?

$
0
0

Hi Expert,

 

I will be migrating my SCM(APO) system from Oracle to Sybase. The migration will take place on the same server. Currently, the SCM is attached to a Livecache running on MaxDB.

 

My question is, should I re-install the LiveCache on the new Sybase system? How can I make sure the new Sybase SCM system is connected to the existing LiveCache?

 

Hope to get ideas and feedback.

 

Thanks,

SS

DBMCLI commands

$
0
0

Hi Friends,

Could anyone send me DBMCLI commands for regular usage.

 

Regards

suresh

LCA connection not working

$
0
0

Hi Experts,

 

I am facing an issue with Live Cache connection to SCM system. In DB59, when I am doing connection test for LCA, I am getting following output:

 

 

Application Server:  atldapr_DAP_03                           ( HP-UX      )                                 

   1. Connect. test with "dbmcli db_state"                         Successful                                

   2. Connect. test with command mode "dbmrfc db_state"            Successful                                

   3. Connect. test with session mode "dbmrfc db_state"            Successful                                

   4. Connect. test with "native SQL"  ( LCA )                     No connection                             

      For detailed information, see the developer trace for work process:           1                        

 

The developer trace of work process 1 dev_w1 has following entries regarding this error:

 

B Fri Jan  4 07:42:48 2013                                                                                  

B  Connect to LCA as SAPR3 with atldalr-DAL                                                                 

C  INFO : SQLOPT (set by environment) =                                                                     

C  INFO : SQLOPT= -I 0 -t 0 -F SAPDB.9529.pct                                                               

C  Precompiler Runtime : C-PreComp 7.4.3    Build 042-122-121-563                                           

C  Precompiler runtime is SAP DB 7.4.3.042                                                                  

C  Try to connect as SAPR3/<pwd>@atldalr-DAL on connection 1 ...                                            

C  *** ERROR => CONNECT failed : sqlcode=-807 (Connection down, session released (protocol error))          

[dbadautl.c   311]                                                                                         

B  ***LOG BY2=> sql error -807       performing CON        [dbds#4 @ 1056] [dbds    1056 ]                  

B  ***LOG BY0=> Connection down, session released (protocol error) [dbds#4 @ 1056] [dbds    1056 ]         

 

Please help.

 

Regards,

Sharad


Live Cache 7.7 Parameters Tuning and Locking Issue

$
0
0

Hi All,

 

We have recently installed SAP APO 7.0 system with LiveCache 7.7.07.

 

Please provide your suggestion for below queries -

 

1) OMS Data and Data Cache hit ratio was 90% in my LiveCache so we have increased Cache Memory Size(10GB now) and OMS Max Heap Size( 8 GB ).

but now my worry is what other parameters we should consider for good performance in Live Cache System as we have not done any parameter tuning after LiveCache install and it is running on default values of installation.

 

 

2) We also see several time Data loading jobs get fail due to lock entry in Live Cache and that lock does not get release till we restart Live Cache Application, Please suggest can we set any paremeter (RequestTimeout parameter is 180 Sec now) or do we have any place like SM12 in ABAP system from where we can remove these Live Cache locks. Under LC10->SQL and OMS lock, We do not see any lock that time.

 

Please provide your input.

 

Thanks in Advance.

 

Shivam

SAP liveCache Technology in Ms sql

$
0
0

Hi Experts,

 

Can anyone please tell me how to use live cache in Ms Sql Database....Is it possible to use live cache in Ms sql if so, It will be very helpful for me if you send any documents or links.

 

 

Thanks in advance...

 

Regards,
Krishna.M





Latest Images