saved message

  • Creator
    Topic
  • #47784
    Wilson Wat
    Participant

    Is that a real need to save the inbound messages?

    If so, does anyone have a script that will purge the old saved messages?

Viewing 0 reply threads
  • Author
    Replies
    • #56710
      David Caragay
      Participant

      Wilson,

      The decision on what messages to save is somewhat subjective.  Many questions should be asked while deciding to turn saved messages on or off.  Can you easily resend from the source system?  Can you selectively resend from source system.  Is it a one to one or a one to many interface configuration?  Many times it is advantageous to save an inbound message for troubleshooting reasons.  We can always track down the exact message that was sent to us whenever we have questions about a interface message.  We also use the inbound saved message file to verify a message was received and at what time.  If you had code that deleted (killed) certain messages, you may have difficulty proving the message was ever received by cloverleaf since it would not be available on your outbound saved message file.

      What you could do is cycle and compress your saved message files on a nightly basis.  A simple script would look like this:

      setroot

      setsite invision

      hcicmd -p process_adt -c ‘. output_cycle’

      hcicmd -p process_adt -c ‘adt_thread_in save_cycle in’

      hcicmd -p process_adt -c ‘adt_thread_out save_cycle out’

      find $HCISITEDIR/exec/processes -name *.old.idx -exec compress -f {} ;

      find $HCISITEDIR/exec/processes -name *.old.msg -exec compress -f {} ;

      The above sample cycles the logfiles, cycles the saved message files, compresses the .old saved message file.  Hope this helps.

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,295
Replies
34,439
Topic Tags
287
Empty Topic Tags
10