on ‎2015 Dec 07 11:19 AM
Hello,
I would like to know if there is any procedure to make cache clear automated in PI.
As of now, i am manually clearing the cache using the T-Code: SXI_CACHE (both delta and complete). However, as it is manual work i intend on making it automatic (if available). Sometimes, the cache is causing a problem in our servers.
Regards,
Uday
Request clarification before answering.
Hi Uday,
I'd suggest you analysing root cause of a cache issue and trying to fix it, rather than making automatic periodic cache refresh. Manual cache refresh shall never be considered as a long term solution.
As you mention transaction SXI_CACHE, I would assume you have problems with ABAP Integration Server cache - do you only have problems with it, or with other caches as well (particularly, Adapter Engine / CPA and Mapping Runtime caches in Advanced Adapter Engine)?
Can you provide more details about a faced problem, what symptoms can you evidence?
Can you check Cache Status Overview in ESR / Integration Directory - any errors / warnings there?
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Thank you for your quick response.
I do not have any problem with any other cache apart from the one mentioned.
For every few days i need to do the manual cache refresh as there are queues which are being stuck and once a cache refresh is done everything works properly.
That is the reason for thinking of making the cache clear run automatic.
We are analyzing the root cause, however, if there is any option for automatic please let me know so that we can check it and even i can get that knowledge.
Regards,
Uday
Uday, you may use following URL to make ABAP Integration Server cache notified that it needs trigger a cache update: http(s)://<host>:<ABAP HTTP(S) port>/sap/xi/cache?sap-client=<Integration Server client number>&mode=<F | C>. Here, URL parameter "mode" specifies if you would like to trigger full cache refresh (parameter "mode" value = F) or partial (delta) cache refresh (parameter "mode" value = C).
Please note that full cache refresh has major performance impact on interfaces runtime in PI system, so it should not be executed on a regular basis and should be only performed in exceptional cases when you really need to reload complete content of corresponding runtime cache.
Regards,
Vadim
Udaya, default Integration Server client is 001, unless you use some other client for these needs. You may check property com.sap.aii.connect.integrationserver.r3.client in Exchange Profile to find it out. Alternatively, you may look into transaction SXMS_IECONF in ABAP client in question and see what is the value of parameter ENGINE_TYPE (category RUNTIME) - if it is HUB, then this client is an Integration Server client, if LOC - application system client.
Regarding HTTP(S) ports... For every ABAP application server / instance, you can check its ports in transaction SMICM (menu Goto > Services). I would suggest firstly checking with Basis team if there is a load balancer in place for your PI system. If so, preference will be to use HTTP(S) port of a load balancer instead of a specific ABAP application server.
Regards,
Vadim
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.