x
login Signup

How to spin up a new Resource VM and Assign a Task to it in the same Process?

If I have a Process that begins by spinning up Several VM's, I would like to use them within the same Process for 'Testing' purposes. How can I ensure that I assign these tasks these new resources and that the tasks will not hang nor become orphaned if the resources are not properly spun up?

avatar image By dnguyen 2k asked Nov 08 at 07:08 PM
more ▼
(comments are locked)
10|750 characters needed characters left

1 answer: sort voted first

The best way to assign Tasks to these newly spun up resources, would be to use a Resource Pool. A resource pool will dynamically assign a task to use the available resources that it contains. As long as there are other available resources in the pool, this will also ensure that the test or process will not Hang or get orphaned if a new machine is not brought up properly or goes down.

Because you can dynamically add Resources into a Resource pool, even during a App Process run, you can Add the Resource to the pool after the resource has been created or just before launching the 'Test' Tasks.

If there are no resources in the resource pool, the step will not have a resource available at the time it has been created, the system will set the step to 'waiting for resource'. In this case, you could add a Resource to the pool to continue the job. This will allow you to avoid Hanging jobs that are assigned to newly created resources.

avatar image By dnguyen 2k answered Nov 08 at 07:13 PM
more ▼
(comments are locked)
10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.