What is the best way to check the staus of a TIBCO iProcess Engine (Oracle) system after swsvrmgr status -v command times out?

What is the best way to check the staus of a TIBCO iProcess Engine (Oracle) system after swsvrmgr status -v command times out?

book

Article ID: KB0085088

calendar_today

Updated On:

Products Versions
TIBCO iProcess Engine (Oracle) -
Not Applicable -

Description

Resolution:
Description:
============
Using the TIBCO iProcess Engine (Oracle) (iPE) command "swsvrmgr status -v" it is possible that the message "Timed out waiting for system status response." will be displayed. This may result in an incomplete list of process information being displayed.

Environment:
==========
All supported versions of TIBCO iProcess Engine (Oracle).
All supported operating systems.
All supported versions of Oracle database.

Symptoms:
=========
Invoking the command "swsvrmgr status -v" may result in a partial list of iPE processes being displayed and  the message, "Timed out waiting for system status response." before the command prompt is displayed.

Cause:
=====
The iProcess Engine will use Oracle events when the “swsvrmgr status –v” command is issued. This is reliant on the Oracle database process emn0 functioning correctly. The emn0 process may have stability issues and it has been known to hang for several moments while it attempts to relay an event. The swsvrmgr will only wait 30 seconds for a response from the sentinels before giving up and displays the ‘timeout’ message.

This event issue is most likely the cause of the timeout and may also be seen when other iPE commands are issued such as swstop. The action continues, e.g. stopping the processes, but the response is not received.

Resolution:
=========
To identify the true state of a system and number of utilities should be used to capture information.

It would be best to use a combination of:
swsvrmgr status –v
swadm show_processes
ps –ef |grep $SWDIR

The swadm command will access the database directly and not use the Oracle events mechanism. However, the sentinels update the table it reads and they reply on processes to send an Oracle event for the table to be updated. Therefore, if there is a problem with Oracle events there is a chance the table may be out of sync with the processes running in the operating system.

Using the operating system “ps” command will show the actual processes running at the time the command is run and can be used to compare against the output from the other commands above.

Issue/Introduction

What is the best way to check the staus of a TIBCO iProcess Engine (Oracle) system after swsvrmgr status -v command times out?