ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

BIOS settings change in all servers in a rack

SOLVED
Go to solution
smanikrajan
Occasional Advisor

BIOS settings change in all servers in a rack

Hi

 

Please help with utility that can be used to configure BIOS and collect information from BIOS in multiple servers through command line

 

Have to install HP Rack with 20 DL380 servers.To do OS installation on all these servers through pxe ,we need to collect the MAC address of NICs in all these servers and also need to change the boot order in all the servers.

 

We need the HP utility to do this from command line in all these servers at one go from the management network.

 

following tool says it can do it.But in the documentation no where it is mentioned how to do it in multiple hosts

http://h17007.www1.hp.com/us/en/enterprise/servers/solutions/info-library/index.aspx?cat=hp_scripting_toolkit#.UycFUYW2Pj4

 

 

P.S. This thread has been moved from Servers > General to ProLiant Servers (ML,DL,SL). - Hp forum Moderator

5 REPLIES
Jimmy Vance
HPE Pro
Solution

Re: BIOS settings change in all servers in a rack

There are a few different ways to accomplish what I think you are attempting to do.

My assumption is your management network is where the iLO is plugged in.

iLO can be uses to get/set boot order, power the system on/off, get the MAC addresses along with many other items using "hponcfg". cpqlocfg.exe and "locfg.pl" to send XML formatted commands to iLO.

The HP scripting toolkit you reference contains a set of tools that can be used to configure the server. There are several tools, but the primary tools are "conrep" to read/write system ROM settings, "hponcfg" to read/write iLO settings and "hpssacli" to read/write Smart Array controller settings.


I'm most familiar with using the HP Scripting Toolkit for Linux. Using the toolkit and a PXE server one can fully automate the provisioning of ProLiant rack, tower and blade servers.


You can use iLO XML to gather the MAC addresses of the system, you can also use iLO to set the boot order. I do want to ask why you want to change the boot order. If they are new systems, during boot they should fall through to PXE since the drives out of the box have nothing bootable loaded. Once you load the OS, they would then boot from disk and not restart the PXe installation cycle.

One thing you cannot do over the iLO scripting interface is configure the Smart Array controller.


Here are links to both tool packages I've mentioned along with their documentation.


HP Scripting Toolkit:
Http://www.hp.com/go/toolkit - click on the download button, the downloads are listed near the bottom of the page, version 9.60 is the most current.

 

Users guides for the toolkit can be found here:
http://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c04083436 - v9.60 Windows
http://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c04083434 - v9.60 Linux


HP iLO 4 Scripting and Command Line Guide:
http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/?spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.cachetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c03334058-13%257CdocLocale%253Den_US&javax.portlet.endCacheTok=com.vignette.cachetoken


HP Lights-Out XML Scripting Sample for Windows:
http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5228286&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253DMTX_acf881e4d6704f98bedbbbb534%257CswEnvOID%253D4024%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vig...

HP Lights-Out XML PERL Scripting Sample for Linux:
http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5228286&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253DMTX_40146265acb34a14ac1ae75e2c%257CswEnvOID%253D4103%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vig...

(note: the above two packages essentially contain the same content, they both contain the locfg.pl PERL script, for Windows you still need to down load cpqlocfg.exe)

 

Latest version of cpqlocfg for Windows:
http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253DMTX_f1a792c45e9648069b7dd13f63%257CswEnvOID%253D%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken


The XML file Get_Host_Data.xml is the one I used to get MAC address information. This XML dumps the SMBIOS table, record type 209 lists the NIC information. Set_One_Time_Boot_Order, or Set_Persistent_Boot_Order are the other files you will want to look at


Hope this helps
--jv

 

 




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
smanikrajan
Occasional Advisor

Re: BIOS settings change in all servers in a rack

Hello Jimmy

 

Sincere thanks for such a detailed response.I will go through the suggested materials.

 

Can this toolkit be used to automate ILO IP configuration as well.We would have  a few HP racks coming in ,configuring ILOs in each and every servers in the is rack going to be a tedious effort. Trying for options to automate this as well.If there are any suggestions on this part,it will help as well

Jimmy Vance
HPE Pro

Re: BIOS settings change in all servers in a rack

Yes, using the hponcfg utility you can configure iLO




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
smanikrajan
Occasional Advisor

Re: BIOS settings change in all servers in a rack

Based on my analysis ILOs of HP Rack servers were DHCP enabled by default(In Factory).Since there is no DHCP option in our DC we can only configure ILO network settings server by server.Is my understanding correct ot do you have any other suggestion to automate the network configuration of the ILOs of the rack in some other way.

Jimmy Vance
HPE Pro

Re: BIOS settings change in all servers in a rack

If you can't PXE boot into some type of utility, then you are correct, server by server is pretty much the only way




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!