[ovirt-users] Re: power_saving schedule not powering off hosts
On April 5, 2020 6:39:43 PM GMT+03:00, Martin Sivak wrote: >On Sun, Apr 5, 2020 at 4:07 PM Strahil Nikolov >wrote: >> >> On April 5, 2020 3:36:42 PM GMT+03:00, "Maton, Brett" > 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@ovirt.org >> To unsubscribe send an email to users-le...@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/RRXKMRBMIME2KMBWW7GAA3DJBG5S24G7/ Damn, That's a great feature ! Best Regards, Strahil Nikolov ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/KJMGOVCHPPF2QPMGNDNDRUJHR2OY4ZW3/
[ovirt-users] Re: power_saving schedule not powering off hosts
I'd seen "EnableAutomaticHostPowerManagement" mentioned in the docs, but couldn't find it. I eventually figured out that I had to add the two attributes that Liran mentioned to the policy using the '+' button in the "Scheduling Policy" editor. On Sun, 5 Apr 2020 at 14:58, Liran Rotenberg wrote: > > > On Sun, Apr 5, 2020 at 3:38 PM Maton, Brett > 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? >> > Hi, > It should. In the cluster scheduling policy, did you set > "EnableAutomaticHostPowerManagement" to be true? and setting > "HostsInReserve" to a number of reserve idle hosts is also set? > > Regards, > Liran. > >> ___ >> Users mailing list -- users@ovirt.org >> To unsubscribe send an email to users-le...@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/TCILNZPXCNSJGOAOCB6G6I2SOQS43JVH/ >> > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/5KKUEYK34KYAI5NOEZFX56PKCREJRSQB/
[ovirt-users] Re: power_saving schedule not powering off hosts
On Sun, Apr 5, 2020 at 4:07 PM Strahil Nikolov wrote: > > On April 5, 2020 3:36:42 PM GMT+03:00, "Maton, Brett" > 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@ovirt.org > To unsubscribe send an email to users-le...@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/RRXKMRBMIME2KMBWW7GAA3DJBG5S24G7/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/7ZLKFEPYMPJWX3M7XSCI73CGHIU3Q7CH/
[ovirt-users] Re: power_saving schedule not powering off hosts
On April 5, 2020 3:36:42 PM GMT+03:00, "Maton, Brett" 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... 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@ovirt.org To unsubscribe send an email to users-le...@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/RRXKMRBMIME2KMBWW7GAA3DJBG5S24G7/
[ovirt-users] Re: power_saving schedule not powering off hosts
On Sun, Apr 5, 2020 at 3:38 PM Maton, Brett 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? > Hi, It should. In the cluster scheduling policy, did you set "EnableAutomaticHostPowerManagement" to be true? and setting "HostsInReserve" to a number of reserve idle hosts is also set? Regards, Liran. > ___ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@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/TCILNZPXCNSJGOAOCB6G6I2SOQS43JVH/ > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/KJE4MQVKIN55IG6S2LSDC3FRLNPTLQIP/