Deploy Action to Subset of Relevant Computers of a Group

I’m having the following requirement from a Client:

  • There is an Automatic Group of computers
  • When I Deploy an action on that Group I want it to be “Running” for up to 2 Machines (Per-Action)

I’ve asked the Customer if we can Tag those machine randomly - he said that it will not be possible

He wants a solution that will select those machine automatically when the Action is started.

Is it possible to so that with Client Relevance in the Task itself?

No, it’s not. Relevance runs on each computer, and no client is aware of what any other client is doing.

The “free” way to handle a case like this is to use the “stagger start time” option when issuing the action. Each client will wait a random amount of time before starting the action. This doesn’t guarantee any particular number of machines running at once, but it does randomly spread the action over time.

For more precise timing you could look into the Server Automation capabilities, but I believe your runbook would need to specify which two machines to run for each batch.

Otherwise you’d need to write your own script to hand the actioning, sending the action to two computers at a time and waiting for them to post results before moving on to the next.

Yea it’s what I thought so.
Just wanted to raise this issue and get feedback :slight_smile:
Thanks!

1 Like