Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- startingNumberOfVMs = 1;
- maxNumberofVMs = 25;
- pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);
- pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second));
- $TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
- - We start with 1 VM
- - The maximum VM we can reach to is 25
- - PendingTasks = the number of running VM. Let say 10 VMs are running.
- - In last 180 seconds, if the percent of pending task < 70% (that means < 3 VM running?) then ...
Add Comment
Please, Sign In to add comment