Server Management - Remote Server Management
1752679 Members
5665 Online
108789 Solutions
New Discussion юеВ

Re: batch rename ilo name

 
gratchie
Occasional Contributor

batch rename ilo name


any ideas how I can batch rename ILO server name?
4 REPLIES 4
David Claypool
Honored Contributor

Re: batch rename ilo name

See http://www.hp.com/go/ilo

--> More iLO3 Documentation --> "HP ProLiant Integrated Lights-Out 3 v 1.05 Scripting and Command Line Guide, and
--> iLO Sample Scripts
gratchie
Occasional Contributor

Re: batch rename ilo name

Do you know how I can set variables when running hponcfg from the OA itself?

I'm trying to rename all nodes but when I do something like:

"hponcfg 1a test.xml hostname=foobar.com"

The server name becomes %hostname% instead of the defined variable.

Contents of TEST.XML













Jiri Konecny
Occasional Advisor

Re: batch rename ilo name

Don't know, if it helps, but we use modified RIBCL script Mod_Network_Setting.xml. Whole package of scripts can be donwloaded from HP Lights-Out XML Scripting Sample for Windows page (http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18964&prodSeriesId=1146658&swItem=MTX-84d9a19b43b84516ac2d26d01f&prodNameId=1135772&swEnvOID=1005&swLang=8&taskId=135&mode=5)

Script:
IBCL VERSION="2.1">










Replace {{HOSTNAME}} and {{DOMAIN}} with your values.

This RIBCL script then put to following command on RHEL 5 OS:
hponcfg -f Mod_Nettwork_Settings.xml
Pieter 't Hart
Honored Contributor

Re: batch rename ilo name

hponcfg has the commandline option:
/s namevaluepairs - Substitute variables present in input config file with values specified in "namevaluepairs"

is this what you are lokking for?