SlideShare una empresa de Scribd logo
1 de 87
Descargar para leer sin conexión
Save Money with Novell ZENworks           ®       ®



Configuration Management
Implementing Power Management




Jon Giffard              Bob Reynolds
Product Management/PSE   Product Management/PSE
jgiffard@novell.com      breynolds@novell.com
Contents

      Background

      Guidelines for Power Management

      What sort of Power Management
            –   Productivity vs. savings

      Preparing for Power Management

      Configuring ZCM for Power Management

      Geek Zone
            –   The gory details
2   © Novell, Inc. All rights reserved.
But First – Why the Interest Around
    Power Management?
    •   Are you looking at power management because:-


                  My company is deeply concerned about
                  the environment

                  My company is deeply concerned about
                  being seen to be green


                  My company is deeply concerned about its
                  operating costs

3   © Novell, Inc. All rights reserved.
A Pain That I'm Used to

                                                North Am ric
                                                 North America
                                                        e a
                                    EElectricity Average Cost kW kWh ts )
                                     le tric av ragec pe per ( c n(cents)
                                       c ity e         ost r h e
      11.
        00



      10.
        00



        9.
         00



        8.
         00



        7.
         00



        6.
         00



        5.
         00
               1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009




4   © Novell, Inc. All rights reserved.
Impact of Electricity Price on IT

    •   Scenario                          •   PC Specification
         –   1,000 PCs                        –   Model: Dell Optiplex 330

         –    250 work days per year          –   PSU: standard

         –    7 hours normal apps             –   CPU: Core 2 Duo

         –    1 hour max performance          –   Graphics: mid range

         –    30% left on overnight*          –   Optical drive: CD-Rom

    •   Model                                 –   Memory: 2Gb

         –   Dell Energy calculator
                                              –   Display: 17” flat screen



5   © Novell, Inc. All rights reserved.   *Lawerence Berkeley Laboratories Survey
1000 PCs with 30% Off at Night

                                          PowerrConsumption Costs
                                            P e c su ptionc
                                             ow on m       osts
      $120,
          000

      $115,
          000

      $110,
          000

      $105,
          000

      $100,
          000

        $95,
           000

        $90,
           000

        $85,
           000

        $80,
           000

        $75,
           000
                                                                                2009: $117,938
        $70,
           000
                   1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009




6   © Novell, Inc. All rights reserved.
Impact of Power Management

    •   Same scenario as before with basic power
        management enabled

         –   Monitor off after 30 minutes of idle time

         –   PC into sleep mode after 1 hour of idle time


    •   Model

         –   Dell energy calculator



7   © Novell, Inc. All rights reserved.
1000 PCs with 30% Off at Night
    with Basic Power Management

                                          PowerrConsumption Costs
                                            P e c su ptionc
                                             ow on m       osts
      $40,
         000



      $35,
         000



      $30,
         000



      $25,
         000



      $20,
         000



      $15,
         000
                                                                              2009: $30,729

      $10,
         000
                  1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009




8   © Novell, Inc. All rights reserved.
Why the Interest Around
    Power Management?
    •   Are you looking at power management because:
                   My company is deeply concerned about
                   the environment
                   My company is deeply concerned about
                   being seen to be Green

                   My company is deeply concerned about its
                   operating costs
                   Scenario suggests saving of 74% on PC
                   electricity costs by implementing basic
                   power management
9   © Novell, Inc. All rights reserved.
Guidelines for Power Management
Goals for Power Management

     •   Increase user adoption
          –   Flexible scheduling
          –   Centralized control
     •   No impact to productivity
          –   End users will push back
     •   Integrate with IT Operations
          –   Should fit in with existing toolsets
     •   Show and tell
          –   Sell the benefits
          –   Report the benefits
11   © Novell, Inc. All rights reserved.
Increase User Adoption

     •   Sell it to them
          –   Show how power management will be good for them
              as well as the organization
               >   Improve battery life for laptop users
               >   Cooler working environment from I.T equipment using low power modes

          –   They are still in control
               >   Can choose appropriate power scheme from a defined list

          –   It will not impact their working day
               >   Not shutting down during work hours
               >   Monitors come back on from mouse/key movement
               >   Equipment powers back up from standby

12   © Novell, Inc. All rights reserved.
Integrate with IT Operations

     •   Power management must in control of IT
          –   Define power management policies
          –   Deploy schemes to end users
          –   Report
     •   Toolsets
          –   Use existing toolset
               >   Think of power management as application distribution
               >   Reporting is nothing more than an inventory audit
          –   Using what you have saves on
               >   Costs
               >   Learning something new


13   © Novell, Inc. All rights reserved.
Show and Tell

     •   Progress and adoption of power management
          –   Schemes that are being used and by who

          –   Devices with power management vs. those not

          –   Take before and after pictures of an office at night

          –   User feedback

          –   Buy some power monitoring devices
               >   Show real power consumption before and after

          –   Look at the utility bills


14   © Novell, Inc. All rights reserved.
What Sort of Power Management
         Productivity vs. Savings
Get the Balance Right

     •   Aggressive power management will provide
         highest savings
          –   Climate Savers* suggest
               >   Monitor/display: turn off after < 15 mins
               >   Hard disc drive: turn off after < 15 mins
               >   Standby/hibernate: < 30 mins

     •   Aggressive power management will provide
         the highest level of disruption
          –   Generate service desk calls
          –   Lose end user buy in
          –   Complaints


16   © Novell, Inc. All rights reserved.        *Climate Savers: http://www.climatesaverscomputing.org
Understand Work Patterns and Usage

     •   When are end users working?
          –   9 to 5, Monday to Friday no weekends
          –   Shift patterns
          –   Weekend working
          –   Combination thereof
     •   What are they doing?
          –   Call center worker constantly using device
          –   Marketing who uses device for short bursts at a time
          –   CxO presenting to stockholders
     •   May need multiple power management schemes
         to avoid disruption
17   © Novell, Inc. All rights reserved.
The Bottom Line

     •   Power management policies need to be related
         to end user work patterns


          –   Avoid impacting productivity




18   © Novell, Inc. All rights reserved.
Preparing for Power Management
Preparation

     •   Obtain VMware Workstation 6.5 or above
          –   Official Windows 7 support found in VMware Workstation v7.0
     •   Desktops
          –   Build VM machines representing managed device estate
               >   Windows XP/Windows Vista/Windows 7
               >   Take snapshot of each before starting to experiment with power management

     •   Laptops
          –   Will need physical devices in order to define settings for
              mains power and when on battery
          –   Could sysprep VMs, then use Novell ZENworks  ®            ®



              Configuration Management to image and deploy to laptop


20   © Novell, Inc. All rights reserved.
Design Considerations

     •   Generic or granular policies
          –   One power management policy will be easy to maintain
              but may not provide the biggest savings
          –   Policies covering every combination of devices and work
              patterns will help to deliver the biggest savings but will be
              difficult to maintain
     •   End user devices
          –   Laptops will require power scheme settings for when on
              battery power
          –   Hibernate requires free disk space >= memory
     •   Screen saver
          –   Not part of power management, its a group policy setting

21   © Novell, Inc. All rights reserved.
Design Considerations
     (cont.)

     •   End user work hours and out of work hours

          –   Decide if multiple bundles will be necessary


          –   Use Novell ZENworks Configuration Manager bundle
                                      ®    ®



              scheduler to set desired policy at the wanted time


     •   Use KISS principles




22   © Novell, Inc. All rights reserved.
What Settings to Use

       Windows
             –    XP/2003 has quite a few possible settings
             –   Vista/7 has lots

       This approach uses most common
             –   Disk timeout (mins)
             –   Monitor timeout (mins)
             –   Standby timeout (mins)
             –   Hibernate state (on/off)
             –   Hibernate timeout (mins)

23   © Novell, Inc. All rights reserved.
Suggested Settings for Work Hours

     •   Objectives:
          –   Achieve greater savings than no power management at all
          –   Do not disruptive end user productivity
     •   Suggested settings
          –   Screen saver: blank screen after 5 minutes
          –   Monitor/display: 15 minutes
          –   Hard disc: 30 minutes
          –   Standby: 1 hour
          –   Hibernate: Never
     •   Why not hibernate?
          –   Takes too long for computer to come back

24   © Novell, Inc. All rights reserved.
Suggested Settings for Non-work Hours

     •   Objectives:
          –   Achieve greater savings than assertive power management
          –   Out of hours, no need to worry about disrupting end users
     •   Suggested settings
          –   Screen saver: blank screen after 5 minutes
          –   Monitor/display: 5 minutes
          –   Hard disc: 10 minutes
          –   Standby: Never
          –   Hibernate: 30 minutes
     •   Why not standby?
          –   Standby consumes power; hibernate does not

25   © Novell, Inc. All rights reserved.
Target Users or Devices?

       Users
             –   For
                  >   Define power scheme based on job role
                  >   Can accurately target power scheme
             –   Against
                  >   More effort to set up
                  >   Creates endless opportunity to refine without actually doing anything

       Devices
             –   For
                  >   Minimal effort to implement
             –   Against
                  >   Generic approach that may not achieve full results

26   © Novell, Inc. All rights reserved.
Configuring Novell ZENworks Configuration
                 ®         ®



      Management for Power Management
Three Steps to Success

       1. Control
             –   Set power settings in ZCC
             –   Have as many power schemes as needed

       2. Deploy
             –   User or device basis
             –   Work for Windows XP/Vista/Windows 7

       3. Report
             –   Obtain active power scheme
             –   Generate reports

28   © Novell, Inc. All rights reserved.
Methodology


         Assignment                            Bundle
         Trigger at user log in/user log out
                                                 i. Prepare device for power
                                                    management


                                                 ii. Write registry values that
                                                     define power settings


                                                 iii.Launch vbscript that reads
                                                     values, creates scheme
                                                     and activates it


                                                 iv.Trigger audit to update
                                                    active scheme details




29   © Novell, Inc. All rights reserved.
Control
     Overview

     •   Power settings are stored in the bundle
          –   Registry values hold the settings

          –   Gives control to IT

     •   Two bundles required to address differences in
         power management between Windows XP and
         Vista/Windows 7
          –   Logged in vs. logged out

          –   Same approach

          –   Also allows different settings to be used

30   © Novell, Inc. All rights reserved.
Control
     Scheme Settings

     •   Stored in registry values
     •   Separate values for
         logged in and logged out
     •   PowerInfo
          –   Audit values
     •   PowerSettings
          –   Scheme values
     •   Use Registry Edit
          –   Keeps control in ZCC


31   © Novell, Inc. All rights reserved.
Control Details
     Scheme Settings Registry Values

     Name                                  Description                         Values
     pwr_hibernate_state_ac                Hibernate status on power           On/Off
     pwr_hibernate_state_dc                Hibernate status on battery         On/Off
     pwr_scheme                            Current power scheme                Name
     pwr_monitor_ac                        Turn off monitor when on power      Number of minutes
     pwr_monitor_dc                        Turn off monitor when onbattery     Number of minutes
     pwr_disk_ac                           Turn off hard disk when on power    Number of minutes
     pwr_disk_dc                           Turn off hard disk when on batter   Number of minutes
     pwr_standby_ac                        Go into standby when on power       Number of minutes
     pwr_standby_dc                        Go into standby when on battery     Number of minutes
     pwr_hibernate_ac                      Go into hibernate when on power     Number of minutes
     pwr_hibernate_dc                      Go into hibernate when on battery   Number of minutes




32   © Novell, Inc. All rights reserved.
Control
     The Bundles

     •   Three bundles
          –   Prepare
               >   Creates registry values
               >   Changes registry key permissions
                     »   Power schemes are per user but XP doesn't allow normal user to change
                     »   Simple registry key change solves this
                     »   Need for storing activate power scheme in our registry values

          –   Set logged in and Set Logged Out
               >   Write registry values for the desired scheme
               >   Launch vbscript to create and activate the power scheme
                     »   Runs as normal user for logged in, SYSTEM for logged out
               >   Trigger audit



33   © Novell, Inc. All rights reserved.
Deploy
     Sending the Bundles Out

     •   Assignments
          –   Bundle: Set logged in
               >   Install: User log in
               >   Launch: User log in
          –   Bundle: Set logged out
               >   Install: Device refresh
               >   Launch: Device refresh

     •   User or device
          –   What ever is best for your environment
          –   Device is the best starting point



34   © Novell, Inc. All rights reserved.
Report
     Overview

     •   Audit power management settings
          –   Logged in and logged out

     •   Bring back audit information into
         Novell ZENworks Configuration Manager
                         ®                 ®




          –   View as part of device inventory record

          –   Include on reports

               >   Quick reports within ZCC

               >   Custom reports with ZRS


35   © Novell, Inc. All rights reserved.
Report
     Process




       Vbscript obtains                    Stores in           CDF grabs                 Novell ZENworks
                                                                                              ®          ®




       active power                        registry keys       registry value,           Configuration
       scheme details                                          putting them into         Management
                                                               device inventory          agent sends device
                                                               record                    inventory




                                                    Values stored in     Available for
                                                    ADFs in the          viewing and
                                                    database             reporting



36   © Novell, Inc. All rights reserved.
Report
     The Bundles

     •   Two bundles


          –   Get logged in and get logged out



               >   Obtain active power scheme and write details into registry values




               >   Runs as normal user for logged in, SYSTEM for logged out




37   © Novell, Inc. All rights reserved.
Report
     The Results ZCC Reports




38   © Novell, Inc. All rights reserved.
Report
     The Results ZRS Report




39   © Novell, Inc. All rights reserved.
Rollout Best Practice
Guidance

     Use 3 stages, each with exit criteria that must be
     met before moving to next




         Development                       Test   Production




41   © Novell, Inc. All rights reserved.
Development

     •   Treat use VMs/laptop from policy design as
         development environment
     •   Modify power schemes until they meet your needs
     •   Tweak reports to look pretty
     •   Gate exit criteria
          –   Registry security modified correctly
          –   Schemes are delivered and installed with
              Novell ZENworks Configuration Management
                            ®              ®




          –   Power schemes become active
          –   ZCM gathers information on active power scheme

42   © Novell, Inc. All rights reserved.
Test

     •   Move out from development environment to
         use end user devices
          –   But not all of them
          –   Just a few
     •   Representative sample from friendly users
          –   Not just the IT department
     •   Gate exit criteria
          –   Same as development
          –   Include end user satisfaction


43   © Novell, Inc. All rights reserved.
Production

     •   Expand further out from your nice end users
     •   Avoid career defining moments
          –   No big bang
          –   Rollback plan
     •   Staged, methodical approach
          –   Floor by floor, building by building
     •   Exit criteria
          –   Same as development + test
          –   % of estate off outside work hours
          –   Utility bill reduction


44   © Novell, Inc. All rights reserved.
Questions and Answers
Unpublished Work of Novell, Inc. All Rights Reserved.
This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc.
Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope
of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified,
translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc.
Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.


General Disclaimer
This document is not to be construed as a promise by any participating company to develop, deliver, or market a
product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in
making purchasing decisions. Novell, Inc. makes no representations or warranties with respect to the contents
of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any
particular purpose. The development, release, and timing of features or functionality described for Novell products
remains at the sole discretion of Novell. Further, Novell, Inc. reserves the right to revise this document and to
make changes to its content, at any time, without obligation to notify any person or entity of such revisions or
changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc.
in the United States and other countries. All third-party trademarks are the property of their respective owners.
Geek zone
Bundle details
Bundle: Prepare




49   © Novell, Inc. All rights reserved.
Bundle: Prepare
     Install actions

     •   Install MSI
          –   Install subinacl.exe from resource kit MSI
     •   Install Files
          –   Install vbscripts used by other bundles
     •   Registry edit
          –   Create keys & values for storing and setting schemes
     •   Run script
          –   Batch file that sets reg permissions




50   © Novell, Inc. All rights reserved.
Bundle: Prepare
     Install Actions: Install MSI

     •   Download MSI from www.microsoft.com
          –   Search for subinacl
     •   Use Install MSI action
          –   Upload entire MSI
          –   This will then install to
              c:program filesWindows Resource KitsTools




51   © Novell, Inc. All rights reserved.
Bundle: Prepare
     Install Actions: Install File(s)

     •   File name: set-power.vbs
     •   Destination: %zenworks_home%
     •   File name: get-power.vbs
     •   Destination: %zenworks_home%
     •   Run as SYSTEM
          –   Destination is not writable by normal users




52   © Novell, Inc. All rights reserved.
Bundle: Prepare
     Install Actions: Registry edit

     •   Registry key changes to store active settings
          –   Create
              HKLMSOFTWARENovellZenworksPowerInfoLoggedIn
          –   Create
              HKLMSOFTWARENovellZenworksPowerInfoLoggedOut
          –   Under each branch, add the following string values , set to
              “create if don't exist”
              pwr_hibernate_state_ac       pwr_monitor_ac
                                           pwr_monitor_dc
              pwr_hibernate_state_dc
                                           pwr_disk_ac
              pwr_hibernate_ac             pwr_disk_dc
              pwr_hibernate_dc             pwr_scheme



53   © Novell, Inc. All rights reserved.
Bundle: Prepare
     Install Actions: Registry edit

     •   Registry key changes to set active settings
          –   Create
              HKLMSOFTWARENovellZenworksPowerSettingsLoggedIn
          –   Create
              HKLMSOFTWARENovellZenworksPowerSettingsLoggedOut
          –   Under each branch, add the following string values , set to
              create if don't exist
              pwr_hibernate_state_ac       pwr_monitor_ac
                                           pwr_monitor_dc
              pwr_hibernate_state_dc
                                           pwr_disk_ac
              pwr_hibernate_ac             pwr_disk_dc
              pwr_hibernate_dc             pwr_scheme



54   © Novell, Inc. All rights reserved.
Bundle: Prepare
     Install Actions: Run script

        @echo on
        cd "%ProgramFiles%Windows Resource KitsTools"
        subinacl.exe /noverbose /subkeyreg
        "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows
        CurrentVersionControls FolderPowerCfg" /grant=users
        subinacl.exe /noverbose /subkeyreg
        "HKEY_LOCAL_MACHINESOFTWARENovellZenworksPowerInfo"
        /grant=users




55   © Novell, Inc. All rights reserved.
Bundle: Set Logged in




56   © Novell, Inc. All rights reserved.
Bundle: Set logged in
     bundle actions: Install

     •   Prepare for power management : Launch bundle
          –   Run registry change bundle




57   © Novell, Inc. All rights reserved.
Bundle: Set logged in
     Install Actions: Launch bundle

     •   Launch bundle prepare




58   © Novell, Inc. All rights reserved.
Bundle: Set logged in
     Launch actions

     •   Power details : Registry Edit
          –   Put registry keys & values into place
     •   Set scheme : Launch Windows Executable
          –   Run vbscript to create and activate scheme
     •   Audit : Launch bundle
          –   Use Get logged in bundle for audit




59   © Novell, Inc. All rights reserved.
Bundle: Set logged in
     Launch actions: Registry Edit

     •   Put registry keys & values into place
     •   Each registry key & value action needs to be set to
         Create Always
          –   Ensure that any existing values are overwritten
     •   Run as System




60   © Novell, Inc. All rights reserved.
Bundle: Set logged in
     Launch actions: Launch windows executable

     •   Runs vbscript which reads registry values, creates
         scheme and activates it
     •   Command: wscript.exe
     •   Parameters:
              “%zenworks_home%”set-power.vbs “Logged-In”
          –   Note placement of “
     •   Working folder: %zenworks_home%
     •   Run as Normal user
     •   Wait before proceeding


61   © Novell, Inc. All rights reserved.
Bundle: Set logged in
     Launch actions: Launch bundle

     •   Launch bundle Get logged in
     •   Wait to complete before proceeding




62   © Novell, Inc. All rights reserved.
Bundle: Set Logged out




63   © Novell, Inc. All rights reserved.
Bundle: Set logged out
     bundle actions: Install

     •   Prepare for power management : Launch bundle
          –   Registry change bundle




64   © Novell, Inc. All rights reserved.
Bundle: Set logged out
     Install actions: Launch bundle

     •   Launch bundle prepare




65   © Novell, Inc. All rights reserved.
Bundle: Set logged out
     bundle actions: Launch

     •   Power details : Registry Edit
          –   Put registry keys & values into place
     •   Set scheme : Launch Windows Executable
          –   Run vbscript to create and activate scheme
     •   Audit : Launch bundle
          –   Use Get logged in bundle for audit




66   © Novell, Inc. All rights reserved.
Bundle: Set logged out
     Launch action: Registry Edit

     •   Put registry keys & values into place
     •   Each registry key & value action needs to be set to
         Create Always
          –   Ensures that any existing values are overwritten
     •   Run as System




67   © Novell, Inc. All rights reserved.
Bundle: Set logged out
     Launch action: Launch windows executable

     •   Runs vbscript which reads registry values, creates
         scheme and activates it
     •   Command: wscript.exe
     •   Parameters:
              “%zenworks_home%”set-power.vbs “Logged-Out”
          –   Note placement of “
     •   Working folder: %zenworks_home%
     •   Run as SYSTEM user
     •   Wait before proceeding for 10 seconds


68   © Novell, Inc. All rights reserved.
Bundle: Set logged out
     Launch actions: Launch bundle

     •   Launch bundle Get logged in




69   © Novell, Inc. All rights reserved.
Configuration steps:
                                           Reporting




70   © Novell, Inc. All rights reserved.
Report
     Storing audit in ZCM with ADF and CDF

     •   Administrator Define Fields are lovely for storing
         additional information
          –   Define name, type, length, default values
          –   Limit of 20 per table
          –   Appear on Collection Data Forms
     •   Collection Data Forms provide a mechanism for
         populating these easily
          –   User entered values
          –   From registry keys / environmental variables
     •   Information obtained from CDF forms part of managed
         device inventory record
          –   Use on reports
71   © Novell, Inc. All rights reserved.
Report
       Storing audit in ZCM with ADF for logged in user
       •   ZCC, Configuration → Asset inventory →
           Administrator-Defined Fields
            –   Click on User
     Name                                    Data type   Size   Description
     pwr_hibernate_state_ac_user             Character   10     Hibernate status on power
     pwr_hibernate_state_dc_user             Character   10     Hibernate status on battery
     pwr_scheme_user                         Character   20     Current power scheme
     pwr_monitor_ac_user                     Character   10     Turn off monitor when on power
     pwr_monitor_dc_user                     Character   10     Turn off monitor when on battery
     pwr_disk_ac_user                        Character   10     Turn off hard disk when on power
     pwr_disk_dc_user                        Character   10     Turn off hard disk when on batter
     pwr_standby_ac_user                     Character   10     Go into standby when on power
     pwr_standby_dc_user                     Character   10     Go into standby when on battery
     pwr_hibernate_ac_user                   Character   10     Go into hibernate when on power
     pwr_hibernate_dc_user                   Character   10     Go into hibernate when on battery
72     © Novell, Inc. All rights reserved.
Report
     Storing audit in ZCM for logged in user

     •   Should end up with something like this




     •   Note the internal names, we'll need them later
73   © Novell, Inc. All rights reserved.
Report
       Storing audit in ZCM for logged out user
       •   ZCC, Configuration → Asset inventory →
           Administrator-Defined Fields
            –   Click on Workstation

     Name                                    Data type   Size Description

     pwr_hibernate_state_ac_system           Character   10   Hibernate status on power
     pwr_hibernate_state_dc_system           Character   10   Hibernate status on battery
     pwr_scheme_system                       Character   20   Current power scheme
     pwr_monitor_ac_system                   Character   10   Turn off monitor when on power
     pwr_monitor_dc_system                   Character   10   Turn off monitor when on battery
     pwr_disk_ac_system                      Character   10   Turn off hard disk when on power
     pwr_disk_dc_system                      Character   10   Turn off hard disk when on batter
     pwr_standby_ac_system                   Character   10   Go into standby when on power
     pwr_standby_dc_system                   Character   10   Go into standby when on battery
     pwr_hibernate_ac_system                 Character   10   Go into hibernate when on power
     pwr_hibernate_dc_system                 Character   10   Go into hibernate when on battery

74     © Novell, Inc. All rights reserved.
Report
     Storing audit in ZCM for logged out user

     •   Should end up with something like this




     •   Note the internal names, we'll need them later

75   © Novell, Inc. All rights reserved.
Report
     Linking ADF fields with CDF

     •   ZCC, Configuration → Inventory → Collection Data
         Form
          –   Scroll down list until you reach the ADFs entered previously
     •   Each ADF will be populated by registry key
         representing environmental variable set by script that
         will be run from the gather bundle
          –   Set each ADF to autofill and enter registry key
     •   All registry keys are found under
          –   HKLMSOFTWARENovellZenworksPowerInfo
               >   LoggedIn
               >   LoggedOut




76   © Novell, Inc. All rights reserved.
Report
     Linking ADF fields with CDF for logged in

      •   All registry keys are found under
           –   HKLMNovellZenworksPowerInfoLoggedIn

      ADF                                  Registry key value

      pwr_hibernate_state_ac_user          pwr_hibernate_state_ac
      pwr_hibernate_state_dc_user          pwr_hibernate_state_dc
      pwr_scheme_user                      pwr_scheme
      pwr_monitor_ac_user                  pwr_monitor_ac
      pwr_monitor_dc_user                  pwr_monitor_dc
      pwr_disk_ac_user                     pwr_disk_ac
      pwr_disk_dc_user                     pwr_disk_dc
      pwr_standby_ac_user                  pwr_standby_ac
      pwr_standby_dc_user                  pwr_standby_dc
      pwr_hibernate_ac_user                pwr_hibernate_ac
      pwr_hibernate_dc_user                pwr_hibernate_dc

77   © Novell, Inc. All rights reserved.
Report
     Linking ADF fields with CDF for logged out

      •   All registry keys are found under
      HKLMNovellZenworksPowerInfoLoggedOut

      ADF                                  Registry key value

      pwr_hibernate_state_ac_system        pwr_hibernate_state_ac
      pwr_hibernate_state_dc_system        pwr_hibernate_state_dc
      pwr_scheme_system                    pwr_scheme
      pwr_monitor_ac_system                pwr_monitor_ac
      pwr_monitor_dc_system                pwr_monitor_dc
      pwr_disk_ac_system                   pwr_disk_ac
      pwr_disk_dc_system                   pwr_disk_dc
      pwr_standby_ac_system                pwr_standby_ac
      pwr_standby_dc_system                pwr_standby_dc
      pwr_hibernate_ac_system              pwr_hibernate_ac
      pwr_hibernate_dc_system              pwr_hibernate_dc

78   © Novell, Inc. All rights reserved.
Bundle: Get Logged in




79   © Novell, Inc. All rights reserved.
Bundle: Get logged in
     bundle actions: Install

     •   Prepare for power management : Launch bundle
          –   Run registry change bundle




80   © Novell, Inc. All rights reserved.
Bundle: Get logged in
     Install action: Launch bundle

     •   Launch bundle prepare
     •   Wait for bundle to complete before proceeding




81   © Novell, Inc. All rights reserved.
Bundle: Get logged in
     bundle actions: Launch

     •   Get scheme : Launch Windows Executable
          –   Run vbscript to get power information




82   © Novell, Inc. All rights reserved.
Bundle: Get logged in
     Launch action: Launch windows executable

     •   Runs vbscript which gathers active power scheme,
         writes to registry values and triggers inventory to
         populate CDF
     •   Command: wscript.exe
     •   Parameters:
              “%zenworks_home%”get-power.vbs “Logged-In”
          –   Note placement of “
     •   Working folder: %zenworks_home%
     •   Run as normal user
     •   Wait before proceeding

83   © Novell, Inc. All rights reserved.
Bundle: Get Logged out




84   © Novell, Inc. All rights reserved.
Bundle: Get logged out
     bundle actions: Install

     •   Prepare for power management : Launch bundle
          –   Run registry change bundle




85   © Novell, Inc. All rights reserved.
Bundle: Get logged out
     bundle actions: Launch

     •   Set scheme : Launch Windows Executable
          –   Run vbscript to create and activate scheme




86   © Novell, Inc. All rights reserved.
Bundle: Get logged out
     Launch action: Launch windows executable

     •   Runs vbscript which gathers active power scheme,
         writes to registry values and triggers inventory to
         populate CDF
     •   Command: wscript.exe
     •   Parameters:
              “%zenworks_home%”get-power.vbs “Logged-Out”
          –   Note placement of “
     •   Working folder: %zenworks_home%
     •   Run as SYSTEM user
     •   Wait before proceeding for 10 seconds

87   © Novell, Inc. All rights reserved.

Más contenido relacionado

Destacado

A minor project report HOME AUTOMATION USING MOBILE PHONES
A minor project report HOME AUTOMATION  USING  MOBILE PHONESA minor project report HOME AUTOMATION  USING  MOBILE PHONES
A minor project report HOME AUTOMATION USING MOBILE PHONESashokkok
 
Smart Home Automation - An Overview
Smart Home Automation - An OverviewSmart Home Automation - An Overview
Smart Home Automation - An OverviewSmart Automation
 
Home automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhaneHome automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhaneKamal Lamichhane
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationArifur Rahman
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 
My Final Year Project - Individual Control Home Automation System
My Final Year Project - Individual Control Home Automation SystemMy Final Year Project - Individual Control Home Automation System
My Final Year Project - Individual Control Home Automation SystemMichael Olafusi
 

Destacado (8)

A minor project report HOME AUTOMATION USING MOBILE PHONES
A minor project report HOME AUTOMATION  USING  MOBILE PHONESA minor project report HOME AUTOMATION  USING  MOBILE PHONES
A minor project report HOME AUTOMATION USING MOBILE PHONES
 
Smart Home Automation - An Overview
Smart Home Automation - An OverviewSmart Home Automation - An Overview
Smart Home Automation - An Overview
 
Smart house presentation
Smart house presentationSmart house presentation
Smart house presentation
 
Home automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhaneHome automation ppt-kamal lamichhane
Home automation ppt-kamal lamichhane
 
Smart homes
Smart homesSmart homes
Smart homes
 
Presentation Smart Home With Home Automation
Presentation Smart Home With Home AutomationPresentation Smart Home With Home Automation
Presentation Smart Home With Home Automation
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
My Final Year Project - Individual Control Home Automation System
My Final Year Project - Individual Control Home Automation SystemMy Final Year Project - Individual Control Home Automation System
My Final Year Project - Individual Control Home Automation System
 

Similar a Save Money by Implementing Power Management Policies with Novell ZENworks Configuration Management

Computer Power Management
Computer Power ManagementComputer Power Management
Computer Power Managementdkorn
 
Avamar weekly webcast
Avamar weekly webcastAvamar weekly webcast
Avamar weekly webcaststefriche0199
 
Introduction to Powerwise PC Power Management
Introduction to Powerwise PC Power ManagementIntroduction to Powerwise PC Power Management
Introduction to Powerwise PC Power ManagementAmeriChannels LLC
 
Veros Systems on SAP
Veros Systems on SAPVeros Systems on SAP
Veros Systems on SAPAllan Wilson
 
SolarEye Platform - Solar Photovoltaic Monitoring
SolarEye Platform  - Solar Photovoltaic MonitoringSolarEye Platform  - Solar Photovoltaic Monitoring
SolarEye Platform - Solar Photovoltaic MonitoringYANNIS ANTONIOU
 
Metering Energy Consumption in Data Centres - Michael Rudgyard
Metering Energy Consumption in Data Centres - Michael RudgyardMetering Energy Consumption in Data Centres - Michael Rudgyard
Metering Energy Consumption in Data Centres - Michael RudgyardGoodCampus
 
Implementing the Poughkeepsie Green Data Center
Implementing the Poughkeepsie Green Data CenterImplementing the Poughkeepsie Green Data Center
Implementing the Poughkeepsie Green Data CenterElisabeth Stahl
 
Veros Systems on IBM
Veros Systems on IBMVeros Systems on IBM
Veros Systems on IBMAllan Wilson
 
Ncomputing presentatie
Ncomputing presentatieNcomputing presentatie
Ncomputing presentatieTelesur
 
XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905
XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905
XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905Alex De Broe
 
Power Protection and Management from the Desktop to the Data Center - Keith W...
Power Protection and Management from the Desktop to the Data Center - Keith W...Power Protection and Management from the Desktop to the Data Center - Keith W...
Power Protection and Management from the Desktop to the Data Center - Keith W...Spiceworks
 
Data Center Infrastructure Trends
Data Center Infrastructure TrendsData Center Infrastructure Trends
Data Center Infrastructure TrendsViridity Software
 
Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...
Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...
Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...Andreas Kamilaris
 
Ppt4 london - michael rudgyard ( concurrent thinking ) driving efficiencie...
Ppt4   london -  michael rudgyard ( concurrent thinking ) driving efficiencie...Ppt4   london -  michael rudgyard ( concurrent thinking ) driving efficiencie...
Ppt4 london - michael rudgyard ( concurrent thinking ) driving efficiencie...JISC's Green ICT Programme
 
Transend PC Energy Management Presesntation June 10
Transend PC Energy Management Presesntation June 10Transend PC Energy Management Presesntation June 10
Transend PC Energy Management Presesntation June 10Matt Johnson
 
VMware-Dell-Virtualization.pptx
VMware-Dell-Virtualization.pptxVMware-Dell-Virtualization.pptx
VMware-Dell-Virtualization.pptxVoYat
 

Similar a Save Money by Implementing Power Management Policies with Novell ZENworks Configuration Management (20)

Fighting Zombie Servers
Fighting Zombie ServersFighting Zombie Servers
Fighting Zombie Servers
 
Computer Power Management
Computer Power ManagementComputer Power Management
Computer Power Management
 
Avamar weekly webcast
Avamar weekly webcastAvamar weekly webcast
Avamar weekly webcast
 
Power-One
Power-OnePower-One
Power-One
 
Gamatronics Solutions for Data Centers
Gamatronics Solutions for Data CentersGamatronics Solutions for Data Centers
Gamatronics Solutions for Data Centers
 
Introduction to Powerwise PC Power Management
Introduction to Powerwise PC Power ManagementIntroduction to Powerwise PC Power Management
Introduction to Powerwise PC Power Management
 
Veros Systems on SAP
Veros Systems on SAPVeros Systems on SAP
Veros Systems on SAP
 
SolarEye Platform - Solar Photovoltaic Monitoring
SolarEye Platform  - Solar Photovoltaic MonitoringSolarEye Platform  - Solar Photovoltaic Monitoring
SolarEye Platform - Solar Photovoltaic Monitoring
 
Metering Energy Consumption in Data Centres - Michael Rudgyard
Metering Energy Consumption in Data Centres - Michael RudgyardMetering Energy Consumption in Data Centres - Michael Rudgyard
Metering Energy Consumption in Data Centres - Michael Rudgyard
 
Implementing the Poughkeepsie Green Data Center
Implementing the Poughkeepsie Green Data CenterImplementing the Poughkeepsie Green Data Center
Implementing the Poughkeepsie Green Data Center
 
Veros Systems on IBM
Veros Systems on IBMVeros Systems on IBM
Veros Systems on IBM
 
Faronics Power Save
Faronics Power SaveFaronics Power Save
Faronics Power Save
 
Ncomputing presentatie
Ncomputing presentatieNcomputing presentatie
Ncomputing presentatie
 
XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905
XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905
XANT SPS PowerTower presentation microgrid inno conf sep 2017 20170905
 
Power Protection and Management from the Desktop to the Data Center - Keith W...
Power Protection and Management from the Desktop to the Data Center - Keith W...Power Protection and Management from the Desktop to the Data Center - Keith W...
Power Protection and Management from the Desktop to the Data Center - Keith W...
 
Data Center Infrastructure Trends
Data Center Infrastructure TrendsData Center Infrastructure Trends
Data Center Infrastructure Trends
 
Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...
Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...
Good Practices in the Use of ICT Equipment for Electricity Savings at a Unive...
 
Ppt4 london - michael rudgyard ( concurrent thinking ) driving efficiencie...
Ppt4   london -  michael rudgyard ( concurrent thinking ) driving efficiencie...Ppt4   london -  michael rudgyard ( concurrent thinking ) driving efficiencie...
Ppt4 london - michael rudgyard ( concurrent thinking ) driving efficiencie...
 
Transend PC Energy Management Presesntation June 10
Transend PC Energy Management Presesntation June 10Transend PC Energy Management Presesntation June 10
Transend PC Energy Management Presesntation June 10
 
VMware-Dell-Virtualization.pptx
VMware-Dell-Virtualization.pptxVMware-Dell-Virtualization.pptx
VMware-Dell-Virtualization.pptx
 

Más de Novell

Filr white paper
Filr white paperFilr white paper
Filr white paperNovell
 
Social media class 4 v2
Social media class 4 v2Social media class 4 v2
Social media class 4 v2Novell
 
Social media class 3
Social media class 3Social media class 3
Social media class 3Novell
 
Social media class 2
Social media class 2Social media class 2
Social media class 2Novell
 
Social media class 1
Social media class 1Social media class 1
Social media class 1Novell
 
Social media class 2 v2
Social media class 2 v2Social media class 2 v2
Social media class 2 v2Novell
 
LinkedIn training presentation
LinkedIn training presentationLinkedIn training presentation
LinkedIn training presentationNovell
 
Twitter training presentation
Twitter training presentationTwitter training presentation
Twitter training presentationNovell
 
Getting started with social media
Getting started with social mediaGetting started with social media
Getting started with social mediaNovell
 
Strategies for sharing and commenting in social media
Strategies for sharing and commenting in social mediaStrategies for sharing and commenting in social media
Strategies for sharing and commenting in social mediaNovell
 
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECHInformation Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECHNovell
 
Workload iq final
Workload iq   finalWorkload iq   final
Workload iq finalNovell
 
The Identity-infused Enterprise
The Identity-infused EnterpriseThe Identity-infused Enterprise
The Identity-infused EnterpriseNovell
 
Shining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of SocialShining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of SocialNovell
 
Accelerate to the Cloud
Accelerate to the CloudAccelerate to the Cloud
Accelerate to the CloudNovell
 
The New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration TrendsThe New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration TrendsNovell
 
Preventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log ManagementPreventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log ManagementNovell
 
Iaas for a demanding business
Iaas for a demanding businessIaas for a demanding business
Iaas for a demanding businessNovell
 
Workload IQ: A Differentiated Approach
Workload IQ: A Differentiated ApproachWorkload IQ: A Differentiated Approach
Workload IQ: A Differentiated ApproachNovell
 
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...Novell
 

Más de Novell (20)

Filr white paper
Filr white paperFilr white paper
Filr white paper
 
Social media class 4 v2
Social media class 4 v2Social media class 4 v2
Social media class 4 v2
 
Social media class 3
Social media class 3Social media class 3
Social media class 3
 
Social media class 2
Social media class 2Social media class 2
Social media class 2
 
Social media class 1
Social media class 1Social media class 1
Social media class 1
 
Social media class 2 v2
Social media class 2 v2Social media class 2 v2
Social media class 2 v2
 
LinkedIn training presentation
LinkedIn training presentationLinkedIn training presentation
LinkedIn training presentation
 
Twitter training presentation
Twitter training presentationTwitter training presentation
Twitter training presentation
 
Getting started with social media
Getting started with social mediaGetting started with social media
Getting started with social media
 
Strategies for sharing and commenting in social media
Strategies for sharing and commenting in social mediaStrategies for sharing and commenting in social media
Strategies for sharing and commenting in social media
 
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECHInformation Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECH
 
Workload iq final
Workload iq   finalWorkload iq   final
Workload iq final
 
The Identity-infused Enterprise
The Identity-infused EnterpriseThe Identity-infused Enterprise
The Identity-infused Enterprise
 
Shining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of SocialShining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of Social
 
Accelerate to the Cloud
Accelerate to the CloudAccelerate to the Cloud
Accelerate to the Cloud
 
The New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration TrendsThe New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration Trends
 
Preventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log ManagementPreventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log Management
 
Iaas for a demanding business
Iaas for a demanding businessIaas for a demanding business
Iaas for a demanding business
 
Workload IQ: A Differentiated Approach
Workload IQ: A Differentiated ApproachWorkload IQ: A Differentiated Approach
Workload IQ: A Differentiated Approach
 
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
 

Save Money by Implementing Power Management Policies with Novell ZENworks Configuration Management

  • 1. Save Money with Novell ZENworks ® ® Configuration Management Implementing Power Management Jon Giffard Bob Reynolds Product Management/PSE Product Management/PSE jgiffard@novell.com breynolds@novell.com
  • 2. Contents Background Guidelines for Power Management What sort of Power Management – Productivity vs. savings Preparing for Power Management Configuring ZCM for Power Management Geek Zone – The gory details 2 © Novell, Inc. All rights reserved.
  • 3. But First – Why the Interest Around Power Management? • Are you looking at power management because:- My company is deeply concerned about the environment My company is deeply concerned about being seen to be green My company is deeply concerned about its operating costs 3 © Novell, Inc. All rights reserved.
  • 4. A Pain That I'm Used to North Am ric North America e a EElectricity Average Cost kW kWh ts ) le tric av ragec pe per ( c n(cents) c ity e ost r h e 11. 00 10. 00 9. 00 8. 00 7. 00 6. 00 5. 00 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 4 © Novell, Inc. All rights reserved.
  • 5. Impact of Electricity Price on IT • Scenario • PC Specification – 1,000 PCs – Model: Dell Optiplex 330 – 250 work days per year – PSU: standard – 7 hours normal apps – CPU: Core 2 Duo – 1 hour max performance – Graphics: mid range – 30% left on overnight* – Optical drive: CD-Rom • Model – Memory: 2Gb – Dell Energy calculator – Display: 17” flat screen 5 © Novell, Inc. All rights reserved. *Lawerence Berkeley Laboratories Survey
  • 6. 1000 PCs with 30% Off at Night PowerrConsumption Costs P e c su ptionc ow on m osts $120, 000 $115, 000 $110, 000 $105, 000 $100, 000 $95, 000 $90, 000 $85, 000 $80, 000 $75, 000 2009: $117,938 $70, 000 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 6 © Novell, Inc. All rights reserved.
  • 7. Impact of Power Management • Same scenario as before with basic power management enabled – Monitor off after 30 minutes of idle time – PC into sleep mode after 1 hour of idle time • Model – Dell energy calculator 7 © Novell, Inc. All rights reserved.
  • 8. 1000 PCs with 30% Off at Night with Basic Power Management PowerrConsumption Costs P e c su ptionc ow on m osts $40, 000 $35, 000 $30, 000 $25, 000 $20, 000 $15, 000 2009: $30,729 $10, 000 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 8 © Novell, Inc. All rights reserved.
  • 9. Why the Interest Around Power Management? • Are you looking at power management because: My company is deeply concerned about the environment My company is deeply concerned about being seen to be Green My company is deeply concerned about its operating costs Scenario suggests saving of 74% on PC electricity costs by implementing basic power management 9 © Novell, Inc. All rights reserved.
  • 10. Guidelines for Power Management
  • 11. Goals for Power Management • Increase user adoption – Flexible scheduling – Centralized control • No impact to productivity – End users will push back • Integrate with IT Operations – Should fit in with existing toolsets • Show and tell – Sell the benefits – Report the benefits 11 © Novell, Inc. All rights reserved.
  • 12. Increase User Adoption • Sell it to them – Show how power management will be good for them as well as the organization > Improve battery life for laptop users > Cooler working environment from I.T equipment using low power modes – They are still in control > Can choose appropriate power scheme from a defined list – It will not impact their working day > Not shutting down during work hours > Monitors come back on from mouse/key movement > Equipment powers back up from standby 12 © Novell, Inc. All rights reserved.
  • 13. Integrate with IT Operations • Power management must in control of IT – Define power management policies – Deploy schemes to end users – Report • Toolsets – Use existing toolset > Think of power management as application distribution > Reporting is nothing more than an inventory audit – Using what you have saves on > Costs > Learning something new 13 © Novell, Inc. All rights reserved.
  • 14. Show and Tell • Progress and adoption of power management – Schemes that are being used and by who – Devices with power management vs. those not – Take before and after pictures of an office at night – User feedback – Buy some power monitoring devices > Show real power consumption before and after – Look at the utility bills 14 © Novell, Inc. All rights reserved.
  • 15. What Sort of Power Management Productivity vs. Savings
  • 16. Get the Balance Right • Aggressive power management will provide highest savings – Climate Savers* suggest > Monitor/display: turn off after < 15 mins > Hard disc drive: turn off after < 15 mins > Standby/hibernate: < 30 mins • Aggressive power management will provide the highest level of disruption – Generate service desk calls – Lose end user buy in – Complaints 16 © Novell, Inc. All rights reserved. *Climate Savers: http://www.climatesaverscomputing.org
  • 17. Understand Work Patterns and Usage • When are end users working? – 9 to 5, Monday to Friday no weekends – Shift patterns – Weekend working – Combination thereof • What are they doing? – Call center worker constantly using device – Marketing who uses device for short bursts at a time – CxO presenting to stockholders • May need multiple power management schemes to avoid disruption 17 © Novell, Inc. All rights reserved.
  • 18. The Bottom Line • Power management policies need to be related to end user work patterns – Avoid impacting productivity 18 © Novell, Inc. All rights reserved.
  • 19. Preparing for Power Management
  • 20. Preparation • Obtain VMware Workstation 6.5 or above – Official Windows 7 support found in VMware Workstation v7.0 • Desktops – Build VM machines representing managed device estate > Windows XP/Windows Vista/Windows 7 > Take snapshot of each before starting to experiment with power management • Laptops – Will need physical devices in order to define settings for mains power and when on battery – Could sysprep VMs, then use Novell ZENworks ® ® Configuration Management to image and deploy to laptop 20 © Novell, Inc. All rights reserved.
  • 21. Design Considerations • Generic or granular policies – One power management policy will be easy to maintain but may not provide the biggest savings – Policies covering every combination of devices and work patterns will help to deliver the biggest savings but will be difficult to maintain • End user devices – Laptops will require power scheme settings for when on battery power – Hibernate requires free disk space >= memory • Screen saver – Not part of power management, its a group policy setting 21 © Novell, Inc. All rights reserved.
  • 22. Design Considerations (cont.) • End user work hours and out of work hours – Decide if multiple bundles will be necessary – Use Novell ZENworks Configuration Manager bundle ® ® scheduler to set desired policy at the wanted time • Use KISS principles 22 © Novell, Inc. All rights reserved.
  • 23. What Settings to Use Windows – XP/2003 has quite a few possible settings – Vista/7 has lots This approach uses most common – Disk timeout (mins) – Monitor timeout (mins) – Standby timeout (mins) – Hibernate state (on/off) – Hibernate timeout (mins) 23 © Novell, Inc. All rights reserved.
  • 24. Suggested Settings for Work Hours • Objectives: – Achieve greater savings than no power management at all – Do not disruptive end user productivity • Suggested settings – Screen saver: blank screen after 5 minutes – Monitor/display: 15 minutes – Hard disc: 30 minutes – Standby: 1 hour – Hibernate: Never • Why not hibernate? – Takes too long for computer to come back 24 © Novell, Inc. All rights reserved.
  • 25. Suggested Settings for Non-work Hours • Objectives: – Achieve greater savings than assertive power management – Out of hours, no need to worry about disrupting end users • Suggested settings – Screen saver: blank screen after 5 minutes – Monitor/display: 5 minutes – Hard disc: 10 minutes – Standby: Never – Hibernate: 30 minutes • Why not standby? – Standby consumes power; hibernate does not 25 © Novell, Inc. All rights reserved.
  • 26. Target Users or Devices? Users – For > Define power scheme based on job role > Can accurately target power scheme – Against > More effort to set up > Creates endless opportunity to refine without actually doing anything Devices – For > Minimal effort to implement – Against > Generic approach that may not achieve full results 26 © Novell, Inc. All rights reserved.
  • 27. Configuring Novell ZENworks Configuration ® ® Management for Power Management
  • 28. Three Steps to Success 1. Control – Set power settings in ZCC – Have as many power schemes as needed 2. Deploy – User or device basis – Work for Windows XP/Vista/Windows 7 3. Report – Obtain active power scheme – Generate reports 28 © Novell, Inc. All rights reserved.
  • 29. Methodology Assignment Bundle Trigger at user log in/user log out i. Prepare device for power management ii. Write registry values that define power settings iii.Launch vbscript that reads values, creates scheme and activates it iv.Trigger audit to update active scheme details 29 © Novell, Inc. All rights reserved.
  • 30. Control Overview • Power settings are stored in the bundle – Registry values hold the settings – Gives control to IT • Two bundles required to address differences in power management between Windows XP and Vista/Windows 7 – Logged in vs. logged out – Same approach – Also allows different settings to be used 30 © Novell, Inc. All rights reserved.
  • 31. Control Scheme Settings • Stored in registry values • Separate values for logged in and logged out • PowerInfo – Audit values • PowerSettings – Scheme values • Use Registry Edit – Keeps control in ZCC 31 © Novell, Inc. All rights reserved.
  • 32. Control Details Scheme Settings Registry Values Name Description Values pwr_hibernate_state_ac Hibernate status on power On/Off pwr_hibernate_state_dc Hibernate status on battery On/Off pwr_scheme Current power scheme Name pwr_monitor_ac Turn off monitor when on power Number of minutes pwr_monitor_dc Turn off monitor when onbattery Number of minutes pwr_disk_ac Turn off hard disk when on power Number of minutes pwr_disk_dc Turn off hard disk when on batter Number of minutes pwr_standby_ac Go into standby when on power Number of minutes pwr_standby_dc Go into standby when on battery Number of minutes pwr_hibernate_ac Go into hibernate when on power Number of minutes pwr_hibernate_dc Go into hibernate when on battery Number of minutes 32 © Novell, Inc. All rights reserved.
  • 33. Control The Bundles • Three bundles – Prepare > Creates registry values > Changes registry key permissions » Power schemes are per user but XP doesn't allow normal user to change » Simple registry key change solves this » Need for storing activate power scheme in our registry values – Set logged in and Set Logged Out > Write registry values for the desired scheme > Launch vbscript to create and activate the power scheme » Runs as normal user for logged in, SYSTEM for logged out > Trigger audit 33 © Novell, Inc. All rights reserved.
  • 34. Deploy Sending the Bundles Out • Assignments – Bundle: Set logged in > Install: User log in > Launch: User log in – Bundle: Set logged out > Install: Device refresh > Launch: Device refresh • User or device – What ever is best for your environment – Device is the best starting point 34 © Novell, Inc. All rights reserved.
  • 35. Report Overview • Audit power management settings – Logged in and logged out • Bring back audit information into Novell ZENworks Configuration Manager ® ® – View as part of device inventory record – Include on reports > Quick reports within ZCC > Custom reports with ZRS 35 © Novell, Inc. All rights reserved.
  • 36. Report Process Vbscript obtains Stores in CDF grabs Novell ZENworks ® ® active power registry keys registry value, Configuration scheme details putting them into Management device inventory agent sends device record inventory Values stored in Available for ADFs in the viewing and database reporting 36 © Novell, Inc. All rights reserved.
  • 37. Report The Bundles • Two bundles – Get logged in and get logged out > Obtain active power scheme and write details into registry values > Runs as normal user for logged in, SYSTEM for logged out 37 © Novell, Inc. All rights reserved.
  • 38. Report The Results ZCC Reports 38 © Novell, Inc. All rights reserved.
  • 39. Report The Results ZRS Report 39 © Novell, Inc. All rights reserved.
  • 41. Guidance Use 3 stages, each with exit criteria that must be met before moving to next Development Test Production 41 © Novell, Inc. All rights reserved.
  • 42. Development • Treat use VMs/laptop from policy design as development environment • Modify power schemes until they meet your needs • Tweak reports to look pretty • Gate exit criteria – Registry security modified correctly – Schemes are delivered and installed with Novell ZENworks Configuration Management ® ® – Power schemes become active – ZCM gathers information on active power scheme 42 © Novell, Inc. All rights reserved.
  • 43. Test • Move out from development environment to use end user devices – But not all of them – Just a few • Representative sample from friendly users – Not just the IT department • Gate exit criteria – Same as development – Include end user satisfaction 43 © Novell, Inc. All rights reserved.
  • 44. Production • Expand further out from your nice end users • Avoid career defining moments – No big bang – Rollback plan • Staged, methodical approach – Floor by floor, building by building • Exit criteria – Same as development + test – % of estate off outside work hours – Utility bill reduction 44 © Novell, Inc. All rights reserved.
  • 46.
  • 47. Unpublished Work of Novell, Inc. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. Novell, Inc. makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for Novell products remains at the sole discretion of Novell. Further, Novell, Inc. reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.
  • 49. Bundle: Prepare 49 © Novell, Inc. All rights reserved.
  • 50. Bundle: Prepare Install actions • Install MSI – Install subinacl.exe from resource kit MSI • Install Files – Install vbscripts used by other bundles • Registry edit – Create keys & values for storing and setting schemes • Run script – Batch file that sets reg permissions 50 © Novell, Inc. All rights reserved.
  • 51. Bundle: Prepare Install Actions: Install MSI • Download MSI from www.microsoft.com – Search for subinacl • Use Install MSI action – Upload entire MSI – This will then install to c:program filesWindows Resource KitsTools 51 © Novell, Inc. All rights reserved.
  • 52. Bundle: Prepare Install Actions: Install File(s) • File name: set-power.vbs • Destination: %zenworks_home% • File name: get-power.vbs • Destination: %zenworks_home% • Run as SYSTEM – Destination is not writable by normal users 52 © Novell, Inc. All rights reserved.
  • 53. Bundle: Prepare Install Actions: Registry edit • Registry key changes to store active settings – Create HKLMSOFTWARENovellZenworksPowerInfoLoggedIn – Create HKLMSOFTWARENovellZenworksPowerInfoLoggedOut – Under each branch, add the following string values , set to “create if don't exist” pwr_hibernate_state_ac pwr_monitor_ac pwr_monitor_dc pwr_hibernate_state_dc pwr_disk_ac pwr_hibernate_ac pwr_disk_dc pwr_hibernate_dc pwr_scheme 53 © Novell, Inc. All rights reserved.
  • 54. Bundle: Prepare Install Actions: Registry edit • Registry key changes to set active settings – Create HKLMSOFTWARENovellZenworksPowerSettingsLoggedIn – Create HKLMSOFTWARENovellZenworksPowerSettingsLoggedOut – Under each branch, add the following string values , set to create if don't exist pwr_hibernate_state_ac pwr_monitor_ac pwr_monitor_dc pwr_hibernate_state_dc pwr_disk_ac pwr_hibernate_ac pwr_disk_dc pwr_hibernate_dc pwr_scheme 54 © Novell, Inc. All rights reserved.
  • 55. Bundle: Prepare Install Actions: Run script @echo on cd "%ProgramFiles%Windows Resource KitsTools" subinacl.exe /noverbose /subkeyreg "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows CurrentVersionControls FolderPowerCfg" /grant=users subinacl.exe /noverbose /subkeyreg "HKEY_LOCAL_MACHINESOFTWARENovellZenworksPowerInfo" /grant=users 55 © Novell, Inc. All rights reserved.
  • 56. Bundle: Set Logged in 56 © Novell, Inc. All rights reserved.
  • 57. Bundle: Set logged in bundle actions: Install • Prepare for power management : Launch bundle – Run registry change bundle 57 © Novell, Inc. All rights reserved.
  • 58. Bundle: Set logged in Install Actions: Launch bundle • Launch bundle prepare 58 © Novell, Inc. All rights reserved.
  • 59. Bundle: Set logged in Launch actions • Power details : Registry Edit – Put registry keys & values into place • Set scheme : Launch Windows Executable – Run vbscript to create and activate scheme • Audit : Launch bundle – Use Get logged in bundle for audit 59 © Novell, Inc. All rights reserved.
  • 60. Bundle: Set logged in Launch actions: Registry Edit • Put registry keys & values into place • Each registry key & value action needs to be set to Create Always – Ensure that any existing values are overwritten • Run as System 60 © Novell, Inc. All rights reserved.
  • 61. Bundle: Set logged in Launch actions: Launch windows executable • Runs vbscript which reads registry values, creates scheme and activates it • Command: wscript.exe • Parameters: “%zenworks_home%”set-power.vbs “Logged-In” – Note placement of “ • Working folder: %zenworks_home% • Run as Normal user • Wait before proceeding 61 © Novell, Inc. All rights reserved.
  • 62. Bundle: Set logged in Launch actions: Launch bundle • Launch bundle Get logged in • Wait to complete before proceeding 62 © Novell, Inc. All rights reserved.
  • 63. Bundle: Set Logged out 63 © Novell, Inc. All rights reserved.
  • 64. Bundle: Set logged out bundle actions: Install • Prepare for power management : Launch bundle – Registry change bundle 64 © Novell, Inc. All rights reserved.
  • 65. Bundle: Set logged out Install actions: Launch bundle • Launch bundle prepare 65 © Novell, Inc. All rights reserved.
  • 66. Bundle: Set logged out bundle actions: Launch • Power details : Registry Edit – Put registry keys & values into place • Set scheme : Launch Windows Executable – Run vbscript to create and activate scheme • Audit : Launch bundle – Use Get logged in bundle for audit 66 © Novell, Inc. All rights reserved.
  • 67. Bundle: Set logged out Launch action: Registry Edit • Put registry keys & values into place • Each registry key & value action needs to be set to Create Always – Ensures that any existing values are overwritten • Run as System 67 © Novell, Inc. All rights reserved.
  • 68. Bundle: Set logged out Launch action: Launch windows executable • Runs vbscript which reads registry values, creates scheme and activates it • Command: wscript.exe • Parameters: “%zenworks_home%”set-power.vbs “Logged-Out” – Note placement of “ • Working folder: %zenworks_home% • Run as SYSTEM user • Wait before proceeding for 10 seconds 68 © Novell, Inc. All rights reserved.
  • 69. Bundle: Set logged out Launch actions: Launch bundle • Launch bundle Get logged in 69 © Novell, Inc. All rights reserved.
  • 70. Configuration steps: Reporting 70 © Novell, Inc. All rights reserved.
  • 71. Report Storing audit in ZCM with ADF and CDF • Administrator Define Fields are lovely for storing additional information – Define name, type, length, default values – Limit of 20 per table – Appear on Collection Data Forms • Collection Data Forms provide a mechanism for populating these easily – User entered values – From registry keys / environmental variables • Information obtained from CDF forms part of managed device inventory record – Use on reports 71 © Novell, Inc. All rights reserved.
  • 72. Report Storing audit in ZCM with ADF for logged in user • ZCC, Configuration → Asset inventory → Administrator-Defined Fields – Click on User Name Data type Size Description pwr_hibernate_state_ac_user Character 10 Hibernate status on power pwr_hibernate_state_dc_user Character 10 Hibernate status on battery pwr_scheme_user Character 20 Current power scheme pwr_monitor_ac_user Character 10 Turn off monitor when on power pwr_monitor_dc_user Character 10 Turn off monitor when on battery pwr_disk_ac_user Character 10 Turn off hard disk when on power pwr_disk_dc_user Character 10 Turn off hard disk when on batter pwr_standby_ac_user Character 10 Go into standby when on power pwr_standby_dc_user Character 10 Go into standby when on battery pwr_hibernate_ac_user Character 10 Go into hibernate when on power pwr_hibernate_dc_user Character 10 Go into hibernate when on battery 72 © Novell, Inc. All rights reserved.
  • 73. Report Storing audit in ZCM for logged in user • Should end up with something like this • Note the internal names, we'll need them later 73 © Novell, Inc. All rights reserved.
  • 74. Report Storing audit in ZCM for logged out user • ZCC, Configuration → Asset inventory → Administrator-Defined Fields – Click on Workstation Name Data type Size Description pwr_hibernate_state_ac_system Character 10 Hibernate status on power pwr_hibernate_state_dc_system Character 10 Hibernate status on battery pwr_scheme_system Character 20 Current power scheme pwr_monitor_ac_system Character 10 Turn off monitor when on power pwr_monitor_dc_system Character 10 Turn off monitor when on battery pwr_disk_ac_system Character 10 Turn off hard disk when on power pwr_disk_dc_system Character 10 Turn off hard disk when on batter pwr_standby_ac_system Character 10 Go into standby when on power pwr_standby_dc_system Character 10 Go into standby when on battery pwr_hibernate_ac_system Character 10 Go into hibernate when on power pwr_hibernate_dc_system Character 10 Go into hibernate when on battery 74 © Novell, Inc. All rights reserved.
  • 75. Report Storing audit in ZCM for logged out user • Should end up with something like this • Note the internal names, we'll need them later 75 © Novell, Inc. All rights reserved.
  • 76. Report Linking ADF fields with CDF • ZCC, Configuration → Inventory → Collection Data Form – Scroll down list until you reach the ADFs entered previously • Each ADF will be populated by registry key representing environmental variable set by script that will be run from the gather bundle – Set each ADF to autofill and enter registry key • All registry keys are found under – HKLMSOFTWARENovellZenworksPowerInfo > LoggedIn > LoggedOut 76 © Novell, Inc. All rights reserved.
  • 77. Report Linking ADF fields with CDF for logged in • All registry keys are found under – HKLMNovellZenworksPowerInfoLoggedIn ADF Registry key value pwr_hibernate_state_ac_user pwr_hibernate_state_ac pwr_hibernate_state_dc_user pwr_hibernate_state_dc pwr_scheme_user pwr_scheme pwr_monitor_ac_user pwr_monitor_ac pwr_monitor_dc_user pwr_monitor_dc pwr_disk_ac_user pwr_disk_ac pwr_disk_dc_user pwr_disk_dc pwr_standby_ac_user pwr_standby_ac pwr_standby_dc_user pwr_standby_dc pwr_hibernate_ac_user pwr_hibernate_ac pwr_hibernate_dc_user pwr_hibernate_dc 77 © Novell, Inc. All rights reserved.
  • 78. Report Linking ADF fields with CDF for logged out • All registry keys are found under HKLMNovellZenworksPowerInfoLoggedOut ADF Registry key value pwr_hibernate_state_ac_system pwr_hibernate_state_ac pwr_hibernate_state_dc_system pwr_hibernate_state_dc pwr_scheme_system pwr_scheme pwr_monitor_ac_system pwr_monitor_ac pwr_monitor_dc_system pwr_monitor_dc pwr_disk_ac_system pwr_disk_ac pwr_disk_dc_system pwr_disk_dc pwr_standby_ac_system pwr_standby_ac pwr_standby_dc_system pwr_standby_dc pwr_hibernate_ac_system pwr_hibernate_ac pwr_hibernate_dc_system pwr_hibernate_dc 78 © Novell, Inc. All rights reserved.
  • 79. Bundle: Get Logged in 79 © Novell, Inc. All rights reserved.
  • 80. Bundle: Get logged in bundle actions: Install • Prepare for power management : Launch bundle – Run registry change bundle 80 © Novell, Inc. All rights reserved.
  • 81. Bundle: Get logged in Install action: Launch bundle • Launch bundle prepare • Wait for bundle to complete before proceeding 81 © Novell, Inc. All rights reserved.
  • 82. Bundle: Get logged in bundle actions: Launch • Get scheme : Launch Windows Executable – Run vbscript to get power information 82 © Novell, Inc. All rights reserved.
  • 83. Bundle: Get logged in Launch action: Launch windows executable • Runs vbscript which gathers active power scheme, writes to registry values and triggers inventory to populate CDF • Command: wscript.exe • Parameters: “%zenworks_home%”get-power.vbs “Logged-In” – Note placement of “ • Working folder: %zenworks_home% • Run as normal user • Wait before proceeding 83 © Novell, Inc. All rights reserved.
  • 84. Bundle: Get Logged out 84 © Novell, Inc. All rights reserved.
  • 85. Bundle: Get logged out bundle actions: Install • Prepare for power management : Launch bundle – Run registry change bundle 85 © Novell, Inc. All rights reserved.
  • 86. Bundle: Get logged out bundle actions: Launch • Set scheme : Launch Windows Executable – Run vbscript to create and activate scheme 86 © Novell, Inc. All rights reserved.
  • 87. Bundle: Get logged out Launch action: Launch windows executable • Runs vbscript which gathers active power scheme, writes to registry values and triggers inventory to populate CDF • Command: wscript.exe • Parameters: “%zenworks_home%”get-power.vbs “Logged-Out” – Note placement of “ • Working folder: %zenworks_home% • Run as SYSTEM user • Wait before proceeding for 10 seconds 87 © Novell, Inc. All rights reserved.