leeej84 / -DEPRECATED---PowerScale

Replacement for Citrix SmartScale
GNU General Public License v3.0
16 stars 11 forks source link

When Scaling a large number of VM's there can be a large drop on threshold changes #17

Closed leeej84 closed 4 years ago

leeej84 commented 4 years ago

400 machines with a target of 60. Where the load index creeps below the threshold PowerScale will attempt to shutdown 340 machines!

Request to have a scaling down bu a specific number to control the drop and its not like a "cliff"

Pistoletjes commented 4 years ago

Perhaps it's fairly easy to limit the power actions 'per cycle', similar to the 'simultaneous actions' that can be configured on the hosting connection in Studio?

leeej84 commented 4 years ago

I can factor a value in so it scales down only by a certain number or percentage. No problems.

leeej84 commented 4 years ago

I've added two new parameters in the config, as well as alot of other features:

$restrcitiveScaleDown = $true
$restrcitiveScaleDownFactor = 1

You can turn on the restriction and then specify the number of machine you want to scale down by.

If you do place it in please do it in a test area.

leeej84 commented 4 years ago

Confirmed as working in testing, closing the issue.