Author |
Message
|
Ratan |
Posted: Thu Oct 10, 2002 8:46 am Post subject: load balancing between 2 systems |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I have 2 workflow systems in a group and want to load balance between these 2 systems.
I am using a Webclient and my process has all automatic activities and single user. When I define the user I have to specify the 'preferred system' for the user. From what I understand from this, The user always connects to his preferred system if it is available.
So how do I achieve load balancing, if the users requests always go to his preferred system. Am I missing something?
-Thnx Laze |
|
Back to top |
|
 |
amittalekar |
Posted: Thu Oct 10, 2002 10:20 am Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
If u want to load balance the system then share WF Server's in the cluster.
What is following statement mean?
"When I define the user I have to specify the 'preferred system' for the user." . Is it mandatory to specify preferred system? |
|
Back to top |
|
 |
jmac |
Posted: Thu Oct 10, 2002 11:00 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I always specify the primary system for the Preferred System when I define a user. I don't think that the value specified here matters, however, I can not find anything meaningful in the doc regarding the use of "Preferred System" _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Thu Oct 10, 2002 11:19 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Hi Guys,
Thanks for the reply.
Quote: |
If u want to load balance the system then share WF Server's in the cluster. |
amit, Of course I will have them int he cluster ( additional system is/has to be defined in the same cluster.
Quote: |
"When I define the user I have to specify the 'preferred system' for the user." . Is it mandatory to specify preferred system? |
amit, As far as I know yes. From workflow buildtime it is mandatory, havent tried to directly import the FDL with out the preferred system parameter though.
Quote: |
I always specify the primary system for the Preferred System when I define a user. I don't think that the value specified here matters, however, I can not find anything meaningful in the doc regarding the use of "Preferred System" |
John, I remeber to have read some where in the docs that to have an activity run on a perticular system, assign the activity to a user with that preferred system. This way activity will always be executed on that system only.
I am afraid if that is true, I wont be able to load balance with a single user.
Waiting for your feedback.
-Thnx Laze. |
|
Back to top |
|
 |
jmac |
Posted: Thu Oct 10, 2002 12:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
It is my opinion that the loadbalancing will take place regardless of the preferred system specification. I think this is one you should post to the IBM newsgroup so that we can get one of the Developers to answer . _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kriersd |
Posted: Tue Oct 15, 2002 4:56 pm Post subject: |
|
|
 Master
Joined: 22 Jul 2002 Posts: 209 Location: IA, USA
|
My understanding of clustering is as such:
When a message is put to a cluster queue MQ decides which QM will receive the message. I had the understanding that this was done all under the covers.
Now having multiple systems (fmcsys) under one group (fmcgrp) brings up a few questions. Since the data base is under the group level and all systems under the group will use that data base, does it really matter which system services the request? My understanding is that any system could service the request, although the user may be restrected to the use of one system to communicate with Workflow.
EXAMPLE: Let's say we have a process with one manual activity. This activity is assigned to two people userA and userB. UserA is defined under FMCSYS1 and userB is defined under FMCSYS2. Both userA and userB can logon and work the item in their worklist. Now userA will logon through the FMCSYS1 system and userB will logon to through the FMCYS2 system. Each can see and work the exact same workitem since both system use one data base.
Can someone verify that my understanding is correct? _________________ Dave Krier
IBM WebSphere MQ Workflow V3.4 Solution Designer |
|
Back to top |
|
 |
jmac |
Posted: Wed Oct 16, 2002 5:31 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Dave:
What you say is what I believe to be true. However, not knowing all of the internals I can not say that this is how it is. I think a lot of the confusion in this area comes from the fact that there are items in Buildtime that are not currently exploited, (i.e. the association of a person with a System/SysGrp). At this point I don't think that there is any locking of a user to a particular system. If I add a person and indicate SYS2, that person can still logon on SYS1. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
leongor |
Posted: Wed Oct 16, 2002 6:27 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
You can export your user definitions to FDL and then
erase the system value. Should work. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
Ratan |
Posted: Wed Oct 16, 2002 8:19 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
Now having multiple systems (fmcsys) under one group (fmcgrp) brings up a few questions. Since the data base is under the group level and all systems under the group will use that data base, does it really matter which system services the request? My understanding is that any system could service the request, although the user may be restrected to the use of one system to communicate with Workflow.
|
Kriersd, You are right about what ever you said. I know that the request is going to be served on either of the systems. But what happens when a user with preferred system SYSTEM_A puts requests. his requests are always going to be served by SYSTEM_A. But I dont want this to happen, I want his everyother request to be served by an other system.
leongor, I will try what you said.
I did not test any of this. am a little busy. will test different scenarios and let you guys know.
-Thanks Laze |
|
Back to top |
|
 |
|