On April 5, 2020 6:39:43 PM GMT+03:00, Martin Sivak <msivak(a)redhat.com> wrote:
On Sun, Apr 5, 2020 at 4:07 PM Strahil Nikolov
<hunter86_bg(a)yahoo.com>
wrote:
>
> On April 5, 2020 3:36:42 PM GMT+03:00, "Maton, Brett"
<matonb(a)ltresources.co.uk> wrote:
> >I've got a cluster made up of five physical hosts, (Dells with idrac
7
> >management)
> >Power management / fencing enabled on all hosts.
> >
> >I've enabled the power_saving scheduling policy on my cluster, it's
> >migrated all the VM's to a couple of physical hosts so three are
> >sitting
> >idle with no VM's.
> >
> >Shouldn't the power_saving policy shut down the idle hosts?
>
> I don't think so...
On the contrary, it will shut down unneeded hosts indeed. But you have
to configure the fields Liran mentioned:
Edit the cluster, select scheduling policy tab and add two parameters
to your Power saving policy. One (EnableAutomaticHostPowerManagement)
enables the power cycling mechanism and the second one
(HostsInReserve) controls how many empty hosts are allowed to stay up.
When the not enough hosts are empty anymore a new one will be started.
Best regards
--
Martin Sivak
> But you can set a script to change the performance profile of tuned
daemon to adjust based on number of VMs.
>
> For example, if no VMs are running - tuned's power saving profile is
enabled, while if a VM is powered on (or migrated) - the script can
put a high performance peofile is enabled.
>
>
> Best Regards,
> Strahil Nikolov
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RRXKMRBMIME...
Damn,
That's a great feature !
Best Regards,
Strahil Nikolov