Server Management - Systems Insight Manager
1748151 Members
3627 Online
108758 Solutions
New Discussion юеВ

Re: script to send the start command to the ILO

 
SOLVED
Go to solution
Richard Paradis
New Member

script to send the start command to the ILO

I'm looking to create a script that I can use to send the start command to multiple ILO's.

Basically what I'm looking at doing is Greening our server room by shutting down servers not used at night and I'd like to use a script to turn the servers back on at say 5AM utilizing the HP ILO. Any help is greatly appreciated
Thanks
4 REPLIES 4
David Claypool
Honored Contributor
Solution

Re: script to send the start command to the ILO

There already is a tool in HP SIM that lets you do that. Select Tools --> Management Processor --> HP ProLiant iLO --> Power On. Through the wizard select the iLOs of the machines you want to turn on and instead of selecting [Run Now] at the end, use the [Schedule] button to run the command against all of them every day at 5AM.
Paede
Advisor

Re: script to send the start command to the ILO

Hi

i'm using this scripts to power on-off multiple server via iLO ;-)
Paede
Advisor

Re: script to send the start command to the ILO

Hmm, "zip" attachment does not work :-(

here is the "power-on script":
@echo off
set iLO_uN=username
set iLO_PW=password
set iLO_XML=Set_Host_Power_on.xml
for %%i in (
10.0.0.1
10.0.0.2
10.0.0.3
10.0.0.4
) do (CPQLOCFG.EXE -s %%i -f %iLO_XML% -u %iLO_uN% -p %iLO_PW%)

and here the XML file:













hope this helps. Paede ;-)
Keumi
New Member

Re: script to send the start command to the ILO

Hi,

 

I'm trying to use HPSIM to power-on a list of servers but an error occurs :

 

"This tool cannot run on ******-****** as it does not pass the conditions required for running it.
WSMAN must be greater than or equal to 1.0"

 

What is WSMAN? Where I can download it?

 

Thanks