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 » Clustering » Gateway Queue Manager

Post new topic  Reply to topic Goto page 1, 2  Next
 Gateway Queue Manager « View previous topic :: View next topic » 
Author Message
ranganathan
PostPosted: Fri Aug 08, 2008 4:16 am    Post subject: Gateway Queue Manager Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Here is the requirement.. i want a QM to be a part of 2 clusters - WINDOWS, LINUX. (each has 2 FR's of its own)

From the clustering manual..I found out a similar scenario (Advanced Task-7) but in that the queue managers are FR's for both the clusters with a namelist defined - REPOSNL('X').

I do not want the new QM to be a FR, i just want it to act like a gateway between the two clusters..i can define a namelist in that QM with the cluster names.. but
* What about the CLUSSDR, CLUSRCVR... ?
* If the CONNAME uses IP addresses, how will it establish connection to the FR's on either side?

Please let me know if im missing anything here...
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Aug 08, 2008 4:32 am    Post subject: Re: Gateway Queue Manager Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

ranganathan wrote:
...I do not want the new QM to be a FR, i just want it to act like a gateway between the two clusters..i can define a namelist in that QM with the cluster names.. but
* What about the CLUSSDR, CLUSRCVR... ?
* If the CONNAME uses IP addresses, how will it establish connection to the FR's on either side?...


There is no need for a namelist, just define a CLUSRCVR for each of the clusters you wish the queue manager to participate in (for a total of two CLUSRCVR's), then define a CLUSSDR (using the CONNAME values in the FR CLUSRCVR definition) to one of the FR's in each cluster (for a total of two CLUSSDR's).
_________________
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.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Aug 08, 2008 5:00 am    Post subject: Re: Gateway Queue Manager Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

ranganathan wrote:
Here is the requirement.. i want a QM to be a part of 2 clusters - WINDOWS, LINUX. (each has 2 FR's of its own)

Hopefully you have 2 clusters for business reasons and these 2 cluster names are names you chose for some odd reason. You do know that QMs running on Windows servers and QMs running on Linux servers can all be in the same MQ cluster, right?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sami.stormrage
PostPosted: Fri Aug 08, 2008 5:04 am    Post subject: Reply with quote

Disciple

Joined: 25 Jun 2008
Posts: 186
Location: Bangalore/Singapore

Add the CLUSNL( ) to the channels aswell.
_________________
*forgetting everything *
Back to top
View user's profile Send private message Yahoo Messenger
exerk
PostPosted: Fri Aug 08, 2008 5:05 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

sami.stormrage wrote:
Add the CLUSNL( ) to the channels aswell.


Why?
_________________
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.
Back to top
View user's profile Send private message
sami.stormrage
PostPosted: Fri Aug 08, 2008 5:20 am    Post subject: Reply with quote

Disciple

Joined: 25 Jun 2008
Posts: 186
Location: Bangalore/Singapore

To reduce the number of manually defined cluster channels.
To help with cluster workload management.
_________________
*forgetting everything *
Back to top
View user's profile Send private message Yahoo Messenger
ranganathan
PostPosted: Fri Aug 08, 2008 5:24 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

@exerk
Thanks for the reply.. but we cannot follow the format TO.QMNAME for CLUSRCVR isnt it ?! (as there will be another channel existing by the same name pointing to one FR)

I followed as per your suggestion.. i named one of the CLUSRCVR as 'LIN.WIN'.. now the 2 CLUSSDR's are running but one CLUSRCVR is in inactive state..and i couldnt see the new QM's info in the LINUX cluster but WINDOWS cluster is perfectly fine..

I think this QM is not added to the LINUX cluster (but CLUSSDR running)... Is something wrong ?!


Last edited by ranganathan on Fri Aug 08, 2008 5:30 am; edited 1 time in total
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Aug 08, 2008 5:28 am    Post subject: Re: Gateway Queue Manager Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

PeterPotkay wrote:
ranganathan wrote:
Here is the requirement.. i want a QM to be a part of 2 clusters - WINDOWS, LINUX. (each has 2 FR's of its own)

Hopefully you have 2 clusters for business reasons and these 2 cluster names are names you chose for some odd reason. You do know that QMs running on Windows servers and QMs running on Linux servers can all be in the same MQ cluster, right?


Yes Peter.. i do know heterogenous cluster environment i tried the same and it worked well.

This is just an R&D work im doing with MQ trial version.

Just experimenting with the concepts i learnt.. and came across this scenario...
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Aug 08, 2008 5:36 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

ranganathan wrote:
Thanks for the reply.. but we cannot follow the format TO.QMNAME for CLUSRCVR isnt it ?! (as there will be another channel existing by the same name pointing to one FR)


That's why we use the cluster channel naming convention of TO.queuemanagername.clustername

TO.QM1.LINUX
TO.QM2.LINUX
TO.QM1.WINDOWS
TO.QM2.WINDOWS

Cluster the TO.*.LINUX channels to the LINUX cluster, and the TO.*.WINDOWS channels to the WINDOWS cluster.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Aug 08, 2008 5:36 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

sami.stormrage wrote:
To reduce the number of manually defined cluster channels. To help with cluster workload management.


I think you need to read up on when manually defined CLUSSDR's are used within a cluster.

ranganathan wrote:
Thanks for the reply.. but we cannot follow the format TO.QMNAME for CLUSRCVR isnt it ?! (as there will be another channel existing by the same name pointing to one FR)


Including the cluster name within the channel definition is one method of removing this issue.

ranganathan wrote:
I followed as per your suggestion.. i named one of the CLUSRCVR as 'LIN.WIN'.. now the 2 CLUSSDR's are running but one CLUSRCVR is in inactive state..and i couldnt see the new QM's info in the LINUX cluster but WINDOWS cluster is perfectly fine..

I think this QM is not added to the LINUX cluster (but CLUSSDR running)... Is something wrong ?!


Check your CLUSRCVR definition for the Linux cluster, and error logs for the FR in the same.
_________________
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.
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Aug 08, 2008 7:09 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

@Peter..
Thanks... I recreated the channels with the correct naming convention...


exerk wrote:


Check your CLUSRCVR definition for the Linux cluster, and error logs for the FR in the same.


yes.. the problem was with the CLUSRCVR in the FR. Now all are up and running.

If i want a queue to be visible across the clusters.. i need an alias queue pointing to the other QM. (as per clustering manual)

On the bridge QM i defined the following aliases...

DEF QA(MYALIAS1) TARGQ(LQ.WIN) CLUSTER(LINUX) DEFBIND(NOTFIXED)
DEF QA(MYALIAS2) TARGQ(LQ.LIN) CLUSTER(WINDOWS) DEFBIND(NOTFIXED)

I am able to put messages to MYALIAS1, (i.e to LQ.WIN) Now the problem is, the target queue LQ.LIN is not resolved. AMQ4197

Note: I am able to see all the FR's from the bridge QM. It means that it should resolve LQ.LIN which is in LINUX cluster isnt it ?!
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Aug 08, 2008 7:11 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

sami.stormrage wrote:
Add the CLUSNL( ) to the channels aswell.


I already tried it sami.. it was not working...
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Aug 08, 2008 7:21 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

ranganathan wrote:
...I am able to put messages to MYALIAS1, (i.e to LQ.WIN) Now the problem is, the target queue LQ.LIN is not resolved. AMQ4197

Note: I am able to see all the FR's from the bridge QM. It means that it should resolve LQ.LIN which is in LINUX cluster isnt it ?!


Try opening the queue across the cluster from your Bridge queue manager, as I have found that usually resolves the problem
_________________
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.
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Aug 08, 2008 8:03 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

exerk wrote:


Try opening the queue across the cluster from your Bridge queue manager, as I have found that usually resolves the problem



YES... that worked

I tried to put across the cluster initially msg's were stuck in the DLQ of the bridge QM.. and then i found that i've created an alias queue with DEFBIND(OPEN) since by default it creates like this...
i changed it to NOTFIXED.... it worked

Thanks everyone for all your help... i really appreciate it..
Back to top
View user's profile Send private message
sami.stormrage
PostPosted: Fri Aug 08, 2008 8:29 am    Post subject: Reply with quote

Disciple

Joined: 25 Jun 2008
Posts: 186
Location: Bangalore/Singapore

@Orignal post
Ur requirement seems to be unclear. If you say a FR, it ought to be part of both the clusters.(atleast thats what the definition of FR says).
_________________
*forgetting everything *
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » Clustering » Gateway Queue Manager
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.