Overview
One thing that all large implementations have in common is the need for some tasks that need to be done periodically. These may be tasks that are by design or due to some data corruption. We often are unable to get the fix from the vendor or the fix may require an upgrade which may not be feasible.
In previous versions we had Schedule Agents that could do this. In new versions we have a slightly more elaborate construct called jobs.
Our Approach
At Oracular we employ a slightly more sophisticated approach to this problem. We implement a concept of an application monitor that detects abnormalities and fixes them. While it executes using the provided constructs of schedule agent or jobs - it provides a more abstract view of this problem and thus the overall solution is easier to manage.
We view the problem of an application monitor as follows:
- Detect the issues of a certain type. Return several rows where each row indicates the issue of this type. This can take the form of a MOCA command or a SQL statement.
- For each of the rows returned from above execute MOCA code to fix that situation.
- Optionally log in dlytrn
- Optionally raise EMS alerts.
- Provide a front-end so that advanced end users can manipulate these monitors or add new ones.
- Run these as a single job so that overall job schedule is not adversely impacted.
- Publish progress to the job monitoring framework developed by oracular
Our Solution
We define this monitors in a new table:
Column | Description |
Monitor Id | A unique name for each monitor |
Description | Detailed information about it |
Sort# | To control the sequence in which the monitors run |
Time Since Last Run | Second since last run. The monitor job could be running every minute but one of the monitors may be defined to run every 10 minutes. |
Enabled? | 1/0 to enable it |
Detect Command | 4000 byte field to provide MOCA or SQL to detect an abnormality. Return n rows. |
Fix Command | 4000 byte field to provide MOCA to fix 1 row. Executes for each row returned from detect command |
Log Dlytrn? | 1/0 to log dlytrn for each row returned by detect command |
Raise EMS on Fail? | 1/0. if enabled, raise EMS alert if fix command fails |
The solution is in the form of a single MOCA command called "run ossi monitor" that is scheduled using MOCA jobs. We define this to execute every minute and to control individual jobs that we may want to run less frequently - we use "Time Since Last Run" concept. Users can maintain this information themselves using a simple front-end application:
All WMS implementations have some of these jobs that are developed over time to handle typical issues. For example:
- We often have orphan invmov records. We can detect such records and then delete them.
- Sometimes we have pckmov records that do not have corresponding pckwrk records. We can detect the condition and kill such pckmov records
- It is common to have situations where rescod is not cleared. We can detect the condition and run "deallocate resource location" for these locations.
- It is often a requirement to reprocess downloads in EERR status.
- We can create a monitor to detect some abnormal condition and send an email to a set of users with results of the query. This solution is easier than creating an EMS alert since it does not require a rollout process and the email can include detailed results.
Conclusion
Some sort of an application monitor is a common requirement in any large system and RedPrairie/JDA WMS is no exception. Above design pattern can be implemented generally for any large system. It looks at the problem abstractly and provides a solution that is simple to implement, maintain, and manage.
Thanks for sharing the information
ReplyDeleteApplication Monitor Maintenance screen is available for all verson of JDA client application or do we need to create DDA based on this Job ? Like how will we enable it to system? Help would be appriciated
It is a suggestion for a customization. This is not available in standard JDA
DeleteInvesting online has been a main source of income, that's why knowledge plays a very important role in humanity, you don't need to over work yourself for money.All you need is the right information, and you could build your own wealth from the comfort of your home! Binary trading is dependent on timely signals, assets or controlled strategies which when mastered increases chance of winning up to 90%-100% with trading. It’s possible to earn $10,000 to $20,000 trading weekly-monthly in cryptocurrency(bitcoin) investment, just get in contact with Mr Bernie Doran my broker. I had almost given up on everything about binary trading and never getting my lost funds back, till i met with him, with his help and guidance now i have my lost funds back to my bank account, gained more profit and I can now trade successfully with his profitable strategies and signals! Reach out to him on Gmail ( BERNIEDORANSIGNALS@GMAIL.COM ) , or his WhatsApp : +1(424)285-0682 for inquiries
DeleteI lost my job few months back and there was no way to get income for my family, things was so tough and I couldn’t get anything for my children, not until a met a recommendation on a page writing how Mr Bernie Doran helped a lady in getting a huge amount of profit every 6 working days on trading with his management
Thanks for sharing this content, very excellent article. Best customized erp software development company in chennai.
ReplyDeleteDiscover expert guides, news, and articles on Blockchain wallets and cryptocurrency, offering valuable insights and step-by-step tutorials. Why can't Withdraw Fund from Blockchain Wallet, How to Transfer Money from Blockchain to Binance? visit us
ReplyDeleteDiscover expert guides, news, and articles on Blockchain wallets and cryptocurrency. How to Withdraw Funds from Strike App?, How to Transfer Money from Strike to Cash App Visit us
ReplyDeletemoney getting stuck in DeFi Wallet often occurs due to network congestion, insufficient gas fees, or incorrect transaction details. Double-check the recipient address, ensure adequate gas fees are set, and verify network status. Use blockchain explorers to track pending transactions. If unresolved, consult your wallet’s support team or community forums for assistance to recover your funds efficiently.
ReplyDelete