Check T/EC server

iKnow-IT banner

Check the T/EC environment:

Check if T/EC is running:

# . /etc/Tivoli/ wstatesvr
The Tivoli Enterprise Console Server is running.

Check the reception log:

Check if the events are arriving in the reception log and if they will be processed:

# wtdumprl –o DESC | more

 If you see in the output “WAITING” or “QUEUED” events, than there is in the most situations an event storm or a database connection problem.

Check after a few minutes again with “wtdumprl –o DESC| more” if the oldest “WAITING” or “QUEUED” events is now “PROCESSED” event. (Look to the timestamp).

If there is no new “PROCESSED” event, check the database connection (see below).

Check the Database connection:

#wlookup -ar RIM
tec 1428076629.1.630#RIM::RDBMS_Interface#

 If the output of wrimtest looks like this then release the session with “x”

 #wrimtest -l tec
Resource Type : RIM
Resource Label : tec
Host Name : <hostname>
User Name : <db user>
Vendor : DB2
Database : tec
Database Home : /opt/IBM/db2/V95WSE/FP4
Server ID : tcpip
Instance Home : /<home dir>
Instance Name : <instance name>
Opening Regular Session...Session Opened
RIM : Enter Option >x
Releasing session

 If the output of wrimtest is not “Session Opened” than take contact with the DB2 database group.

Check The AIX error report

If there is a problem and you don’t know what?
Check the AIX error repport:

# errpt | more

And in detailed list:

# errpt –a | more


T/EC core process log files

TEC core process write in the following files (standard located in /tmp)
-rw-r--r-- 1 root tivadm 0 Mar 17 15:20 tec_dispatch
-rw-r--r-- 1 root tivadm 0 Mar 17 15:20 tec_master
-rw-r--r-- 1 root tivadm 0 Mar 17 15:20 tec_reception
-rw-r--r-- 1 root tivadm 0 Mar 17 15:20 tec_rule
-rw-r--r-- 1 root tivadm 0 Mar 17 15:20 tec_task

If there are problems with one ore more processes than, look in detail what is written in these files. If TEC is running properly the file are 0 bytes.