I would like to monitor with TSAM when a process fails.
Tuxedo 11gr! with TSAM on OEL
- System is up and running
- In TSAM console everything is green
- I kill some processes (kill -9) to simulate process failures
- tuxedo will restart the processes
- I expect that due to the fast restart in the TSAM console everything will stay green - which ich basically ok
What I want is that I can track these failures in some way. I played around with policies and alerts but so far I did not find the right way to monitor these event
Any hint is highly appreciated
A couple of things. First, you are probably aware that a kill -9 causes the process to exit without executing any exit handlers, thus Tuxedo doesn't know the process terminated. It won't be until the next BB scan that the dead process is detected and restarted.
Now on to your TSAM question/issue, I don't think TSAM 11gR1 has any means of alerting for server failures. The closest would be to enable service monitoring and catch any failed requests and report those as alerts. In TSAM12c we have integrated TSAM with Oracle Enterprise Manager, and OEM would allow you to alert on a server failure as a server is modeled as a target in OEM.
Alternatively, depending upon what you want to happen when a server fails, you could use the Tuxedo event broker and subscribe to the system events associated with a server dying and being restarted, but that would be outside TSAM, yet still allow you to take some action based upon those events occurring.
Oracle Tuxedo Chief Architect