- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- BIOS settings change in all servers in a rack
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
03-25-2014 07:07 AM - last edited on 05-26-2014 07:34 PM by Maiko-I
03-25-2014 07:07 AM - last edited on 05-26-2014 07:34 PM by Maiko-I
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
P.S. This thread has been moved from Servers > General to ProLiant Servers (ML,DL,SL). - Hp forum Moderator
Solved! Go to Solution.
- Tags:
- bios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-26-2014 01:39 PM
03-26-2014 01:39 PM
SolutionThere 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)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-26-2014 08:23 AM
05-26-2014 08:23 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-27-2014 08:46 AM
05-27-2014 08:46 AM
Re: BIOS settings change in all servers in a rack
Yes, using the hponcfg utility you can configure iLO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-02-2014 01:18 AM
06-02-2014 01:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-02-2014 07:05 AM
06-02-2014 07:05 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2018 12:26 AM
12-22-2018 12:26 AM
Re: BIOS settings change in all servers in a rack
Hello Jimmy,
The links provided by you are no longer exixtts, some are redirecting to the hp site. Please help me with the docs as i am looking for the solution since long. we have 70 rack servers dl360 and dl380 as well. i want to edit the bios of all the servers in one go from a tool.
Best Regards,
Vikas Reddy
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP