cancel
Showing results for 
Search instead for 
Did you mean: 

PI interface logs are deleted

RameshGulipall
Active Participant
0 Kudos

Hi All,

We have monthly bounce of the PI servers. We have found in the past that when this occurs the PI interface logs are deleted. The SAP Basis team has told us this is due to the fact the logs are stored in a BLOB, and not stored in a database as would take up too much storage.

Do you possibly know of a way to save PI Interface History without taking up lots of storage, or possibly way to select certain log items to store in database. We are just wanting to keep 30 days worth of history, but when do a bounce we loose everything.

Any idea or solution you might have on this would be greatly appreciated

Regards,

Ramesh

Accepted Solutions (0)

Answers (3)

Answers (3)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ramesh

I do not understand what you mean by "PI interface logs". Please be more specific. Are you referring to trace files or are you reffering to PI messages?

Regards

Mark

anupam_ghosh2
Active Contributor
0 Kudos

Hi Ramesh,

You can do archiving and followed by deletion of XML messages in PI server. Archival jobs might be scheduled to occur at periodic interval. You can specify retention period for messages in PI database to 30 days, thus messages become eligible for archival only after they spend 30 days of time in PI server. You cannot delete unprocessed messages unless they are canceled. Archived files may be stored in external hard drive and can be read as per requirement. It might not be always possible to reload the contents of the archived files back to tables but standard read programs are available under archival object to read them. Please follow the step by step procedure mentioned in this document

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236...

You can choose the interfaces whose XML messages in IE, you wanna delete or archive.

Regards

Anupam

RameshGulipall
Active Participant
0 Kudos

Hi Anupam,

Thanks for your reply!!

my issue is when ever server down all my pi interface log files are delted.Any idea on this issue

Regards,

Ramesh

anupam_ghosh2
Active Contributor
0 Kudos

Hi Ramesh,

Once server restarts check out for background jobs running in it. I think during PI start up is an imporatnt event, it is triggering some background jobs whose task is to delete log files. BASIS team can check and list out all jobs running in background and reconfigure the settings. Simply restart of PI server should not delete log files.

If you do periodic archival or daily archival atleast you can get back old records, in case of accidental deletion.

Regards

Anupam

RameshGulipall
Active Participant
0 Kudos

Hi anupam,

Thanks for reply!!

Do you possibly know of a way to save PI Interface History without taking up lots of storage, or possibly way to select certain log items to store in database. We are just wanting to keep 30 days worth of history, but when do a bounce we loose everything.

Could you provide the any soulation of above issue.

Regards,

ramesh

Former Member
0 Kudos

You can archive all the messages in the file storage with some retention period and the files can be restored into the system whenver you want.

Check the archiving strategy for PI.

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Ramesh

What is the exact name of the logs you are referring to?

Regards

Mark

RameshGulipall
Active Participant
0 Kudos

Hi Mark,

All the logs of Pi interface with AE and IE.

Regards,

Ramesh