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 » Cannot put Message in Cluster Queue

Post new topic  Reply to topic
 Cannot put Message in Cluster Queue « View previous topic :: View next topic » 
Author Message
mqwbi
PostPosted: Sun Jan 04, 2009 11:42 pm    Post subject: Cannot put Message in Cluster Queue Reply with quote

Novice

Joined: 15 Dec 2008
Posts: 24

I am using WMQ 6 on AIX 5.3

I have a queue manager cluster with QueuemanagerA and QueueManagerB. I want to put messages in to a cluster queue 'testQ' on QueueManagerA and get the same messages from QueuemanagerA. I am using amqsput and amqsget. I am unable to do it.

I tried logging in as mqm and fire amqsput from /usr/mqm/sam/bin . This is the command i fired

./amqsput testQ QueueManagerA.

It is not working. These are the list of commands that it is displaying

Sample AMQSPUT0 start
target queue is testQ
MQOPEN ened with reason code 2085
unable to open queue for output
Sample AMQSPUT0 end


The channels are working fine.
Can you please tell, what is wrong?

Thank You
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Jan 05, 2009 12:24 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

your cluster definitions and / or cluster queue definitions are not correct. please show us a dis clusqmgr and dis clusq output from A and B queuemanagers.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
mqwbi
PostPosted: Mon Jan 05, 2009 1:23 am    Post subject: Reply with quote

Novice

Joined: 15 Dec 2008
Posts: 24

My two queue managers EAIGT1 and EAIGT2 are located in different machines. Here is the cluster definition and cluster queue definition.

Thank You


Details from the first Queue Manager in the first machine


DISPLAY CLUSQMGR(EAIGT1);

CLUSQMGR(EAIGT1) ALTDATE(2009-01-05)
ALTTIME(11.46.48 ) BATCHHB(0)
BATCHINT(0) BATCHSZ(50)
CHANNEL(TO.EAIGT1) CLUSDATE(2009-01-05)
CLUSTER(EAIGWMBCLUS) CLUSTIME(11.46.48 )
CLWLPRTY(0) CLWLRANK(0)
CLWLWGHT(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(172.30.50.101(5114))
CONVERT(NO) DEFTYPE(CLUSRCVR)
DESCR(TCP Cluster-Receiver channel for queue manager EAIGT1 on NODE1)
DISCINT(6000) HBINT(300)
KAINT(AUTO) LOCLADDR( )
LONGRTY(999999999) LONGTMR(1200)
MAXMSGL(4194304) MCANAME( )
MCATYPE(THREAD) MCAUSER( )
MODENAME( ) MRDATA( )
MREXIT( ) MRRTY(10)
MRTMR(1000) MSGDATA( )
MSGEXIT( ) NETPRTY(0)
NPMSPEED(FAST) PASSWORD( )
PUTAUT(DEF) QMID(EAIGT1_2008-12-29_19.28.54)
QMTYPE(REPOS) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SEQWRAP(999999999)
SHORTRTY(10) SHORTTMR(60)
SSLCAUTH(REQUIRED) SSLCIPH( )
SSLPEER( ) STATUS(INACTIVE)
SUSPEND(NO) TPNAME( )
TRPTYPE(TCP) USERID( )


DISPLAY QCLUSTER(testQ);

AMQ8409: Display Queue details.
QUEUE(TESTQ) TYPE(QCLUSTER)
ALTDATE(2009-01-05) ALTTIME(12.52.11)
CLUSDATE(2009-01-05) CLUSTER(EAIGWMBCLUS)
CLUSQMGR(EAIGT1) CLUSQT(QLOCAL)
CLUSTIME(12.52.11) CLWLPRTY(0)
CLWLRANK(0) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DESCR( ) PUT(ENABLED)
QMID(EAIGT1_2008-12-29_19.28.54)



==============================================================================

Details from the second Queue Manager in the second machine


DISPLAY CLUSQMGR(EAIGT2);
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(EAIGT2) ALTDATE(2009-01-05)
ALTTIME(11.53.01) BATCHHB(0)
BATCHINT(0) BATCHSZ(50)
CHANNEL(TO.EAIGT2) CLUSDATE(2009-01-05)
CLUSTER(EAIGWMBCLUS) CLUSTIME(11.53.01)
CLWLPRTY(0) CLWLRANK(0)
CLWLWGHT(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(172.30.50.107(5115))
CONVERT(NO) DEFTYPE(CLUSRCVR)
DESCR(TCP Cluster-Receiver channel for queue manager EAIGT2 on NODE2)
DISCINT(6000) HBINT(300)
KAINT(AUTO) LOCLADDR( )
LONGRTY(999999999) LONGTMR(1200)
MAXMSGL(4194304) MCANAME( )
MCATYPE(THREAD) MCAUSER( )
MODENAME( ) MRDATA( )
MREXIT( ) MRRTY(10)
MRTMR(1000) MSGDATA( )
MSGEXIT( ) NETPRTY(0)
NPMSPEED(FAST) PASSWORD( )
PUTAUT(DEF) QMID(EAIGT2_2008-12-31_18.27.07)
QMTYPE(REPOS) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SEQWRAP(999999999)
SHORTRTY(10) SHORTTMR(60)
SSLCAUTH(REQUIRED) SSLCIPH( )
SSLPEER( ) STATUS(INACTIVE)
SUSPEND(NO) TPNAME( )
TRPTYPE(TCP) USERID( )


DISPLAY QCLUSTER(testQ);

AMQ8409: Display Queue details.
QUEUE(TESTQ) TYPE(QCLUSTER)
ALTDATE(2009-01-05) ALTTIME(12.52.11)
CLUSDATE(2009-01-05) CLUSTER(EAIGWMBCLUS)
CLUSQMGR(EAIGT1) CLUSQT(QLOCAL)
CLUSTIME(12.51.54) CLWLPRTY(0)
CLWLRANK(0) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DESCR( ) PUT(ENABLED)
QMID(EAIGT1_2008-12-29_19.28.54)
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 05, 2009 2:42 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I'm guessing you're running the command from the T2 queue manager, which doesn't host the queue?

Which (if any) of these queue managers is a full repository? What version of WMQ is this, on what platform(s)? Are you certain that the channels are running properly, especially if the queue managers are partial repositories?

Try putting a message using RFHUtil rather than amqsput.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jan 05, 2009 4:07 am    Post subject: Re: Cannot put Message in Cluster Queue Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

mqwbi wrote:
...I tried logging in as mqm and fire amqsput from /usr/mqm/sam/bin . This is the command i fired

./amqsput testQ QueueManagerA

It is not working...


I am assuming that you transposed QueueManagerA in the line above for the correct queue manager name of EAIGT1? As you got correct output from the sample program.

However, I'm not surprised you got an error as:

Quote:
AMQ8409: Display Queue details.
QUEUE(TESTQ) TYPE(QCLUSTER)


Good old case sensitivity bit you here.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.


Last edited by exerk on Mon Jan 05, 2009 4:32 am; edited 1 time in total
Back to top
View user's profile Send private message
mqwbi
PostPosted: Mon Jan 05, 2009 4:09 am    Post subject: Reply with quote

Novice

Joined: 15 Dec 2008
Posts: 24

@vitor

Code:
I'm guessing you're running the command from the T2 queue manager, which doesn't host the queue?


I am running the command on the queue manager which hosts the cluster queue.
Code:

Which (if any) of these queue managers is a full repository? What version of WMQ is this, on what platform(s)? Are you certain that the channels are running properly, especially if the queue managers are partial repositories?


Both the queue managers are Full repositories.
I am running WMQ 6.0.2.5 on AIX 5.3
Channels are running properly. When i try to start these channels, it gives me a message "Channel 'TO.EAIGT1' is in use". I believe this means that channels are already running.

Can you please help?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 05, 2009 4:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqwbi wrote:
I am running the command on the queue manager which hosts the cluster queue.


Then it's a straightforward spelling/case problem. If the queue is local then clustering won't come into play.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Jan 05, 2009 11:49 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Quote:
Channels are running properly. When i try to start these channels, it gives me a message "Channel 'TO.EAIGT1' is in use". I believe this means that channels are already running.


if you want to verify that a channel is running, check the channel status. an error message during channel start like "channel is in use" may also be true for a channel in binding state or maybe another situation <> running.

but as stated before, your problem seems to be the case sensitivity, testQ is not equal to TESTQ
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Cannot put Message in Cluster Queue
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.