Re: Power profile bios setting questions (781 Views)
Reply
Neighborhood Admin
chuckk281
Posts: 3,211
Registered: ‎01-09-2007
Message 1 of 2 (795 Views)

Power profile bios setting questions

Question from Jenny:

 

************

 

Is there any way to get the HP power profile bios setting thru Insight Control/SIM or script? And also be able to change it to maximum performance ?

 

****************

 

Great info from Dave:

 

*************

 

Below is the sample from the iLO scripting sample.

Change the user/password and the number in red to the power setting you need…

 

I use this for blades in VDI.

 

<!--         RIBCL Sample Script for HP Lights-Out Products          -->

<!--Copyright (c) 2005,2007 Hewlett-Packard Development Company, L.P.-->

 

<!-- Description:  This is a sample XML script to set the Power      -->

<!--               Regulator feature on the host server in           -->

<!--               Integrated Lights-Out (iLO)                       -->

 

<!--               The values are                                    -->

<!--                     1 = OS Control Mode (Disabled Mode for iLO) -->

<!--                     2 = HP Static Low Power Mode                -->

<!--                     3 = HP Dynamic Power Savings Mode           -->

<!--                     4 = HP Static High Performance Mode         -->

<!--               Note: Value 4 is availble only for iLO 2 firmware -->

<!--                     version 1.20 and later.                     -->

<!--                     Some servers only support subset of the     -->

<!--                     values.                                     -->

 

<!-- NOTE:  You will need to replace the USER_LOGIN and PASSWORD     -->

<!--        values with values that are appropriate for your         -->

<!--        environment.                                             -->

 

<!--        Use CPQLOCFG.EXE ver 2.26 or greater with this script.   -->

 

<!--        This script was written for iLO 2 firmware version 1.30  -->

<!--        release.                                                 -->

 

<!--        See "HP Integrated Lights-Out Management Processor       -->

<!--        Scripting and Command Line Resource Guide" for more      -->

<!--        information on scripting and the syntax of the RIBCL     -->

<!--        XML.                                                     -->

 

<!--        Firmware support infomation for this script:             -->

<!--            iLO 2 - Version 1.10 or later.                       -->

<!--              iLO - Version 1.80 or later.                       -->

<!--         RILOE II - None.                                        -->

 

<RIBCL VERSION="2.0">

  <LOGIN USER_LOGIN="adminname" PASSWORD="password">

  <SERVER_INFO MODE="write">

    <!-- Modify the HOST_POWER_SAVER attribute to modify power saver on the host server -->

    <SET_HOST_POWER_SAVER HOST_POWER_SAVER="4"/>

  </SERVER_INFO>

  </LOGIN>

</RIBCL>

 

*************

 

Any other comments for Jenny?

Neighborhood Admin
chuckk281
Posts: 3,211
Registered: ‎01-09-2007
Message 2 of 2 (781 Views)

Re: Power profile bios setting questions

Input from Juha:

 

***************

 

There is also a bit easier way and a place for promoting the usage of Insight Control features:

 

1. Using Insight Control and access to servers (which need to be using iLO advanced licensed, which is part of Insight Control anyway).

 

2. Start Data Center Power Control from Tools  - go to the Define Rules

 

webpic153.jpg

 

Define your targets, e.g.

 

Name: LOW all VM hosts (this would be most likely to be Collection or rules later on)

 

New Step: Action: Power Level – Low Power / Or what you want

 

Act on Systems: where (your conditions here, I have exception for Gate server, as I do not have iLO access for that)

 

Your screen should look like this:

 

webpic154.jpg

 

 

Save rule.

 

Test rule (use simulate) – this is excellent place to show to customers difference of using scripts compared to HP tools – that being said, scripts can be capsulated to the DCPC tool itself…

 

For creating opposite, just copy rule, rename it and you are done.

 

************************

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.