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 » Channel starting n stopping sometimes

Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6  Next
 Channel starting n stopping sometimes « View previous topic :: View next topic » 
Author Message
sairam
PostPosted: Mon Mar 14, 2005 4:17 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Hi,

Thank you, I checked the error logs on the SDR side and i dont see any errors but on the RCVR side , i see "AMQ9526:mESSAGE SEQUENCE NUMBER ERROR FOR CHANNEL ch_name" and then the AMQ9999 error follows up.The local and remote QMs do not agree on the next sequence number.

Should i use the RESET CHANNEL again.
pls advise, i am going crazy with this bug since 10 days.
Back to top
View user's profile Send private message
sairam
PostPosted: Mon Mar 14, 2005 4:21 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Do i need to reset channel on both SDR and RCVR sides??

The RCVR side doesn't have the sample RPM installed so there are no amqsput and amqsget under /opt/mqm/samp/bin directory, so unable to test the message flow between sender and receiver.

However i checked the SDR locally and message flows.

Pls advise.is there any other way to test msg flow between 2 workstations.
Back to top
View user's profile Send private message
JT
PostPosted: Mon Mar 14, 2005 6:13 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Use the RFHUTILC utility from the IH03 supportpac. Put a message to the remote queue from the sending queue manager with a Report option of COA. The receiving queue manager will generate a report message, confirming the arrival of the message, that will be delivered to the sending queue manager through the opposing pair of sender/receiver channels. You'll also need to specify a ReplyToQ/ReplyToQmgr.
Back to top
View user's profile Send private message
sairam
PostPosted: Mon Mar 14, 2005 7:17 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Hi,

I dont have a SVR channel, as far as i know i have only a SDR channel and a RCVR channel on different boxes. There is a trigger defined of type FIRST on the local queue which is an XMITQ on SDR side. I read from somewhere in the documentation that we should not define TRPTYPE FIRST for XMITQ. is that right?

The HBINT is 300 and DISCINT is 6000. If there are no messages then the channel closes and if the next message arrives, it triggers the channel from what i observe. Then CH state is RUNNING.
Back to top
View user's profile Send private message
csmith28
PostPosted: Mon Mar 14, 2005 7:34 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

TRIGTYPE(FIRST) is fine for an XMITQ.

If the Remote Receiver MCA and the local SDR MCA do not agree on the CUSEQNO then yes you should reset the SDR Channel before you try to start it.

I am still wondering where the discrepency is coming from though. When your SDR channel goes INACTIVE the CURSEQNO on the RCVR Channel should not change.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
sairam
PostPosted: Mon Mar 14, 2005 7:43 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

ooh ok so TRIGTYPE(FIRST) is good then.

I have reset the channel seq no to 1 last week before your tips about resolving the channel, clearing the local queue and resetting the channel. Did that cause any mishap?

I also checked the last committed UOW on both sides and the numbers are same, there are no INDOUBT on either side too.

Do / Can i restart the QM?[ i think it is not advisable, i will loose all msgs, am i right??] I have also created a dead letter queue and altered the Q Managers on both ends (SDR and RCVR) to use this as the dead letter queue instead of the SYSTEM DEAD LETTER QUeue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 14, 2005 8:35 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

Changing of the DLQ I believe only becomes effective after qmgr restart ?

Enjoy
Back to top
View user's profile Send private message Send e-mail
sairam
PostPosted: Mon Mar 14, 2005 8:49 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

If I restart a QM, then would it cause any other side effects. Should i stop and start the QM on both SDR and RCVR?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 15, 2005 9:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

On reboot of the qmgr all non persistent messages are lost. But then why should you care? If you needed them they should have been persistent right ?
Back to top
View user's profile Send private message Send e-mail
sairam
PostPosted: Tue Mar 15, 2005 9:19 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Should i stop and start the QM's on both the sides?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 15, 2005 9:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

Only if you changed qmgr properties on both sides.
Back to top
View user's profile Send private message Send e-mail
sairam
PostPosted: Tue Mar 15, 2005 10:17 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

I get an output when issued command "endmqm QMGR_NAME" as follows:

"Quiesce request accepted.The queue manager will stop when all outstanding work is complete".

After a while i did "endmqlsr" and then did a "ps -ef|grep QM_Name" and now i dont see any QMGR process running other than the grep QM_Name.

I am doing the same on the RCVR side too since i modified the DLQ there too to use my defined DLQ instead of system DLQ.

When i do a "ps -ef|grep QM_RCVR", i get a lot of processes listed which are amqzxma0, amqzlaa0,amqhasmx, amqzllp0 etc..

What are all these...??? OK i found that and killed the processes.

So now stopped the QMGRS on both ends.
Back to top
View user's profile Send private message
sairam
PostPosted: Tue Mar 15, 2005 12:19 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Folks i have successfully restarted QMs on both sides. I started the listener on the RCVR side using " runmqlsr -t tcp -m QMGR". i did a "ps -ef|grep runmqlsr" on the RCVR side.. and i see 5 runmqlsr listed there with different process ids. Whats that???

When i put a msg on Remote queue, and check the CURDEPTH of the local queue(on the RCVR side), then it should increment, right from 0 to 1??I put 2 msgs and it went from 0 to 2. When an app put 3 msgs, i immediately checked and it was not showing the increment for CURDEPTH attribute.

I checked the error log on the RCVR side and it again gives me the seq no error (AMQ9526 and AMQ9999). But then i checked the channel status and it is RUNNING.

So does this mean the issue was fixed or ???
pls advise.

For the QL of Remote Server ---> IPPROCS went from 0 to 2, OPPROCS is 1 and CURDEPTH is 0 now.
Back to top
View user's profile Send private message
sairam
PostPosted: Tue Mar 15, 2005 2:04 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Folks,

As of now i am thinking this got fixed, would get back if any issues are there for this subject.

Earlier suggestions from Smith and now from restarting the QMs on both sides, i think it is behaving good so far.Thank you.
Back to top
View user's profile Send private message
sairam
PostPosted: Wed Mar 16, 2005 11:40 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Folks,

I have already a channel defined with a SDR and RCVR. On the SDR, there is a transmission queue defined and QR defined.

Now if i were to create a QR(Remote q) on the RCVR side, should /can i use the same channel (and name) to make it bidirectional??

Please advise.Can i define the XMITQ as local queue on the RCVR side too since that is needed for me to define a remote queue.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6  Next Page 4 of 6

MQSeries.net Forum Index » General IBM MQ Support » Channel starting n stopping sometimes
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.