Solved

Scheduled Switch on to HP server

Posted on 2014-02-18
3
363 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

14 Experts available now in Live!

Get 1:1 Help Now