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 IndexClusteringCLUSSDR channels do not auto start

Post new topicReply to topic
CLUSSDR channels do not auto start View previous topic :: View next topic
Author Message
pmarie
PostPosted: Wed Feb 28, 2018 7:39 am Post subject: CLUSSDR channels do not auto start Reply with quote

Novice

Joined: 04 Apr 2002
Posts: 12

I created an MQ configuration on two servers with the following features:
- A first queue manager "QM1" has an active instance on server 1 and a standbye one on server 2.
- A second queue manager "QM2" has an active instance on server 2 and a standbye one on server 1.
- The two queue managers are part of a common cluster "MQCLUST" and both are full repositories for the cluster.
- The NFS file system used by the two queue managers is hosted by a third server.

I defined cluster channels the following way:
For QM1:
define channel(MQCLUST.QM1) chltype(CLUSRCVR) trptype(TCP) conname('192.168.179.136(1415), 192.168.179.137(1415)') cluster(MQCLUST)
define channel(MQCLUST.QM2) chltype(CLUSSDR) trptype(TCP) conname('192.168.179.137(1416), 192.168.179.136(1416)') cluster(MQCLUST)
For QM2:
define channel(MQCLUST.QM2) chltype(CLUSRCVR) trptype(TCP) conname('192.168.179.137(1416), 192.168.179.136(1416)') cluster(MQCLUST)
define channel(MQCLUST.QM1) chltype(CLUSSDR) trptype(TCP) conname('192.168.179.136(1415), 192.168.179.137(1415)') cluster(MQCLUST)

This configuration works file, except that:
- When starting the two queue managers, the cluster sender channels do not start automatically (it has to be started manually).
- When one of the queue managers fails over to the other server, the cluster sender channel of the failed over QM does not start automatically either (it has to be started manually).

From the documentation, my understanding is that the cluster sender channels should start automatically.

Any idea about what to do to have them start automatically?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 28, 2018 7:58 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25168
Location: Ohio, USA

What do the queue manager logs have to say about what's happening?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pmarie
PostPosted: Wed Feb 28, 2018 12:19 pm Post subject: Reply with quote

Novice

Joined: 04 Apr 2002
Posts: 12

Nothing about an attempt to start the cluster sender channel.
The only messages with some relation with channels are:

AMQ5022: The channel initiator has started. ProcessId(32847)
The channel initiator process has started.

AMQ8024: IBM MQ channel initiator started.
The channel initiator for queue SYSTEM.CHANNEL.INITQ has been started.

They show up both when starting the queue manager and when failing it over to the other instance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 28, 2018 12:24 pm Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25168
Location: Ohio, USA

So:

- all you do to start the channels is a START CHANNEL command?
- If you send a message to a cluster queue hosted on the other queue it sits in the SCTQ?
- What OS is this?
- What MQ version is this?

Consider (for experimental purposes) setting up a non-clustered sender/receiver pair between QM1 & QM2; see if that auto starts when a message tries to traverse it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pmarie
PostPosted: Thu Mar 01, 2018 12:56 am Post subject: Reply with quote

Novice

Joined: 04 Apr 2002
Posts: 12

Hi Vitor,

It works as expected now (the channels do start automatically when needed). I did many things to repair it and do not know exactly which one actually fixed the issue:
- I refreshed the cluster on the two queue managers:
ALTER QMGR REPOS('')
REFRESH CLUSTER(MQCLUST) REPOS(YES)
ALTER QMGR REPOS(MQCLUST)
- I removed all the messages from the 'SYSTEM.CLUSTER.TRANSMIT.QUEUE' queues of the two queue managers.
- I rebooted the two servers hosting the queue managers.
- I put some messages into a cluster queue using 'amqsput'.

The system is Linux RH 7.2 64-bit and the level of MQ is 9.0.0.2.

Thank you for your help!

Patrick
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 01, 2018 4:14 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8128
Location: US: west coast, almost. Otherwise, enroute.

pmarie wrote:
I did many things to repair it and do not know exactly which one actually fixed the issue

Too bad you don't know exactly what fixed this. A missed opportunity.

Next time you attempt to diagnose and fix something, try only ONE thing and document what you tried and the result. Repeat. Repeat until the issue is resolved. Then you can share your knowledge with others here ans elsewhere.
_________________
I would tell you a UDP joke, but you might not get it.
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Mar 09, 2018 4:18 pm Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2050

pmarie wrote:
Nothing about an attempt to start the cluster sender channel.

Then it is reasonable to deduce that no attempt was made to start the cluster sender channel.

A cluster sender channel will start when a message is added to the SCTQ or whatever your CTQ is called.

Did one of your apps add a message? If not, then this might explain why the qmgr / channel initiator did not try to start the channel.

It's my best guess.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexClusteringCLUSSDR channels do not auto start
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.