|
Here is an interesting problem.
We're stress testing an application and need to generate and enormously
large number of audit journal entries as quickly as possible. "T" type
entries are what we're after but really any entry type will do. So if
you have an idea how to do that, please chime in.
Here is one idea that I had, but I don't know how to stop it once we
begin. Any ideas on this particular approach would be greatly
appreciated. Here is the plan:
1. Create a User called "Fred"
2. Give "Fred" *EXCLUDE authority to the QSYSOPR message queue.
3. Have "Fred" submit a batch job that does a "SNDMSG 'Hello World'
TOMSGQ(QSYSOPR).
Because "Fred" has *EXCLUDE authority to QSYSOPR, this command will
generate an 'T' 'AF' audit journal entry in QAUDJRN. Because it is done
in a batch job, the batch job attempt to throw and exception error
message into QSYSOPR, but because "Fred" is still *EXCLUDED from message
queue QSYSOPR, the process will generate another 'T' 'AF', and yet
another error message headed for QSYSOPR, etc. etc. in a very tight
little loop.
This seems like a good way to generate a ton of audit log entries, but
the question is this: How do you stop it before it runs away with your
system? Can anyone think of a way to interrupt this process?
TIA,
jte
--
John Earl, VP and Chief Technology Officer
PowerTech: 253-872-7788
Direct: 253-479-1408
Mobile: 206-669-3336
John.Earl@xxxxxxxxxxxxx
Email is an excellent way to communicate material that is not time
sensitive. If your communication is of a more urgent nature, please
call.
===========================
This email message and any attachments are intended only for the use of
the intended recipient named above and may contain information that is
privileged and confidential. If you are not the intended recipient, any
dissemination, distribution, or copying is strictly prohibited. If you
received this email message in error, please immediately notify the
sender by replying to this email message or by telephone and delete the
message from your email system. Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.