IBM Support

MQ agent disconnecting from server every 10 minutes

Technical Blog Post


Abstract

MQ agent disconnecting from server every 10 minutes

Body

This is something happening quite often and so I'm reporting here a solution.

Basically the problem is that the MQ agent keeps disconnecting from the TEMS every 10 minutes.
Symptoms can be seen in RAS1 log as:

(5C157B79.007A-7:kraarreg.cpp,1087,"ConnectToProxy") Successfully connected to CMS HUB_TEMS using ip.pipe:#1.2.3.4[1918]

... 10 minutes...
(5C157DD1.0002-C:kdcc1sr.c,485,"rpc__sar") Connection failure: "ip.pipe:#1.2.3.4:1918", 1C010001:1DE00045, 0, 5(2), FFFF/1, D140831.1:1.1.1.13, tms_ctbs630fp2:d3232a
(5C157DD1.0004-C:kraarreg.cpp,1793,"LookupAndRegisterWithProxy") Unable to connect to broker at ip.pipe:TEMS: status=0, "success", ncs/KDC1_STC_OK
(5C157DD1.0006-C:kraaulog.cpp,756,"IRA_OutputLogMsg") Connecting to CMS HUB_TEMS
(5C157DD1.0007-C:kraarreg.cpp,1087,"ConnectToProxy") Successfully connected to CMS HUB_TEMS using ip.pipe:#1.2.3.4[1918]

Also in the operational log you can see:

12/16/18 06:08:57 KMQMI125I System host1, QMgr QMGR1, initialization completed.
12/16/18 06:08:57 KMQMI187I Agent Successfully Connected to the server (HUB_TEMS)
12/16/18 06:08:58 KMQMI197I QMgr command server is available.
12/16/18 06:18:57 KMQMI187I Agent Disconnected from the server (HUB_TEMS)
12/16/18 06:18:57 KMQMI187I Agent Successfully Reconnected to the server (HUB_TEMS)
12/16/18 06:28:57 KMQMI187I Agent Disconnected from the server (HUB_TEMS)
12/16/18 06:28:57 KMQMI187I Agent Successfully Reconnected to the server (HUB_TEMS)

 

When this happens I suggest setting the AGENT NAME in the cfg file of the MQ agent itself to the name of the monitored queue manager.

So add:

SET AGENT NAME(QMGR1)

to the <hostname>_mq_<qmgr>.cfg in <ITMHome>/config dir.

Then restart the MQ agent to make the changes effective.

 

Hope this helps

Walter


 

 

 

 

 

Tutorials Point

 

Subscribe and follow us for all the latest information directly on your social feeds:

 

 

image

 

image

 

image

 

 

  

Check out all our other posts and updates:

Academy Blogs:https://goo.gl/U7cYYY
Academy Videos:https://goo.gl/TLfMoF
Academy Google+:https://goo.gl/HnTs0w
Academy Twitter :https://goo.gl/AhR8CL


image

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

UID

ibm11085343