Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

Scheduled Switch on to HP server

We have a few HP Proliant Servers (HP DL380 G4 and HP DL360 G5)
At present we run a daily scheduled task to switch the servers off at night to save costs on running. In order to switch the servers back on we need to either manually switch it on or connect to the ILO to Remote switch on the servers. From my understanding you can run a script that communicates to the HP ILO that will switch the servers on automatically. I would appreciate if someone can assist me with such a script and how to deploy it. Thank you.
0
GenieMaster
Asked:
GenieMaster
  • 2
1 Solution
 
andyalderCommented:
Various ways, there's a telnet example and a RIBCL example of powering the server on in the guide at http://h10032.www1.hp.com/ctg/Manual/c02237707.pdf

One caveat however, you can't run the telnet from the shut-down server obviously so you'll have to do it through a scheduled task on another machine that's still running.
0
 
GenieMasterAuthor Commented:
Thanks for your advice. I will telnet from another machine on the network that can communicate to the ILO Servers that are shut down. For example if server 1's ILO IP was 192.168.100.50 and the ILO username was "admin" with the password of "pass123" what would be the telnet statement I would need to run? I tried to work it out by reviewing the link supplied but am confused. Thanks
0
 
andyalderCommented:
Telnet's really manual since you're prompted for user and password.

use CPQLOCFG.EXE -s <servername> -f c:\myscripts\poweron.xml

poweron.xml file:

<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="admin" PASSWORD="password123">
<SERVER_INFO MODE="write">
<PRESS_PWR_BTN>
</SERVER_INFO>
</LOGIN>
</RIBCL>



There's also a Compaq example that uses <SET_HOST_POWER HOST_POWER="No"/> to turn it off.

CPQLOCFG.EXE is in the SmartStart Scripting toolkit for Windows, http://www8.hp.com/us/en/products/server-software/product-detail.html?oid=5219389#!tab=features

Once it works manually using CPQLOCFG.EXE then use Windows scheduler to make it run at a certain time.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now