~ubuntu-branches/ubuntu/saucy/eucalyptus/saucy

« back to all changes in this revision

Viewing changes to debian/powernap/eucalyptus.conf

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2011-03-17 15:23:36 UTC
  • Revision ID: james.westby@ubuntu.com-20110317152336-nuorzz5zx60klaq7
Tags: 2.0.1+bzr1256-0ubuntu3
* Separate admin tools from eucalyptus-common package(LP: #732082)
  - debian/control:
    + Add eucalyptus-admin-tools binary package.
    + Add missing Depends on python-psutil. (LP: #731672)
    + eucalyptus-cloud: Depends on eucalyptus-admin-tools.
  - debian/eucalyptus-admin-tools.install: Added.
  - debian/eucalyptus-common.install: Drop installation of admin tools.
* Switch to dh_python2 instead of python-central.
  - debian/control. Bump Depends on cdbs to (>= 0.4.90~); bump depends on
    python to (>= 2.6.6-3).
* Add powernap configs to leverage recent PowerNap changes (LP: #726769):
  - debian/powernap/eucalyptus.conf: Add config.
  - debian/eucalyptus-nc.install: Install config.
  - debian/eucalyptus-nc.links: Symlink to /etc/powernap/config.d/.
* debian/control: Change Recommends order of bittorrent to bittornado
  first. Allows demontion of bittorrent. (LP: #697753)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This config file adds/overrides PowerNap Monitor configuration for Eucalyptus
 
2
# compatibility with PowerNap, due to recent PowerNap changes.
 
3
 
 
4
[ProcessMonitor]
 
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
 
9
# a lower Power State.
 
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
 
21
#    features.
 
22
euca-kvm = "kvm"
 
23
 
 
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"