Backing up Live Cache 7.7
Hi Gurus
I am new to APO and Live Cache, just installed both, LC10 is completely configured.
I want to know how do I backup my Live Cache ?
Thanks
JS
Hello JS,
-> Are you SAP customer?
<As you know for "Best Practices for Solution Management: mySAP SCM" (SMP login required) >
-> At http://maxdb.sap.com/doc/7_7/default.htm < MAXDB library >
Database Administration -> Backing Up Databases
-> At http://maxdb.sap.com/doc/7_7/default.htm < MAXDB library >
< Tutorials -> Database Manager CLI Tutorial -> Backup >
-> See the document at
https://www.sdn.sap.com/irj/scn/wiki?path=/display/maxdb/main
- > MaxDB HowTo > HowTo - MaxDB backup with dbmcli
Thank you and best regards, Natalia Khlopina
Similar Messages
-
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... -
Data movement from R/3 DB to APO DB and to Live cache
Dear APO Experts,
I have few questions on live cache and how it works, I understand that Live cache is memory resident database. below are my questions.
1) What sought of data move from R/3 DB to APO DB and then to Live cache DB
2) When data moves from APO DB to Live cache, till how much duration that data stays in live cache
3) And how does data gets pulled in to live cache from APO DB
4) Why do we require live cache logs while data never gets commited to hard disk
5) Do we ever add a datafile to Live cache DB
any info that you provide on this will be really helpfull to me
Thanks,
ChetanHello Chetan,
As you know, itu2019s MAXDB/liveCache forum.
What is the version of your system?
The is documentation available at:
SAP liveCache technology
< Please review document u201CWhat is SAP liveCache technology?u201D >
Sap documents at service.sap.com/scm -> Technology:
u201CliveCache overviewu201D and u201CIntegration overviewu201D
For SAP liveCache documentation also see the SAP note 767598.
Go to SAP link Best Practices for Solution Management: mySAP SCM at SAP liveCache technology ...
And Review the document u201CManage APO Core Interface in SAP APO (3.x) / mySAP SCM (4.x/ 5.0)u201D
1. As you saw in the reference documents the data transferred from the connected R/3 system to APO.
And the transactional data could be uploaded to the liveCache, if you downloaded them
to the APO database cluster tables first. This procedure steps are running during the
system upgrade < for example, from SCM 5.0 to SCM 7.0 ) u2013 report /SAPAPO/OM_LC_UPGRADE_70 steps. Or you want to migrate the
liveCache to another operating system or convert your system to Unicode,
and therefore you want to back up the liveCache data first so that you
can reload it into the liveCache afterwards - SAP Note No. 632357.
2. Could you collaborate more on this sentence. Could you give examples?
3. u201CAnd how does data gets pulled in to live cache from APO DBu201D
The data are not pulled from the APO DB to liveCache.
When you changed the APO data on the system the LCA procedures have been called from ABAP. The objects stored in the class containers in liveCache can be accessed and manipulated only via LCA routines. The registration of the LCA routines is done automatically when the liveCache is started by the LC10. The LCA procedures in the LiveCache are written in C++
and shipped to the customers as binary LCA libraries(LCA build) together with the LiveCache.
< See more details in SAP Note No. 824489 or 1278897 as of SCM 7.0 >
4. See the SAP notes:
869267 FAQ: SAP MaxDB LOG area
1377148 FAQ: SAP MaxDB backup/recovery
5. You could run the quicksizer & estimate how much data you are planning to have in liveCache.
Also the amount of data could be increased by the creation of the new data in APO by users
Or another reason u2026
In general you will add the datavolume to solve or prevent the DB_FULL issue,
See u201C17. What do I do if the data area is full? u201C in SAP note 846890.
Thank you and best regards, Natalia Khlopina -
Dear All
I have a SCM 7.0 application with Live Cache installed. The same was working fine till few days back.
However, now, when I am trying to start Live Cache using LC10, I am receiving an error as per the lcinit.log.
START *****************************
liveCache SCM (restart)
01.07.2010
11:09
Installation path is D:\sapdb\SCM\db
Operating system is Windows Server 2003 family
The liveCache state is OFFLINE
DBMServer 7.7.04 Build 029-123-196-543
Starting SCM into ADMIN
Starting SCM into ONLINE
ERR
-24988,ERR_SQL: SQL error
-902,I/O error
3,Database state: OFFLINE
Internal errorcode, Error code 9050 "disk_not_accessible"
20017,RestartFilesystem failed with 'I/O error'
ERROR : Restart not possible (please check KnlMsg)
ERROR : liveCache SCM not started
01.07.2010
11:09
END ******************************
Any suggestions
Regards
LokeshHI there,
why don't you take a closer look to what is in the message?
> Internal errorcode, Error code 9050 "disk_not_accessible"
> 20017,RestartFilesystem failed with 'I/O error'
> ERROR : Restart not possible (please check KnlMsg)
There is a problem with the liveCache disks.
This problem prevents that the liveCache can be started.
For more information you should look into the KNLMSG file.
Why don't you just do that?
The file will tell you what file is the problem and what kind of problem there is with the file.
regards,
Lars -
Live Cache error with message number /SAPAPO/OM028
Hi Experts,
When I run RLCDEL program for deletion of obsolete SNP orders in the back ground , system shows livecache error alert with message number /SAPAPO/OM028 in the deletion job log. The details of message is "invalid order" or ABAP programming error. Live cache consistency checks are not resolving issue. Product release is 5.1 with SP08. Please suggest a resolution
Regards,
RaghavHi Raghav,
The sap notes 642503 & 973244 will fix your issue but they are for
versions 4.0 and 5.0 respectively.
You can write to SAP by creating a OSS message to update these
two message for version 5.1
This will resolve your issue
Please confirm
Regards
R. Senthil Mareeswaran. -
BW reporting from APO live cache
It has been 4 years since I have worked on a BW/APO project. Back then, I know that in APO you could backup live cache and then use the backup as the datasource for reporting in BW. Is this still the same or can you go directly against live cache now.
Thanks,
DeanHi Somnath,
Can you pl. give me the reference where running reports from internal APO-BW directly is recommended by SAP?
We have a similar situation with our client. It is possible to do reporting from APO cubes directly, but we are not sure since I found this in once of the SAP presentations
SAP recommends for customer to prepare separate systems for APO and BW.
Reasons
The APO system will be tuned for optimal APO functionality performance such as calculating forecasts in demand planning or deriving ATP values
The BW system will be tuned for optimal query performance in order to return results in a timely fashion. -
Installing Live Cache Server on SCM 4.1 system
Hi All,
I have installed an SCM 4.1 Abap + Java System and Live cache client was installed during SCM 4.1 installation.
I would like to install Live cache server and i have problems with it.
I have downloaded the following installation guide
SAP liveCache 7.5.0 For SAP SCM Server 4.1
Document Version 1.02 u2013 April 8th, 2005
Guide tells us to use installation master CD for installating Live cache Server but note 708118 tells us to use the CD 51031447
04 Nov 05 Windows AMD64: Start Installation from liveCache CD
Start the installation of the liveCache server or client from the liveCache
CD (number 51031447) and not from the installation master CD (number
51031443)
Upon checking the cd 51031447 i see SDBINST.exe and upon clicking it i get the following screen
Installation of SAP LiveCache Software
existing profiles
0: APO Livecache
1: Runtime for SAP AS
2: DB Analyzer
3: JDBC
4: Server
5: Loader
6: ODBC
7: All
8: None
Please enter profile id :
I select profile 0 and it comes back with another user input option
Im searching for a document which gives me the procedure for installing Live cache using SBDINST.exe
Regards,
Ershad Ahmed.Hi All,
I went ahead with Option 0 and it asked me for Kernel file and i provided the files.
I checked logs in /sapdb/wrk directory and i see that Installation of SAP livecache finished successfully.
From LC10 i gave database connection name (LCA) and clicked on live cache monitoring and it comes back with an error
Name and Server : LCA - XXXXXXX (XXXXX = Server Name)
DBMRFC Function: DBM_EXECUTE
Command: dbm_version
Error: DBM Error
Return Code : -4
Errror Message: database instance not found.
Application Server: XXXXXX ( Windows NT )
1. Connect. test with "dbmcli db_state"
Error! Connection failed to node XXXXXXX for database LCA: database instance not found
External program terminated with exit code 2
2. Connect. test with command mode "dbmrfc db_state"
Name and Server : LCA - XXXXXXX
DBMRFC Function : DBM_EXECUTE
Command : db_state
Error : DBM Error
Return Code : -4
Error Message : database instance not found
3. Connect. test with session mode "dbmrfc db_state"
Name and Server : LCA - XXXXXXXX
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -4
Error Message : database instance not found
4. Connect. test with "native SQL" ( LCA )
For detailed information, see the developer trace for work process: 1
From the OS level i gave command dbmcli db_enum and i get OK as reply.
Can someone please let me know how to resolve this issue.
Regards,
Ershad Ahmed. -
Hi having a problem upgrading SCM 4.1 APO Live Cache
Hi I am new to SCM and I came into a project that was already started, I am doing a SUM upgrade and its at the upgrade of Live Cache I need to run the report /SAPAPO/OM_LC_UPGRADE_70 and perform all steps in section A. when I try to run the report it comes back "No shared library for the database with ID LCA" I checked LC10 and saw in the Settings that the database is still pointing back to the source system it was copied from. Like I said I walked into this in the middle the they are upgrading from SCM 4.1 to 7.0EHP3 on SQL 2012 and Windows 2012 so they built the 2012 Vm installed the Central services and when they installed the DB it was an attach / detach method and I installed the DB instance. Question should any of the file directories have come with the attach db there are no sapdb in the directories do I just install the live cache and that installs the maxdb and makes the directories /sapdb/ because I see them in the source system? I tried installing the live cache that came with the original system but it had errors.
Hi All,
I went ahead with Option 0 and it asked me for Kernel file and i provided the files.
I checked logs in /sapdb/wrk directory and i see that Installation of SAP livecache finished successfully.
From LC10 i gave database connection name (LCA) and clicked on live cache monitoring and it comes back with an error
Name and Server : LCA - XXXXXXX (XXXXX = Server Name)
DBMRFC Function: DBM_EXECUTE
Command: dbm_version
Error: DBM Error
Return Code : -4
Errror Message: database instance not found.
Application Server: XXXXXX ( Windows NT )
1. Connect. test with "dbmcli db_state"
Error! Connection failed to node XXXXXXX for database LCA: database instance not found
External program terminated with exit code 2
2. Connect. test with command mode "dbmrfc db_state"
Name and Server : LCA - XXXXXXX
DBMRFC Function : DBM_EXECUTE
Command : db_state
Error : DBM Error
Return Code : -4
Error Message : database instance not found
3. Connect. test with session mode "dbmrfc db_state"
Name and Server : LCA - XXXXXXXX
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -4
Error Message : database instance not found
4. Connect. test with "native SQL" ( LCA )
For detailed information, see the developer trace for work process: 1
From the OS level i gave command dbmcli db_enum and i get OK as reply.
Can someone please let me know how to resolve this issue.
Regards,
Ershad Ahmed. -
Hi Guys,
IF i stopped live cache in LC-10 , what happen to the system , specially to the dynamic data's in live cache , how will it impact APO system and R/3 system
if i want to bring back to original status of live cache what i have to do
Right now i stopped and started again live cache, then i went to apo system and opened product view of particular product system says live cache not available
but the live cache i started again
Please give some feed back on this issue
Thanks
RajHi
Thanks for kind guidelines
here is my exact problem, currently two system APO and R/3 is running smoothly with CIF
Accidentally i stopped LiveCache and started again
but when i go to apo Product view , i entered the product and location to view those existing planned order and sales order
But the system says that LiveCache not available
Please explain what is the reason for it , i need to activate all the integration models in R/3 again
please some one help me in this regard
Thanks in advance
Raj -
LIve Cache Consistency Check Program
Hi All,
Is it possible to stop Live cache consistency check program /SAPAPO/TS_LCM_CONS_CHECK when it is running.
Thanks.
Bala
Message was edited by: Bala SubramainamHi Uma,
Actually the job finished quite fast and was unable to check this. Would probably check this in DEV and reply back to you. Thanks for your reply.
Have assigned points for you.
Regards
Bala -
Log Queue Overflows in SCM+Live Cache system
Hello Friends,
Log Queue Overflows showing RED alert in SCM Live cache, Please help me How to solve this issue.
Regards,
BalaramUser Basis wrote:
Dears,
>
> In my system some problems are occurring with log queues.
> The following message is presented in my system:
> Log queue overflows: 70641, configured log queue pages: 2000 for each of 4 log queues
>
Ok, so what is the problem with that?
You use the liveCache quite heavily (e.g. make lots of commits/changes) and the storage where you put your log-volume to is not quick enough to save the data.
Either you fix the storage speed or you accept that your users might have to wait a bit longer for their application to save the data.
User Basis wrote:
> I think it is occurring because we are managing the Log with "Log automatic overwrite". This configuration is being used because we don´t have a lot of disk space to manage it as well.
> Al jey.
These two things have no connection.
A log queue overflow simply means, that sessions have to wait until the log queue is saved to disk before they can put new entries to the log queue.
The log mode overwrite means: you don't care about data security and the ability to recover the liveCache from a backup.
It's a setting used for throw-away database instances where it doesn't matter to loose data.
It means that the database simply overwrites log entries that have not been backed up, when the log area gets filled.
regards,
Lars -
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. -
Hi I want to buy an unlocked iPhone 5 in the Middle East. I want to know if I will be able to use my iPhone and all its applications when we go back to live in the US for long term.
Thank youApple Online Store sells unlocked iPhone in the following countries: Australia, Austria, Belgium (French, Dutch), Brazil, Canada (English, French), China, Czech Republic, Denmark, Finland, France, Germany, Hong Kong (English, Chinese), Hungary, Ireland, Italy, Luxembourg, Malaysia, Mexico, New Zealand, Netherlands, Norway, Poland, Portugal, Singapore, Spain, Sweden, Switzerland (French, German), Taiwan, Thailand, United Arab Emirates, United Kingdom, and United States.
You can probably be absolutely sure any other source will be carrier locked
It also appears that only Zain offer unlocking (of all the ME carriers ) in Jordan and Bahrain
A ME iPhone 5 ( A1429 GSM )will not work on US LTE when you return -
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 -
Is there a way to convert outlined text back into live text?
I have an Illustrator CS3 doc in which all text has been converted to outlines. (I wish I had an intelligent answer to the question of why I don't have the original doc with live text, but...) I remember seeing a post some time ago that explained how to change the outlines back into live text, which may have involved making a pdf or something, but I can't find that post anywhere in the Adobe forums. Does anyone know how to do this, if it can even be done? Thanks!
I had to test it. Yes, you can use Acrobat Pro to OCR the text. First you'll need to rasterize the outlined text in AI (at 300dpi bitmap) and save as PDF. Then open in Acrobat and go to "Documents>OCR Text Recognition" to convert the image to text. Click "Edit" in the "Recognize Text dialog window and select "Formatted Text & Graphics" to view only the text in Acrobat. Save and re-open in AI. The text will be editable, but broken into individual words. You can cut multiple words to the clipboard then click with the text tool and paste, to merge the text into a contiguous sentence, but you'll lose the spaces. Exporting as text from Acrobat may be a better route.
Maybe you are looking for
-
Partial qty MIRO and GR for import PO
Hi, For import PO first we are creating PO for vendor and we enter only qty and 0% tax for import PO after getting material as per schedule qty we are creating new PO for the recieved qty only and we are adding all the custom condition as deliver
-
Security Breach on the Ubuntu Forums
So apparently the ubuntu forums got hacked and someone made out with 2 million usernames, passwords and email adresses- ouch! Their site is currently down. Just posting as an FYI because their advice is to change your password if you have an account
-
PDF in an Iframe causes Fire Fox to crash
When a page is loaded with a PDF in an Iframe, Fire Fox crashes almost instantly. It appears that this is a known issue? In what release is this expected to be fixed? Thanks
-
Restore by ibackup erased my mail boxes. I need help
Complex problem that is entirely my fault. But I hope someone can help me. I recently (several weeks) moved from my PB to a new MB. When I did that, I kept the PB as it was, and have been using the MB as my primary machine. I have been using ibackup
-
Can't click on pop-up messages
Sometimes when I get a pop-up message from a program running in a different space, when I navigate to that space using the keyboard shortcuts, the message is hidden behind the program window and because the message is the active window I can't move t