[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Scheduled Switch on to HP server

Posted on 2014-02-18
3
Medium Priority
?
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 56

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 56

Accepted Solution

by:
andyalder earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The 6120xp switches seem to have a bug when you create a fiber port channel when you have a UCS fabric interconnects talking to them.  If you follow the Cisco guide for the UCS, the FC Port channel will never come up and it will say that there are n…
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.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

650 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