Author |
Message
|
Ratan |
Posted: Mon Dec 09, 2002 10:34 am Post subject: Scheduling Server |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Can anyone explain to me how scheduling server works for multiple systems(message flow)? Or point me to a doc about showing how it works.
-Thanx Laze |
|
Back to top |
|
 |
jmac |
Posted: Mon Dec 09, 2002 3:28 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
Could you expand a little bit on what you are asking... I really don't understand. What do you mean by message flow? _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Vladimir |
Posted: Tue Dec 10, 2002 9:00 pm Post subject: |
|
|
 Acolyte
Joined: 14 Nov 2002 Posts: 73 Location: USA, CA, Bay Area
|
Hi,
I actually have the same question. I will try to clarify it here if Laze do not mind
1. In "fmcg0a01.pdf" (Concepts & Architecture) I saw:
Quote: |
Within an MQ Workflow system group, only one Cleanup Server and
one Scheduling Server are needed to serve all the systems within this
system group |
Question: does it mean that I can't define and start Scheduling Server on each system I have? (How to read the document: needed or can be defined)
If so:
2. why do we have these servers defined under the system and not system group then?
3. How to send ActivityExpired message to the system where it is served if I use activity invocation load-balancing (UPES queue is shared in the cluster). Any documentation on recommended or possible WF load-balancing would be really helpful here.  |
|
Back to top |
|
 |
Ratan |
Posted: Tue Dec 10, 2002 9:38 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I was working on a sheduling server issue, and wanted to know how a scheduling server works for an additional system in the group. I dont think it is useful to me anymore. Thanks John.
-Laze |
|
Back to top |
|
 |
Ratan |
Posted: Tue Dec 10, 2002 9:53 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
Question: does it mean that I can't define and start Scheduling Server on each system I have? (How to read the document: needed or can be defined)
|
Yes, You cant define more than one scheduling and cleanup servers for a systemgroup.
Quote: |
2. why do we have these servers defined under the system and not system group then?
|
May be because Servers belong to a system, group sets all the properties for all your systems. You can decide at your system level , if you want to inherit the group level properties or change them. Cleanup and Sheduling server belong to the "Primary System".
Quote: |
3. How to send ActivityExpired message to the system where it is served if I use activity invocation load-balancing (UPES queue is shared in the cluster). Any documentation on recommended or possible WF load-balancing would be really helpful here.
|
THis question is not clear. You said your UPES queue is clustered and you are talking about another System.
-Laze |
|
Back to top |
|
 |
Vladimir |
Posted: Tue Dec 10, 2002 10:29 pm Post subject: |
|
|
 Acolyte
Joined: 14 Nov 2002 Posts: 73 Location: USA, CA, Bay Area
|
lazeknight wrote: |
THis question is not clear. |
I will try to explain what I meant.
I have:
- FMCSYS1 with FMCQM1 and FMCSYS2 with FMCQM2 in one FMCGRP
- UPES1 defined and running on FMCSYS1, pointing to the shared queue MYQ (FMCQM1)
- UPES2 defined and running on FMCSYS2, pointing to the shared queue MYQ (FMCQM2)
I assume that FMCSYS1 is Primary System and it has Scheduling server running.
If I start a new process on FMCSYS1, PES on FMCSYS1 will send messages into MYQ queue.
MQ will round-robin messages from MYQ between FMCQM1 and FMCQM2.
UPESes on both systems will start correspondent programs defined in ActivityImplinvoke messages upon arrival.
UPESes will reply to FMC.FMCGRP.EXE.XML (we are using WF XML API)
Is everything set up correctly in the design above for load balancing?
If so - I do not understand how to handle ActivityExpired message then:
If Scheduling server is running on FMCSYS1 and one of the activities that are running on FMCSYS2 is expired (based on the RT DB) - Scheduling server must send ActivityExpired message exactly to FMCQM2, but it can't - because it knows UPES queue name only and it doesn't know where ActivityImplinvoke message was delivered to start this activity.  |
|
Back to top |
|
 |
Ratan |
Posted: Tue Dec 10, 2002 10:54 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
MQ will round-robin messages from MYQ between FMCQM1 and FMCQM2.
|
This is not true.
Since you have a local MYQ, MQ will not roundrobin your messages.
-Laze |
|
Back to top |
|
 |
Vladimir |
Posted: Tue Dec 10, 2002 11:42 pm Post subject: |
|
|
 Acolyte
Joined: 14 Nov 2002 Posts: 73 Location: USA, CA, Bay Area
|
lazeknight wrote: |
Since you have a local MYQ, MQ will not roundrobin your messages. |
Yes... You are right...
And if we define aliases and share them in the cluster?
Or the only one solution is to create Queue manager aliases and share them? |
|
Back to top |
|
 |
fbaril3 |
Posted: Wed Dec 11, 2002 12:09 am Post subject: |
|
|
Acolyte
Joined: 14 Jun 2002 Posts: 53
|
Hello,
In the "Concept and architecture" manual, you will find the following :
"Within an MQ Workflow system group, only one Cleanup Server and
one Scheduling Server are needed to serve all the systems within this
system group."
But I agree, it may look strange that in a the Buildtime GUI the cleanup and scheduling server is situated under the system.
I had already asked for it and jmac had answered :
see URL :
http://www.mqseries.net/phpBB2/viewtopic.php?t=4416&highlight=scheduling+cleanup+system
Hope this Help .. |
|
Back to top |
|
 |
Vladimir |
Posted: Wed Dec 11, 2002 12:35 am Post subject: |
|
|
 Acolyte
Joined: 14 Nov 2002 Posts: 73 Location: USA, CA, Bay Area
|
I see... Build-time presents not in a good way then... And manuals are not full about this... As usual...  |
|
Back to top |
|
 |
jmac |
Posted: Wed Dec 11, 2002 3:28 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Quote: |
Question: does it mean that I can't define and start Scheduling Server on each system I have? (How to read the document: needed or can be defined) |
You can only define a single scheduling server and cleanup server per system group... attached to the "Primary" (first defined) System in that system group.
Quote: |
2. why do we have these servers defined under the system and not system group then? |
My guess is that it was part of a future enhancement that has not yet arrived. IMO, A lot of things in the Network tab are not fully implemented.
Quote: |
3. How to send ActivityExpired message to the system where it is served if I use activity invocation load-balancing (UPES queue is shared in the cluster). Any documentation on recommended or possible WF load-balancing would be really helpful here.  |
I don't know how this works, but I've not heard of any problems with this. Since my knowledge of MQ Series is weak, I can only guess. My guess is that this works somehow through the magic of clustering. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|