Live Cache DR Setup
Dear All,
I am planning to make a standy server for Livecache for my SCM system.
Server Details is as follows:
Scm : SAP SCM 5.10
Lc version :KERNEL 7.7.04 BUILD 037-123-218-794
DBM Server : DBMServer 7.7.04 Build 037-123-218-794
O/s : AIX
Database : Oracle 10.2.0.4.0
Everyday Im taking a complete Data backup via db13.
My standby server has been configured with the same file system as of SCm and livecache.
Please guide me as what are my pre-requisites inorder to do a restore at standby livecache server and what kind of backup is needed in primary site inorder to restore at standby.
Thanks and regards,
Kiran
Hello Kiran,
1. Itu2019s dependent on the problem you are going to solve and on your project.
For example, the complete data backup of the source liveCache made in sync with SCM system database backup will be sufficient for restore/recovery to do a System copy.
See SAP notes:
886103 System Landscape Copy for SAP SCM
457425 Homogenous liveCache copy using backup/restore
If you lost the data or log volumes, for example, you must execute a recovery with initialization using the last successful data backup, assumed you have it, and all of the following log backups. In this case, the loss of data includes the period as of the last log backup.
To avoid the data loss please see the recommendations in the SAP note 869267, answer on question 3.
< What do I need to pay attention to when configuring the log with MaxDB?>
Please review the SAP notes:
869267 FAQ: SAP MaxDB LOG area
1377148 FAQ: SAP MaxDB backup/recovery
2. u201CAlso from transaction LC10 Im not able to connect to database manager GUI.u201D
Itu2019s better to create another thread at forum for each problem.
Could you please provide more information to get clear on the last reported issue::
The DBMGUI should be installed and could be started on the same host where the SAPGUI runs.
- How did you install DBMGUI on your PC?
SAP Note :: 386714 SQL Studio + Database Manager GUI installation
- What is the version of the DBMGUI?
( For example, you could find the answer, when you start the
DATABASE Manager -> Go to the HELP-> About Database Manager )
- What is the version and SP of the SAP Basis on your system?
- What error did you get, when you tried to connect to the liveCache using DBMGUI in LC10?
Thank you and best regards, Natalia Khlopina
Edited by: Natalia Khlopina on Apr 19, 2010 11:34 AM
Similar Messages
-
Error during Live Cache Server Installation on SCM 4.1 system
Hi All,
I have an SCM 4.1 ABAP system running on MSSQL2005 and Win2003 server.I would like to install Live Cache Server on the same Server.Livecache client was installed as part of SCM 4.1 installation.
I have installed MAXDB software and now when im trying to install Live Cache Server Instance i get the below error
Im performing the installation with user root and it is an Administrator.
WARNING 2011-12-09 11:01:25
Execution of the command "change 'user' '/install'" finished with return code 1. Output: Install mode does not apply to a Terminal server configured for remote administration.
Installation start: Friday, 09 December 2011, 11:01:23; installation directory: G:\SCM_4.1_Media\Media_Live_Cache\New_Media\51031447_2\CD_SAP_SCM_4.1_liveCache_64bit\SAPINST\NT\AMD64; product to be installed: SAP SCM 4.1> Additional Services> Install a liveCache Server instance
Transaction begin ********************************************************
WARNING 2011-12-09 11:02:33
Error 3 (The system cannot find the path specified.
) in execution of a 'CreateProcess' function, line (265), with parameter (G:\SCM_4.1_Media\Media_Live_Cache\New_Media\51031447_2\CD_SAP_SCM_4.1_liveCache_64bit\NT\AMD64\SDBUPD.EXE -l).
Transaction end **********************************************************
WARNING 2011-12-09 11:02:34
The step Fill_sapdb_db_instance_context with step key LIVECACHESERVER|ind|ind|ind|ind|ind|0|LC_SERVER_INSTALL|ind|ind|ind|ind|ind|0|Fill_sapdb_db_instance_context was executed with status ERROR.
Has anyone seen this error before ? Any pointers would be helpful.
Regards,
Ershad Ahmed.Subprocess starts at 20111209154957
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX db_enum
Execute Session Command : exit
> Subprocess stops at 20111209154957
OK
> Subprocess starts at 20111209155027
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX db_enum
Execute Session Command : exit
> Subprocess stops at 20111209155027
OK
> Subprocess starts at 20111209155221
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX db_enum
Execute Session Command : exit
> Subprocess stops at 20111209155221
OK
> Subprocess starts at 20111209155323
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX inst_enum
Execute Session Command : exit
> Subprocess stops at 20111209155324
OK
7.5.00.31 f:\sapdb\liv\db
7.6.06.10 f\sapdb\sdb\7606
7.6.06.10 C:\Program Files\sdb\7606
> Subprocess starts at 20111209155324
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX inst_enum
Execute Session Command : exit
> Subprocess stops at 20111209155324
OK
7.5.00.31 f:\sapdb\liv\db
7.6.06.10 f\sapdb\sdb\7606
7.6.06.10 C:\Program Files\sdb\7606
> Subprocess starts at 20111209161349
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX inst_enum
Execute Session Command : exit
> Subprocess stops at 20111209161349
OK
7.5.00.31 f:\sapdb\liv\db
7.6.06.10 f\sapdb\sdb\7606
7.6.06.10 C:\Program Files\sdb\7606
Regards,
Ershad Ahmed. -
Live Cache Failed (DBM error)
Hi,
I am getting following error while starting live cache(LC10)
"Error DBMCLI_COMMAND_EXECUTE_ERROR when starting liveCache LC1 on server system"
Server: system
Users: SAPUSER
Logical Command: DBMRFC
Parameter: exec_lcinit restart
Name and Server : LC1 - system
DBMRFC Function : DBM_EXECUTE
Command : exec_lcinit restart
Error : DBM Error
Return Code : -24964
Error Message : ERR_EXECUTE: error in program execution#
0,sap\lcinit LC1 restart -uDBM , -uDBA , -uSQL ,
liveCache LC1 (restart)
The liveCache state is OFFLINE
DBMServer 7.6.00 Build 029-123-130-265
starting LC1 into ONLINE
ERROR : restart not possible [please check knldiag!!]
ERROR : liveCache LC1 not started (see "d:\sapdb\data\wrk\LC1\lcinit.log")
In Transaction DB59 i tried connection test "Connect. test with "native SQL" ( LCA ) unsuccesful"
how to restart Live Cache again? what will be the problem?
regards
ThennarasuHello,
what's wrong with the hint you already got?
> ERROR : restart not possible [please check knldiag!!]
Check the knldiag and then we might be able to do something about this issue.
regards,
Lars -
Unable to delete Order does not exist in live cache but in table POSMAPN
Hi Experts,
We are facing an issue where purchase order is not available in live cache (which means no GUID) but exists in database table POSMAPN. We have tried to delete it using standard SAP inconsistent order deletion program and also using BAPI BAPI_POSRVAPS_DELMULTI but not able to delete it.
Can anybody suggest a method by which we can get rid of this order from the system.
Thanks a lot.
Best Regards,
ChandanHi Chandan,
Apologize me for taking your question in a wrong perspective. If you want to delete the same then you need to Re-CIF the order from ECC so that it would come and sit in Live Cache. Once done, try using the BAPI.
If you are not successful with the above approach try running the consistency report /SAPAPO/SDRQCR21 in APO system
so that it first corrects the inconsistency between ECC and APO (Live Cache + DB tables) and then use the BAPI to delete the PO.
Not sure if you have tried this way. If this does not solve your purpose you need to check SAP Notes.
Thanks,
Babu Kilari -
What is the significance of Live Cache in demand planning ?
Hi all,
Can anyone explain me significance of live cache in the demand planning. What are the issues will turn up for live cache if it is not properly maintained?
Thanks
PoojaHi Pooja,
SAP has come up with Live cache concept for storage and most important, quick and efficient processing of transactional data. Its a layer between data base and GUI and even the search methods and storage space has been optimized due to its structure. In DP it is used for storage of time series data whereas in SNP it can store both time series and order series data.
Regarding your second query, it is recommended to have Live cache consistency on a periodic basis for synchrinising data between LC and database tables. You can face many issues due to LC inconsistency as incorrect time series generation, Transactional data discrepancy, COM routine errors during background processing etc.
Let me know if it helps
Regards
Gaurav -
BAPI to get the Quantity from orders in live cache.
Hi Folks,
Can any body provide me the BAPI to get the quantity value for the orders saved in the Live Cache. I tried using the BAPI
BAPI_SLSRVAPS_GETLIST2 ... but its not fetching any records for me. what else i need to provide it as input.
Thanks in advance.
Thanks & Regards,
RamanaCheck this thread.
Delete In-Transits.
In-Transit is not a particular order. Any Goods Movement from one location to another location will be considered as In-Transit.
Let's say Plant A is sending Product P1 to DC B against a Purchase Order.
In that case in plant A the stock will be reduced by the quauntity of goods being shipped.
At DC B, the Purchase Order will become In-Transit Stock.
Thanks,
Somnath -
DBM Error return code -11 in LC10 Administration in SCM System Live Cache
Hello,
We have installed SCM 4.1 on Solaris on one box and LC 7.5 on another solaris box.
For kernel upgrade, we shut down Live Cache using LC10>administration on SCM server. After kernel patch, other patches for ABAP stack, we upgraded LC to SP11 build 35.
Since then, we get following error in LC10.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name and Server : LCA - gva1073
DBMRFC Function : DBM_EXECUTE
Command : dbm_version
Error : DBM Error
Return Code : -11
Error Message : tp error: Terminating. [nlsui0.c 1934] pid
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Also, in DB59, when we try to check connection, we get following error -
General Connection Data
Connection Name....: LCA
Database Name......: LCA
Database Server....: gva1073
tp Profiles........: no_longer_used
DBM User...........: CONTROL
Test Scope
1. Execute an external operating system command (DBMCLI)
2. Determine status using TCP/IP connection SAPDB_DBM (DBMRFC
command mode)
3. Determine status using TCP/IP connection SAPDB_DBM_DAEMON (DBMRFC
session mode)
4. Test the SQL connection (Native SQL at CON_NAME)
Application Server: gva1075_SCD_03 (
SunOS )
1. Connect. test with "dbmcli db_state"
Successful
2. Connect. test with command mode "dbmrfc db_state"
Unsuccessful
dbm_system_error
Name and Server : LCA - gva1073
DBMRFC Function : DBM_EXECUTE
Command : db_state
Error : DBM Error
Return Code : -11
Error Message : tp error: Terminating. [nlsui0.c 1934] pid
3. Connect. test with session mode "dbmrfc db_state"
Unsuccessful
dbm_system_error
Name and Server : LCA - gva1073
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -11
Error Message : tp error: Terminating. [nlsui0.c 1934] pid
4. Connect. test with "native SQL" ( LCA )
Successful
++++++++++++++++++++++++++++++++++++++++++++++++++++
Can anybody please help?
Thanks and regards,
VaibhavHello Vaibhav,
while using transaction LC10, the error 11 "tp error: Terminating. [nlsui0.c ...]" occurs. The user authorization with tp fails and the application server cannot connect to the liveCache.
I assumed, that it's due to a library version mismatch, tp cannot use the liveCahe UNICODE libraries.
Please check, that the tp call at the command line works properly. And a dbmcli call in the transaction SM49 with the tp options
(dbmcli ::
-d <LC-SID> -n <LC-servername> -tpp <profile> -tpi <system-SID>
-tpc <connection - LCA/LDA> dbm_version)
works also properly.
I recommend you to update the liveCache client software on the Application server.
If you've got access to OSS/Service Market Place, then please take a look at note
649814 how to update the liveCache client software on the application server.
< Please also review the SAP notes 847736 & 831108 >
Before the liveCache client version will be upgraded on the application
server you can use the workaround by switching off the central authorization for the liveCache LCA/LDA connections:
In transaction LC10, choose Integration and deactivate the option Central authorization, then save.
If you are the official SAP customer, I recommend you to create the ticket to SAP on 'BC-DB-LVC' queue.
Thank you and best regards, Natalia Khlopina -
How can I retrieve data from live cache?This is in Demand Planning : SCM APO.
Please suggest ways.
Thanks & Regards,
SavithaHi,
some time ago I worked on SAP APO.
To read live cache, you first have to open a SIM session.
You can do this as shown in this function module:
FUNCTION ZS_SIMSESSION_GET.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(IV_SIMID) TYPE /SAPAPO/VRSIOID
*" EXPORTING
*" REFERENCE(EV_SIMSESSION) TYPE /SAPAPO/OM_SIMSESSION
CONSTANTS:
lc_simsession_new TYPE c LENGTH 1 VALUE 'N'.
DATA:
lt_rc TYPE /sapapo/om_lc_rc_tab,
lv_simsession LIKE ev_simsession.
IF NOT ev_simsession IS INITIAL.
EXIT.
ENDIF.
*--> create Simsession
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_22 = lv_simsession.
*--> create transactional simulation
CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
EXPORTING
iv_simversion = iv_simid
iv_simsession = lv_simsession
iv_simsession_method = lc_simsession_new
iv_perform_commit = space
IMPORTING
et_rc = lt_rc
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
multi_tasim_registration = 4.
IF sy-subrc > 0.
CLEAR ev_simsession.
* error can be found in lt_rc
ENDIF.
* return simsession
ev_simsession = lv_simsession.
ENDFUNCTION.
Then you can access the live cache.
In this case we read an order (if I rememver correctly, it's a plan order):
DATA:
lv_vrsioid TYPE /sapapo/vrsioid,
lv_simsession TYPE /sapapo/om_simsession.
* Get vrsioid
CALL FUNCTION '/SAPAPO/DM_VRSIOEX_GET_VRSIOID'
EXPORTING
i_vrsioex_fld = '000' "By default
IMPORTING
e_vrsioid_fld = lv_vrsioid
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'ZS_SIMSESSION_GET'
EXPORTING
iv_simid = iv_vrsioid
IMPORTING
ev_simsession = lv_simsession.
CALL FUNCTION '/SAPAPO/RRP_LC_ORDER_GET_DATA'
EXPORTING
iv_order = iv_orderid
iv_simversion = iv_vrsioid
IMPORTING
et_outputs = lt_outputs
et_inputs = lt_inputs.
If you change something in your simsession, you have to merge it back afterwards, so that your changes become effective.
You can do this like that:
* Merge simulation version (to commit order changes)
CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
EXPORTING
iv_simversion = lv_vrsioid
iv_simsession = lv_simsession
iv_simsession_method = 'M'
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
multi_tasim_registration = 4
target_deleted_saveas_failed = 5
OTHERS = 6.
I hope this helps... -
Hi,
Can some1 explain me how the SNP data is stored in the live cache.
I know it's by series of order. But tell me is there any mapping involved in it?
Thanks,
Siva.Order series data is used by both SNP and PPDS.
While I do not know the exact way data is stored in liveCache the following helps me to explain and understand.
Each record in liveCache for Order Series data is stored as
Location Product combination-ATP Category-Quantity-Time Stamp.
Unlike Timeseries data CVC is replaced by a location product combination only, keyfigure is replaced by ATP Category (each kind of Order elements has its own ATP Category) and Time Bucket is replaced by actual Time Stamp (in UTC ddmmyyyyhhmmss format).
The mapping is essentially with ATP Category which maps to corresponding MRP elements in ECC or R/3.
In the SNP Planning Area for each keyfigure the Category Group defines the grouping of ATP Categories for which orderseries data will be displayed in that particular keyfigure.
Hope this helps.
Thanks,
Somnath -
How to see Live cache order number in planning book of APO ?
I am trying to see the Live cache order number in Planning book by entering getio as T-code while in planning book.
By this I am not able to see the LC details. Can anyone help me out on the same?
Edited by: Wilian Segatto on May 16, 2010 2:52 PMDear Rahul!
Are you using correctly the transaction GT_IO? As per your first reply you are using GETIO.
Try GT_IO!
Will -
Hi,
I've just completed an SCM 2007 Installation alongwith the live cache.
However, when I try to login to the LC using the dbmcli command (user control/superdba & the pwds. set during installation), it gives the foll. error:
-24950,ERR_USRFAIL: User Authorization failed.
Also, I'm not able to use LC10-->Live Cache Monitoring
Pls help, since it's extremely urgent.
Thanks a lot,
Saba.Hello Saba,
-> For SAP liveCache documentation in English see the SAP note 767598.
-> In general, the error could be due the wrong password of the dbm user.
For example, I created the database instance NLK with the control user and
control password. If I will try to connect to the database with wrong password
I will get this error ::
dbmcli -d NLK -u control,test
Error! Connection failed to node (local) for database NLK:
-24950,ERR_USRFAIL: User authorization failed
-> You are running SCM 2007 < SCM 5.1 > system, therefore you are SAP customer.
Please create the SAP ticket concerning this issue => we could logon via OSS and check the status of your system.
Please set 'high' priority of the ticket, if it's extremely urgent.
If it's the DEMO or PROD system you could escalate the message to 'VH'.
Thank you and best regards, Natalia Khlopina -
In which table is the Live cache data stored?
Hi experts,
I am new APO .Can anyone let me know in which database table will the Live cache data be stored?
Thanks in advance
regards
Ashwin.Hello Ashwin,
the idea of the liveCache is to haev data permanently and quickly available without having to read/write from/to database. Therefore, the liveCache is <b>NOT</b> a physical database, it is a program in C++ that <i>simulates</i> a database and holds the data in the memory.
However, it does need so called liveCache-anchors which are saved on the database, and which are similar to pointers.
However, you can extract data from liveCache using BADIs or by creating a datasource on a planning area (for DP and SNP), manipulation can also be done only by BADIs or sophisticated programming (which basically uses RFCs).
I hope this answers your question.
Regards,
Klaus -
Some concern about Live cache Homogeneous System copy
Hi All,
I need to do the Homogeneous system copy SCM 5.0 / Live cache 7.6.00 on AIX. Following are the Source and target System SID for Live cache. Moreover I had check the respective SAP note 457425 and 877203 but still having some concern.
Source System
Live cache SID = SCD
Live cache user ID = SAPSCD
Live Database instant software owner = scdadm
Live cache Data Size = 8 GB ( 4 Data volume / 2 GB each / auto extend off)
Target System
Live cache SID = SCT
Live cache user ID = SAPSCT
Live Database instant software owner = sctadm
Live cache Data Size = 4 GB ( 2 Data volume / 2 GB each / auto extend off)
For same I having following concern.
1. Since there is difference between source system and target system size / data volume number what action I need to take on target system. Do I need to add two more data volume into the target system?
2. After complication of database restore on target the system do I need to change the Live cache user ID (i.e. SAPSCD to SAPSCT)?
or
It is just fine to change the log on data in Integration tab in LC10.
Please let me know some more information on same.
Thanks,
HarshalHello Harshal,
"1. Since there is difference between source system and target system size / data volume number what action I need to take on target system. Do I need to add two more data volume into the target system?"
Please pay attention to the SAP note :: 457425 Homogenous liveCache copy using backup/restore
Please update the thread withy additional information ::
What is the version of the source liveCache? What is the version of the target liveCache?
How much data do you have in the source liveCache?
And you need to have the size data area of the target liveCache to be able to restore the databackup created in the source liveCache.
So by the size of the data volumes in the source liveCache, it's not clear how much data you have.
"2. After complication of database restore on target the system do I need to change the Live cache user ID (i.e. SAPSCD to SAPSCT)?"
Please review the SAP note 877203.
You could rename the user SAPSCD to SAPSCT using the SAP note 877203 steps
OR
You could have the user SAPSCD in the target liveCache as Standard liveCache user &
After you run the homogenous liveCache copy using backup/restore procedure you need
to change the LCA/LDA/LEA connection with user SAPSCD on target system and
set the user SAPSCD to the user containers ( please see the SAP note 616555 for more details )
Before to restart the liveCache in LC10.
PS: Please pay attention about the value of the liveCache parameter _UNICODE.
What are the values of this parameter in the source & target liveCache?
Thank you and best regards, Natalia Khlopina -
Data written to Live cache but not visible in SNP Planning Book
Hello All,
We have an issue this morning, Customer service cordinator placed a Purchase Order in SNP (VMI). Order was sent to ECC and a sales order was created. This morning when we check the sales order, it shows 4574 cases but in TLB Pur chase order, it only some 2000 something. I went to OM16 and checked the sales order and it had the entire 4574 cases written in the live cache. Any help on how to get the entire quantity to be seen is appreciated. Thank you.
Regards,
Rohit.Hi Ada,
Thanks for the reply. The issue got resolved by itself.
Regards,
Rohit. -
Why we need live cache along with RDB in APO
Hello Expert,
I recently entered to APO module so want to know about live cache and why we really need comparing to RDB and what RDB cannot do that live cache can do?SRS,
Functionalities are pretty much the same. LiveCache is a relational Database, built on MaxDB.
Advantage of LC is that most of the data is stored in memory rather than on disk storage. Data access and retrieval is substantially faster from memory than from disk storage.
Best Regards,
DB49
Maybe you are looking for
-
Can i use apple tv here in the philippines?
can i use apple tv here in the philippines?
-
I just got my MacBook Pro like on the 26th and it totally messed up or something, so I went to The Apple Store and had a Genius help me out. He told me that Leopard had to be reinstalled and he did it and now everything's working the way it's suppose
-
Error Message accessing Oracle Forms
Can someone tell me what this means and how to correct? Oracle JInitiator: Version 1.3.1.18 Using JRE version 1.3.1.18-internal Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\ajdailyX User has overriden browser's proxy set
-
Hi, since the first thread 'Data Modeler hangs' is marked as answered. I try a new one. I still had this problem that modeler hangs when trying to open or save a file. I played around and found following solution which works for me : Download data mo
-
Is Onyx Compatible with Snow Leopard Server?
Any of you guys use Onyx on your SLS installs? Is it compatible?