Wednesday, May 29, 2013

TIBCO EMS Troubleshooting-How to find the receiver for a given EMS Durable ?

To find which host is acting as receiver for a given durable, we need to find the details of the durable.
show durable <durableName>

Get the consumer ID and do ‘show consumer <consumerID>’
Get the connection ID and find the host which is having this connection ID. There is no command to check this so we first get all the connections on the server using ‘show connections’ and try to serch connection ID.

tcp://test-uatems01:7222> show durable CDS2BBG_sit1_1
 Durable Subscriber:  CDS2BBG_sit1_1
 Subscription name:   CDS2BBG_sit1_1
 Client ID:
 Topic:               test.cib.tro.reportserver.event
 Type:                dynamic
 Status:              online
 Username:            cib_1tro_test
 Consumer ID:         577675554
 No Local:            disabled

tcp://test-uatems01:7222> show consumer 577675554
 Consumer:                  id=577675554, user durable topic subscriber
 Connection:                id=23375853, started
 Session:                   id=429355973, acknowledgement: client acknowledge
 User name:                 "cib_1tro_test"
 Topic:                     test.cib.tro.reportserver.event
 Durable name:              "CDS2BBG_sit1_1"


To narrow down the list of connection , we can take only a subset of connection by filtering by user if we know the user.

show connections user=<userName>



No comments:

Post a Comment