Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

ilo scripting

SOLVED
Go to solution
Highlighted
Capel
Occasional Advisor

ilo scripting

hi guys

I have this doubt CPQLOCFG.EXE let me do changes to ilo remotely OK fine

for example:
cpqlocfg -s x.x.x.x -f adduser.xml -u Administrator -p password

But I was checking this from Add_User.xml
.....



...

I think that ip range does not mean that I take a IP ilos range and can modify all I want or Yes?

my question is If I need to change a range of ilo address x.x.x.1 - x.x.x.15 for example
I need to run the cpqlocfg 15 times right?

I think I can use SIM too

regards

2 REPLIES
LC...
Occasional Contributor
Solution

Re: ilo scripting

Those 3 tags are only supported by RILOE II. Besides, CLIENT_RANGE value is the ip range client (browser) allows to access the RILOE II.

For your question, yes, you have to run that 15 times or use SIM.

God Bless!
LC...
Capel
Occasional Advisor

Re: ilo scripting

oh


thanks a lot for the IP range explanation

and BTW i found some ways how to run this

1.

This on command line

for /f %i in (c:\ilo_script\ip.txt) do cpqlocfg -s %i -f test.xml -u Administrator -p Password

where ip.txt has the ip ilo addresses you want to modify


2. Creating a very basic bat file, edit a file and save it as .bat and execute, where start is going to open a cmd windows for every ip

start cpqlocfg -s x.x.x.1 -l log.txt -f test.xml -u Administrator -p Password
start cpqlocfg -s x.x.x.2 -l log.txt -f test.xml -u Administrator -p Password

3. Using HP SIM

4. or someone with programming skills more that mine

Regards
//Add this to "OnDomLoad" event