- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: Configuring ILO boards automatically
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
тАО10-22-2004 01:26 AM
тАО10-22-2004 01:26 AM
Configuring ILO boards automatically
I'm trying to use the automatic HP utility for configuring ILO boards from an XML input file, and I cannot get it to work very well.
The script runs fine, the problem is more in the logistical handling. What I want to have is a generic script that I can use for each new server I install.
For that reason I was looking into using variables in the XML file, i.e.
or
however the XML file is read exactly as it is and the variables are not changed into real values like SERVER1 for %computername% or Stockholm for %location% (the variables exist on the machine that execute the script)
Is there any way to do this or must I use a new XML file for every server I install ?
Also, another problem I've run across is the login issue, we are using AD integrated login, but the boards will not recognize that until configured (of course), so I need to create a local user for configuration only.
Naturally I don't want to leave this user after configuring is complete so I tried to as the last command in the file use the command
which will not work since that user is the current logged in user.
Any good ideas on how to delete this installation user after installation, must I log out and login with an AD user ? I would prefer not since then that users password would be publicly available (to those who have access to the config files), are there any other ways of either removing the user, alternatively configuring a "raw" board without user creation/login ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2004 08:06 AM
тАО10-30-2004 08:06 AM
Re: Configuring ILO boards automatically
Are you familiar with Perl? There used to be a Perl script describing the things you want to do on the HP web site. I tried to find it and it is no longer there. I do have it, I will just have to find it later. In ther mean time, I found some documentation on HP that may help. Refer to appendix A.
Currently, there is no way to delete the logged in user from an XML script. I guess this was a safety mechanism developed by HP to keep people from deleting their last user account. The only way I have found is to log into the board through the web interface and then delete the user. Hopefully, HP will change it so we can delete all users within an XML script.
I will post the perl script for you when I find it.
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2004 07:02 PM
тАО10-31-2004 07:02 PM
Re: Configuring ILO boards automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 07:48 AM
тАО11-04-2004 07:48 AM
Re: Configuring ILO boards automatically
Look into the windows runonce key in the registry. Create a instance then ahve the script delete the file afterwards.
hth
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 10:38 AM
тАО11-04-2004 10:38 AM
Re: Configuring ILO boards automatically
What variables (be as complete as you can) would you like to have substitution-for? Or are you more interested in using the %VARIABLE% syntax to reference any environment variable (EV)?
Another approach would be to use a DOS batch file and echo the desired contents into an XML script. DOS supports %EV% substitution, so this might be an option. Then the batch file could spawn HPONCFG with the desired script. Perhaps substitute targeted content like:
echo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 08:05 PM
тАО11-07-2004 08:05 PM
Re: Configuring ILO boards automatically
The examples are directly out of the XML script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 08:08 PM
тАО11-07-2004 08:08 PM
Re: Configuring ILO boards automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 01:28 PM
тАО11-11-2004 01:28 PM
Re: Configuring ILO boards automatically
The perl approach is also feasible. It does not require a perl runtime module on all hosts, only on the system that you would script from. More information on perl is available on the iLO downloads page when you select Linux as your OS. However, Linux is not a perl requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2004 06:59 AM
тАО11-15-2004 06:59 AM
Re: Configuring ILO boards automatically
As promised, I am submitting a perl script to compliment the PDF file I previously posted. I can no longer find this script on the HP website.
I realize the solution will be similiar to the DOS echo and replace mentioned earlier but, for the sake of completenes, I have included the script.