This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Reusing reference HA architecture for Centralised Controller plus worker per client setup

Screenshot 2021-08-02 at 10.37.53 AM


Please see attached. Trying to setup Stackstorm for a IT service provider with multiple clients, We are looking at having a Centralised controller system for service provider to administer automations, look at history etc ( Running st2web, mongodb, nginx) and each client worker will run (action runner , and other st2 processes )

The problem we found is - st2schedular , st2action runner processes rely on Mongodb to fetch ,schedule and run automations, so client 2 worker ends up running automations scheduled by client 1 worker schedular process. Is it possible to control this with any configuration changes? Are there any IT service providers using this kind of setup in multi client environment? Any inputs would be highly beneficial Thank you very much.

What you are looking for is “action affinity” (eg. the ability to declare which worker runs a specific action/workflow/set of actions). This is not present in ST2 today. It’s one of the 4 big architectural issues present in ST2 today.