- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: How to use a script to power off and reboot a ...
Server Management - Remote Server Management
1748038
Members
5223
Online
108757
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2007 05:02 AM
тАО03-22-2007 05:02 AM
How to use a script to power off and reboot a system using iLO
We have about 100 servers in a server room that isn't on the Data Center standard (it is a overflow room, our current DC is running out of power). The issue is that once a while the room get over heated and all the server were shut down. So we have to manually use ILO to reboot them one by one. anyone have any idea on how we can create a script that can power off a server remotely and power them back on using ILO? Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2007 04:22 PM
тАО03-22-2007 04:22 PM
Re: How to use a script to power off and reboot a system using iLO
You can use CPQLOCFG utility to remotely execute XML scripts to Power_On/Power_Off servers. The utility can be downloaded from http://www.hp.com/servers/lights-out site, softwares and drivers link.
You can also download the sample scripts available in the same site for doing various other activites with iLO.
CPQLOCFG needs iLO and user credentials to execute. You can have dummy values inside the script and use command line parameters which will override the values inside the script for each server.
I have attached the Set_Host_Power.xml along with this message.
You can also download the sample scripts available in the same site for doing various other activites with iLO.
CPQLOCFG needs iLO and user credentials to execute. You can have dummy values inside the script and use command line parameters which will override the values inside the script for each server.
I have attached the Set_Host_Power.xml along with this message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2007 08:13 AM
тАО10-12-2007 08:13 AM
Re: How to use a script to power off and reboot a system using iLO
Hello,
This is not working correctly. I have Bl 20 G3 and the ilo firmware is 1.91 with the latest Windows 2003 Extensions and Driver.
I ran the script I see in the ilo log that the power is set to off, but the server does not shut down.
This is not working correctly. I have Bl 20 G3 and the ilo firmware is 1.91 with the latest Windows 2003 Extensions and Driver.
I ran the script I see in the ilo log that the power is set to off, but the server does not shut down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2007 09:44 AM
тАО10-12-2007 09:44 AM
Re: How to use a script to power off and reboot a system using iLO
Some good news and some bad news.
Good news:
The attached sample script shows how to force the host off. This is basically using the press-and-hold option. It is a modified "Set_Host_Power.xml" sample script.
Bad news:
If the host is off, it will turn it on. So it is not a "turn off" script per se.
Etc:
iLO 2 has addressed this with some scripting updates, but not iLO 1. See the Scripting and Command-Line guide for details.
Good news:
The attached sample script shows how to force the host off. This is basically using the press-and-hold option. It is a modified "Set_Host_Power.xml" sample script.
Bad news:
If the host is off, it will turn it on. So it is not a "turn off" script per se.
Etc:
iLO 2 has addressed this with some scripting updates, but not iLO 1. See the Scripting and Command-Line guide for details.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP