Solved

Scheduled Switch on to HP server

Posted on 2014-02-18
3
366 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
ID: 39867483
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
ID: 39867580
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
ID: 39867891
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 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