Scripts for "Proactive DPM"

Version 1

     

    This posting includes 2 scripts that can be used to make DPM

    "proactive" with respect to an expected steep increase in VM demand.

     

     

    1) powerOnHosts.pl

    2) enableDPM.pl

     

     

    Both scripts have perldoc information documenting their usage parameters.

     

     

    The script powerOnHosts.pl changes cluster settings to engender

    recommendations to power on all standby hosts and then to disable DPM

    so that those hosts are kept on while demand remains low.  As an example

    use case, this script can be scheduled (e.g., with schtasks) to run each

    weekday morning at (say) 8am to power-on hosts in advance of an expected

    steep increase in VM demand at 9am.  The script enableDPM.pl re-enables

    DPM to run in its normal reactive behavior.  As an example use case, this

    script can be scheduled to run each weekday morning at (say) 10am (after

    full VM demand load is expected to be established) or at (say) 5pm (after

    full VM demand load is likely to diminish) to resume normal DPM operation.

    Note that using the 10am scheduling strategy for enableDPM.pl allows

    power to be saved when the expected steep increase in demand does not

    actually occur (e.g., a work holiday).