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


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

Posted on 2012-08-23
Medium Priority
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.
Question by:Akiraru
  • 3
LVL 20

Expert Comment

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.

Author Comment

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

Accepted Solution

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


Step 1 - HP Lights-Out Configuration Utility (CPQLOCFG.EXE)

Step 2 - HP Lights-Out XML Scripting Sample for Windows

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

Reset_Server.xml - from step 2

Author Closing Comment

ID: 38340168

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