|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Cluster Challenge |
« View previous topic :: View next topic » |
Author |
Message
|
nyey |
Posted: Sun Aug 10, 2003 5:12 pm Post subject: Cluster Challenge |
|
|
Acolyte
Joined: 13 Mar 2003 Posts: 57
|
All:
I will have 4 machines & each has 1 Q mgrs. Two machines for a pair and 2 pairs form an active-active failover scenario.
I need them to
1. all 4 of them can work together
2. due to a special need, I need them to be in 2 separate clusters so that I can work with each of them individually.
3. The switching from 4 Qmgr cluster to 2 two Q mgr clusters or combining two clusters into one cluster can be done without shutting down the Q mgrs.
With this reqs, I have come up with this design: 3 clusters.
Two machine for clsuter A, the other 2 form cluster B. Both cluster then form cluster C.
When I neded I can 'turn on/off' cluster C to acomplish myswitching.
Questinos are:
1. Is this the best design?
2. How to implement this design?
Thanks for your input in advance.
Nyey |
|
Back to top |
|
 |
EddieA |
Posted: Sun Aug 10, 2003 5:55 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
There is no concept of 'turn on/off' cluster.
When defining a Local Queue (and other objects) you say which cluster(s) they belong to. Unless by turning on/off a cluster you are going to change all the Queue (and other object) definitions to change their Cluster dependencies.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
dsim |
Posted: Tue Aug 12, 2003 1:29 pm Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 67 Location: Toronto
|
Nyey,
First, it's hard to label a design 'the best' (see: well..., not bad, it's ok, pretty good and so on)
Second, from what you named reqs 1, 2 and 3 it is not clear what you are trying to achieve.
Then, supposing you have an application that should be able to put a message either to one of the specific four queues (each belonging to one of the four queue managers), or to any cluster queue in cluster A, B or to any cluster queue in cluster C, one way to accomplish this is:
- supposing the queue manager names are QM1, QM2 (belonging to clusters A and C) and QM3, QM4 (belonging to clusters B and C);
- supposing in each qm there is a local queue named Q
- in each qm you create aliases for Q as following:
A.QM1.Q shared in cluster A (alias for queue Q in qm QM1)
A.QM2.Q shared in cluster A (alias for queue Q in qm QM2)
B.QM3.Q shared in cluster B (alias for queue Q in qm QM3)
B.QM4.Q shared in cluster B (alias for queue Q in qm QM4)
C.QM1.Q shared in cluster C (alias for queue Q in qm QM1)
C.QM2.Q shared in cluster C (alias for queue Q in qm QM2)
C.QM3.Q shared in cluster C (alias for queue Q in qm QM3)
C.QM4.Q shared in cluster C (alias for queue Q in qm QM4)
(the above aliases allow you to access each queue individually in any of the three cluster contexts)
A.Q shared in cluster A (alias for queue Q in qm QM1)
A.Q shared in cluster A (alias for queue Q in qm QM2)
(the above aliases allow you to access queues in cluster A)
B.Q shared in cluster B (alias for queue Q in qm QM3)
B.Q shared in cluster B (alias for queue Q in qm QM4)
(the above aliases allow you to access queues in cluster B)
C.Q shared in cluster C (alias for queue Q in qm QM1)
C.Q shared in cluster C (alias for queue Q in qm QM2)
C.Q shared in cluster C (alias for queue Q in qm QM3)
C.Q shared in cluster C (alias for queue Q in qm QM4)
(the above aliases allow you to access queues in cluster C)
Hope it helps,
Dan |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|