How can I run a single step in parallel in multiple servers?
![]()
Jojie Valiente (30●2●14●17)
| asked May 07 '13, 6:46 a.m.
edited May 09 '13, 5:21 p.m. by Spencer Murata (2.3k●11●59●71) Hi, I have a single step that I want to run in multiple application servers. I was able to do this by using a proper selector and setting the 'Broadcast' property to 'Yes' but the problem is that when the step is running in all the servers (i.e. Server 1, Server 2 and Server 3) its running in sequence (it will run first in Server 1 then Server 2 then Server 3) which impact our deployment timeline. Is there a way that this step will run in parallel in all the intended servers?
Cheers, Jojie |
3 answers
![]()
Spencer Murata (2.3k●11●59●71)
| answered May 09 '13, 5:20 p.m.
FORUM MODERATOR / JAZZ DEVELOPER edited May 09 '13, 5:21 p.m.
The broadcast step should be threadable, but you have to specify it to be threaded. If you select broadcast on the step but leave the thread value at No then the step will be broadcast serially. That is the default behavior, but if you flip thread to Yes, then the step should broadcast in parallel, which I believe is what you want.
If you have broadcast AND thread set to Yes and its still running serially on the various broadcast servers, then something else is going on and you probably need a PMR.
~Spencer
|
![]()
the broadcast threaded step is likely the way to go. If you have a process you wanted to put into a BF library, and run that library on all 3 servers at the same time, then the 3 steps with the 3 selectors method might work best (each step inlining the specific library). But if you can craft a selector to select all 3 of your target servers, then a broadcast threaded step is the way I would do it.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.