Author |
Message
|
jeevan |
Posted: Fri Feb 24, 2006 6:16 am Post subject: ensuring the channel is running |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I realised that channel can be pinged from MQSC environment. right? Can we ping a channel from os level too? Also svrconn can not be pinged right?
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 24, 2006 6:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
KramJ |
Posted: Fri Feb 24, 2006 6:25 am Post subject: |
|
|
Voyager
Joined: 09 Jan 2006 Posts: 80 Location: Atlanta
|
You can "PING CHANNEL" from the sender or server ends of a channel pair only. It tests the channel configuration. You can test the network by doing a TCP/IP ping to the server. |
|
Back to top |
|
 |
KramJ |
Posted: Fri Feb 24, 2006 6:32 am Post subject: |
|
|
Voyager
Joined: 09 Jan 2006 Posts: 80 Location: Atlanta
|
Also, you can't ping a running channel, only one that hasn't been started. To ensure that a channel is running, display chstatus. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 24, 2006 12:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And realize that inactive is a good status and will not show up when doing dis chs(*).  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Sun Feb 26, 2006 5:43 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Quote: |
You can "PING CHANNEL" from the sender or server ends of a channel pair only.
When I tried to ping a server channel, it gave error message that this invalid. So my question was that can not server channel be pinged?
|
|
|
Back to top |
|
 |
wschutz |
Posted: Sun Feb 26, 2006 6:08 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
This command can only be used for channels with a ChannelType value of MQCHT_SENDER, MQCHT_SERVER, or MQCHT_CLUSSDR.
|
So...do you mean SERVER (SVR) or SVRCONN channel? You can ping SVR channels, you can not ping svrconn channels.... _________________ -wayne |
|
Back to top |
|
 |
jeevan |
Posted: Mon Feb 27, 2006 9:18 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
It is SVRCONN channel. In my understading until some one ( client applicaiton) makes a request to connect, we do not know whether every thing is running. Am I right? I want to be sure that my setup is correct before the app guy comes and asks me there is a problem.
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 27, 2006 9:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The easist way to find out of a SVRCONN is correct is to try and use it. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 27, 2006 9:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
OK so check the following:
A) your channel is inactive (does not appear in the dis chs(mychan*) list )
B) the MQ Listener is running on the right port and the right authority (mqm group user)
C) you do have a valid usrid in the SVRCONN MCAUSER or some kind of security exit.
D) you have tried the connection yourself and were able to connect.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Mon Feb 27, 2006 10:29 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Quote: |
you have tried the connection yourself and were able to connect.
|
How can I tes this? is there any utility included in mq?
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 27, 2006 10:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jeevan wrote: |
How can I tes this? is there any utility included in mq? |
If there is, I'm sure it's plainly documented. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Mon Feb 27, 2006 10:51 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
jeevan wrote: |
How can I tes this? is there any utility included in mq?
thanks |
Various ways
amqsputc (you need to set mqserver variable)
rfhutilc |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 27, 2006 10:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
amq..conx?, amq*bsgc...
You just have to try to connect using the channel you created.
You can also write your own utility...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|