Bug 678394 - RFE: Addition of Power Management to default DB
Summary: RFE: Addition of Power Management to default DB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-wallaby-base-db
Version: Development
Hardware: All
OS: All
high
high
Target Milestone: 2.0
: ---
Assignee: Robert Rati
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks: 674161 693778
TreeView+ depends on / blocked
 
Reported: 2011-02-17 19:22 UTC by Timothy St. Clair
Modified: 2012-03-01 11:02 UTC (History)
6 users (show)

Fixed In Version: condor-wallaby-base-db-1.7-2
Doc Type: Enhancement
Doc Text:
C: MRG Grid 2.0 includes a Power Management feature C: The user would have to manually configure wallaby to support Power Management C: The base database for wallaby now includes Power Management R: Users can easily configure Power Management through the remote configuration feature Release Note Entry: MRG Grid 2.0 now includes a Power Management feature, configurable manually via the wallaby component. Users can configure Power Management through the remote configuration feature.
Clone Of:
Environment:
Last Closed: 2011-06-23 15:37:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0889 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Grid 2.0 Release 2011-06-23 15:35:53 UTC

Description Timothy St. Clair 2011-02-17 19:22:39 UTC
RFE:
Need to add PowerManagement to the default DB outlined here:
http://www.cs.wisc.edu/condor/manual/v7.5/3_16Power_Management.html

The follow params should be added:

#################################
HIBERNATE_CHECK_INTERVAL = 300
#################################
# user should adjust TimeToWait on enabling feature
TimeToWait 	= (2 * $(HOUR)) 
ShouldHibernate = ( (KeyboardIdle > $(StartIdleTime)) \
                    && $(CPUIdle) \
                    && ($(StateTimer) > $(TimeToWait)) )
#################################
# see http://www.cs.wisc.edu/condor/manual/v7.5/3_3Configuration.html#param:Hibernate
# User should choose level of "hibernation" 
#################################
HIBERNATE = ifThenElse( $(ShouldHibernate), "RAM", "NONE" )

Comment 1 Timothy St. Clair 2011-02-17 19:23:56 UTC
Depends on ExecuteNode

Comment 3 Timothy St. Clair 2011-02-18 17:17:11 UTC
Conflicts with Scheduler, Collector, and Negotiator

Comment 4 Timothy St. Clair 2011-02-28 19:44:20 UTC
This still requires testing, but below are is the listing of updates: 

###################################################################
# PowerManagementNode
# Depends on: ExecuteNode
# Conflicts with: Scheduler, Collector, and Negotiator

#################################
HIBERNATE_CHECK_INTERVAL = 300
#################################
# user should adjust TimeToWait on enabling feature
TimeToWait  = (2 * $(HOUR)) 
ShouldHibernate = ( (KeyboardIdle > $(StartIdleTime)) \
                    && $(CPUIdle) \
                    && ($(StateTimer) > $(TimeToWait)) )
#################################
# see
http://www.cs.wisc.edu/condor/manual/v7.5/3_3Configuration.html#param:Hibernate
# User should choose level of "hibernation" 
#################################
HIBERNATE = ifThenElse( $(ShouldHibernate), "RAM", "NONE" ) 


###################################################################
# Feature: PowerManagementCollector
# Depends on: Collector
# Notes: Doesn't work with view collectors so per collector there needs
#        To be local OfflineLogs and a rooster.

#'d means defaulted in condor_config and should not be in the store. 
OFFLINE_LOG = $(LOG)/OfflineLog # use default

# Set to a value of 20-days being offline. 
OFFLINE_EXPIRE_ADS_AFTER = 28800 # allow setting show default

# The admin will likely want to craft this! 
UNHIBERNATE = MachineLastMatchTime =!= UNDEFINED # allow setting show defgault

#### Rooster Specific
ROOSTER = $(LIBEXEC)/condor_rooster.exe  # use default
DAEMON_LIST = $(DAEMON_LIST), ROOSTER # use default
ROOSTER_INTERVAL = 300 # allow setting show default
ROOSTER_UNHIBERNATE_RANK #allow setting (no default) 
ROOSTER_MAX_UNHIBERNATE = 0 # allow setting, no default
ROOSTER_UNHIBERNATE = Offline && Unhibernate # use default
ROOSTER_WAKEUP_CMD = "$(BIN)/condor_power -d -i" #use default

Comment 5 Timothy St. Clair 2011-03-07 16:27:37 UTC
###################################################################
# PowerManagementNode
# Depends on: ExecuteNode
# Conflicts with: Scheduler, Collector, and Negotiator
#################################
HIBERNATE_CHECK_INTERVAL = 300
#################################
# user should adjust TimeToWait on enabling feature
TimeToWait  = (2 * $(HOUR)) 
ShouldHibernate = ( (KeyboardIdle > $(StartIdleTime)) \
                    && $(CPUIdle) \
                    && ($(StateTimer) > $(TimeToWait)) )
#################################
# see
http://www.cs.wisc.edu/condor/manual/v7.5/3_3Configuration.html#param:Hibernate
# User should choose level of "hibernation" 
#################################
HIBERNATE = ifThenElse( $(ShouldHibernate), "RAM", "NONE" )


###################################################################
# Feature: Collector
# Update to include 
OFFLINE_LOG = $(SPOOL)/OfflineLog # use default

# make sure preen doesn't destroy
VALID_SPOOL_FILES = $(VALID_SPOOL_FILES), $(OFFLINE_LOG) # use default

# Set to a value of 20-days being offline. 
OFFLINE_EXPIRE_ADS_AFTER = 28800 # allow setting show default


###################################################################
# Feature: Rooster
# Depends on:
# Conflicts with: PowerManagementNode
# Notes: Doesn't work with view collectors so per collector there needs
#        To be local OfflineLogs and a rooster.

# The admin will likely want to craft this! 
UNHIBERNATE = MachineLastMatchTime =!= UNDEFINED # allow setting show defgault

#### Rooster Specific
ROOSTER = $(LIBEXEC)/condor_rooster.exe  # use default
DAEMON_LIST = $(DAEMON_LIST), ROOSTER # use default
ROOSTER_INTERVAL = 300 # allow setting show default
ROOSTER_MAX_UNHIBERNATE = 0 # allow setting, no default
ROOSTER_UNHIBERNATE_RANK #allow setting (no default) expression used when ROOSTER_MAX_UNHIBERNATE is set
ROOSTER_UNHIBERNATE = Offline && Unhibernate # use default
ROOSTER_WAKEUP_CMD = "$(BIN)/condor_power -d -i" #use default

Comment 6 Robert Rati 2011-03-08 22:45:33 UTC
Added in master.

Comment 7 Robert Rati 2011-03-15 17:24:35 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: MRG Grid 2.0 includes a Power Management feature
C: The user would have to manually configure wallaby to support Power Management
C: The base database for wallaby now includes Power Management
R: Users can easily configure Power Management through the remote configuration feature

Comment 9 Robert Rati 2011-05-11 13:13:24 UTC
Corrected feature names and include info:

###################################################################
# PowerManagementNode
# Includes on: ExecuteNode
# Conflicts with: Scheduler, Collector, and Negotiator
#################################
HIBERNATE_CHECK_INTERVAL = 300
#################################
# user should adjust TimeToWait on enabling feature
TimeToWait  = (2 * $(HOUR)) 
ShouldHibernate = ( (KeyboardIdle > $(StartIdleTime)) \
                    && $(CPUIdle) \
                    && ($(StateTimer) > $(TimeToWait)) )
#################################
# see
http://www.cs.wisc.edu/condor/manual/v7.5/3_3Configuration.html#param:Hibernate
# User should choose level of "hibernation" 
#################################
HIBERNATE = ifThenElse( $(ShouldHibernate), "RAM", "NONE" )


###################################################################
# Feature: PowerManagementCollector
# Include: Collector
# Update to include 
OFFLINE_LOG = $(SPOOL)/OfflineLog # use default

# make sure preen doesn't destroy
VALID_SPOOL_FILES = $(VALID_SPOOL_FILES), $(OFFLINE_LOG) # use default

# Set to a value of 20-days being offline. 
OFFLINE_EXPIRE_ADS_AFTER = 28800 # allow setting show default


###################################################################
# Feature: PowerManagementSubnetManager
# Depends on:
# Conflicts with: PowerManagementNode
# Notes: Doesn't work with view collectors so per collector there needs
#        To be local OfflineLogs and a rooster.

# The admin will likely want to craft this! 
UNHIBERNATE = MachineLastMatchTime =!= UNDEFINED # allow setting show defgault

#### Rooster Specific
ROOSTER = $(LIBEXEC)/condor_rooster.exe  # use default
DAEMON_LIST = $(DAEMON_LIST), ROOSTER # use default
ROOSTER_INTERVAL = 300 # allow setting show default
ROOSTER_MAX_UNHIBERNATE = 0 # allow setting, no default
ROOSTER_UNHIBERNATE_RANK #allow setting (no default) expression used when
ROOSTER_MAX_UNHIBERNATE is set
ROOSTER_UNHIBERNATE = Offline && Unhibernate # use default
ROOSTER_WAKEUP_CMD = "$(BIN)/condor_power -d -i" #use default

Comment 10 Luigi Toscano 2011-05-13 14:51:20 UTC
The new features (PowerManagementCollector, PowerManagementSubnetManager, PowerManagementNode) have been added to the database (PowerManagementSubnetManager has also a mandatory ROOSTER_SUBNET_MASK parameter).

Verified on RHEL6.1 (nightly >=20110512), RHEL5.6:
condor-wallaby-base-db-1.12-1 (noarch package).

Comment 11 Misha H. Ali 2011-05-30 02:36:11 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1,8 @@
 C: MRG Grid 2.0 includes a Power Management feature
 C: The user would have to manually configure wallaby to support Power Management
 C: The base database for wallaby now includes Power Management
-R: Users can easily configure Power Management through the remote configuration feature+R: Users can easily configure Power Management through the remote configuration feature
+
+Release Note Entry:
+
+MRG Grid 2.0 now includes a Power Management feature, configurable manually via the wallaby component. Users can configure Power Management through the remote configuration feature.

Comment 13 Misha H. Ali 2011-06-06 03:23:58 UTC
Technical note can be viewed in the release notes for 2.0 at the documentation stage here:

http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2.0/html-single/MRG_Release_Notes/index.html#tabl-MRG_Release_Notes-GRID_Update_Notes-RHM_Known_Issues

Comment 14 errata-xmlrpc 2011-06-23 15:37:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0889.html


Note You need to log in before you can comment on or make changes to this bug.