1
# This config file adds/overrides PowerNap Monitor configuration for Eucalyptus
2
# compatibility with PowerNap, due to recent PowerNap changes.
5
# By default, it is assumed that PowerNap runs with PowerSave (ACTION_METHOD=0)
6
# (see /etc/powernap/config). This monitor will prevent PowerNap from entering
7
# into a lower power state by tracking the KVM Process. This means that when
8
# no instances are being run in the Node Controller, PowerNap will enter into
10
# Setting this monitor will allow PowerNap to save power even though Eucalyptus
11
# has not been configured to do so. This Monitor is enabled by default and should
12
# be used in the following situations:
13
# - When running SCHEDPOLICY=ROUNDROBIN, Eucalyptus will not manage PowerNap
14
# at all. PowerNap will, however, enter into PowerSaving mode when no KVM
15
# Processes are found in the NC.
16
# - When running SCHEDPOLICY=POWERSAVE, Eucalyptus will decide when to put a
17
# NC to sleep by sending the powernap-now command. This command will execute
18
# the defined ACTION_METHOD, however, having this Monitor enabled, it will
19
# ensure that the NC enters to a PowerSave mode when there are no instances
20
# running. PowerNap and Eucalyptus in convination will manage the power saving
24
# When PowerNap ACTION_METHOD is configured to Suspend/Poweroff/Best-Effor
25
# (ACTION_METHOD equal to 1, 2, 3 or 4), this Process Monitor will prevent PowerNap
26
# from executing an action when it shouldn't.
27
# This monitor MUST be used to prevent PowerNap from taking the NC to a sleep
28
# state in the following situations:
29
# - When running SCHEDPOLICY=ROUNDROBIN, Eucalyptus does not manage power saving
30
# and adding this monitor will prevent PowerNap to put NC's to sleep even when
31
# there are instances running.
32
# - When running SCHEDPOLICY=POWERSAVE, Eucalyptus automatically manage when the
33
# NC's are put to sleep (sending powernap-now command). This monitor prevents
34
# PowerNap from putting NC's to sleep when Eucalyptus hasn't decided to so. This
35
# allows Eucalyptus to solely manage the POWERSAVE feature without the manual
36
# intervention of PowerNap.
37
#euca-init = "^/sbin/init"