ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » ensuring the channel is running

Post new topic  Reply to topic
 ensuring the channel is running « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Fri Feb 24, 2006 6:16 am    Post subject: ensuring the channel is running Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 24, 2006 6:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=27470
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
KramJ
PostPosted: Fri Feb 24, 2006 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
KramJ
PostPosted: Fri Feb 24, 2006 6:32 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 24, 2006 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jeevan
PostPosted: Sun Feb 26, 2006 5:43 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Sun Feb 26, 2006 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
jeevan
PostPosted: Mon Feb 27, 2006 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 27, 2006 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 27, 2006 9:23 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jeevan
PostPosted: Mon Feb 27, 2006 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 27, 2006 10:49 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Feb 27, 2006 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Mon Feb 27, 2006 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » ensuring the channel is running
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.