PowerNap Improvements for Oneiric

Registered by Andres Rodriguez

The purpose of the blueprint is to discuss the new features and left over work items. The new features include:

Second Stage action when on PowerSave mode.
Support port-ranges for network monitors.
Change the polling monitoring system to event based system.
Client/Server approach to deploy PowerNap datacenter wide.
Server ARP monitoring for automatic wakeup.
Integration with other projects, such as OpenStack, Landscape etc.

Blueprint information

Status:
Complete
Approver:
Robbie Williamson
Priority:
High
Drafter:
Andres Rodriguez
Direction:
Approved
Assignee:
Ubuntu Server
Definition:
Approved
Series goal:
Accepted for precise
Implementation:
Implemented
Milestone target:
None
Started by
Andres Rodriguez
Completed by
Dave Walker

Related branches

Sprints

Whiteboard

Work items:
[andreserl] Second Stage action when on PowerSave mode: DONE
[andreserl] Support port-ranges for network monitors: DONE
[andreserl] Create/Draft Client/Server approach with a powerwaked server daemon: DONE
[andreserl] Add support to powerwaked (Server) for an approach of adding different Monitors: DONE
[andreserl] Create ARPMonitor for powerwaked: DONE
[andreserl] Use powerwake code to generalize registration of client machines: DONE
[andreserl] Provide API like approach to do operations in the server: DONE
[andreserl] Add auto-publishing support for PowerNap clients via avahi: POSTPONED
[andreserl] Add component listener to Powerwaked for auto-registration (Server): POSTPONED
[andreserl] Provide powerwaked to check status of registered machines in a Client/Server fashion: POSTPONED
[andreserl] Provide powernapd with a method to listen messages from powerwaked: POSTPONED
[andreserl] Change polling monitoring system to event based system: POSTPONED
[andreserl] Look into integration of PowerNap/PowerWaked with NUT: POSTPONED
[andreserl] Investigate/add additional pm-powersave tweaks from ARM: POSTPONED
[andreserl] Define sample profiles i.e. For Web Servers, File Servers, Laptops etc: POSTPONED
[andreserl] Perhaps involve someone on the Desktop Team to improve powernap for Laptops: POSTPONED
[andreserl] Add pre-start to upstart job to determine whether machine is virtual or physical (facter virtual): POSTPONED

Thoughts:

Add debconf question to set initial configuration values. (absent_seconds, action, logging, etc)
Add configuration tool that easily enables profiles/different configurations
Add different warn methods

Previous work items:
Contribute action scripts to pm-utils: POSTPONED
Provide logging for new files added: POSTPONED
Investigate how the ProcessMonitor can tap into Upstart for monitoring instead of looking in the process table: POSTPONED
Investigate [1] for ProcessMonitor aswell: POSTPONED

== Agenda ==

 * Second Stage action when on PowerSave mode.
 * Support port-ranges for network monitors.
 * Change the polling monitoring system to event based system.
 * Client/Server approach to deploy PowerNap datacenter wide.
 * Server ARP monitoring for automatic wakeup.
 * Integration with other projects, such as OpenStack, Landscape etc.

== Session Notes ==

 - Messaging
   - Stomp
   - mcollective + rabbitmq
   - Messaging
   - Corosync

== Actions ==

Investigate/add additional pm-powersave tweaks for ARM: TODO (Not needed)
Define sample profiles i.e. For Web Servers, File Servers, Laptops etc: TODO
Perhaps involve someone on the Desktop Team to improve powernap for Laptops: TODOj
Policy.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.