[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to remote power shutdown/reset servers with iLO 2/3 (HP DL360 G6/G7) from command line?

Posted on 2012-08-23
4
Medium Priority
?
7,653 Views
Last Modified: 2012-08-28
I have server under remote monitoring and I want to reset it remotely from Windows command line even if OS fail.

System from I want to reset server remotely not a HP server.
0
Comment
Question by:Akiraru
  • 3
4 Comments
 
LVL 20

Expert Comment

by:wolfcamel
ID: 38328033
there is a dos commanc "shutdown" - however if you want to reboot it even if the OS fails then you are stuck.

I have seen some UPSs with a LAN interface that you may be able to remotely connect to and then restart the power.
0
 

Author Comment

by:Akiraru
ID: 38328037
I can access iLO over HTTP, but I need to reset server power from script.
0
 

Accepted Solution

by:
Akiraru earned 0 total points
ID: 38328050
Found answer by myself ;)

Need:

Step 1 - HP Lights-Out Configuration Utility (CPQLOCFG.EXE)
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&swItem=MTX-5ee197c5bd7641359f45d876b1&jumpid=reg_R1002_USEN

Step 2 - HP Lights-Out XML Scripting Sample for Windows
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18964&prodSeriesId=4154735&prodNameId=4154847&swEnvOID=4025&swLang=8&mode=2&taskId=135&swItem=MTX-2e178c5435a742d5bbb60a3b0c

Example for reset server power:
cpqlocfg -s 192.168.2.75 -f Reset_Server.xml -u username -p password

Reset_Server.xml - from step 2
0
 

Author Closing Comment

by:Akiraru
ID: 38340168
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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…
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

872 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