How can I run a single step in parallel in multiple servers?
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
Comments
Hi Ryan,
Thanks for you prompt reply. The main reason why we are using a selector is that we can have a single step runs in multiple servers. Let's say that this step is to stop all apllication servers at the same time. It would be good if we can only have a single step that will do this task and this step just needs to run in all the application servers identified by the selector. Therefore, we dont need to create multiple instance of the same step. And the applicatin servers I'm referring to varies in each environment, some will have 3 app servers others will have 10 app servers hence we cannot create let's say 3 steps for envA and 10 steps for envB. Hope you understand what I'm after for.
Cheers,
Jojie