Solved

Scheduled Switch on to HP server

Posted on 2014-02-18
3
361 Views
Last Modified: 2014-11-19
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
Comment
Question by:GenieMaster
  • 2
3 Comments
 
LVL 55

Expert Comment

by:andyalder
Comment Utility
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
 

Author Comment

by:GenieMaster
Comment Utility
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
 
LVL 55

Accepted Solution

by:
andyalder earned 500 total points
Comment Utility
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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now