default login for ILO

Hi Experts,

I have a non configured HP ILO 3.
Is it possible to login without reboot of the server.
Like DELL iDRAC is a default login possible ?
Eprs_AdminSystem ArchitectAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel Angel Perez MuñozCommented:
You can try with user/password provided with some HP systems. Maybe hponcfg could help: http://srvops.wordpress.com/2012/02/13/how-to-configure-ilo-from-command-line/
0
Eprs_AdminSystem ArchitectAuthor Commented:
Ok sounds good.
But on this server I have Linux installed.
So how to change and where the ILO settings ?
0
David Paris VicenteSystems and Comunications  Administrator Commented:
You can accomplish that with Perl scripting and xml

You can download some script examples from take a look here: Script examples for ILO Script Examples for ILO

Hope this helps.

Regards
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Miguel Angel Perez MuñozCommented:
You have got ILO user and pass?
0
Eprs_AdminSystem ArchitectAuthor Commented:
sorry I cannot find any script from your link....
0
Eprs_AdminSystem ArchitectAuthor Commented:
no, I have no user and no pass.
0
David Paris VicenteSystems and Comunications  Administrator Commented:
What do you mean when you saying
sorry I cannot find any script from your link....
When I access the link I´m redirected to a HP page with several  link scripts for windows and Linux, when I press one of the links send me to the script page where I can download the script.
0
Seth SimmonsSr. Systems AdministratorCommented:
not sure what model server you have but is there a plastic tag that slides out from the front of the server?
default ilo info should be there along with server serial number
0
Eprs_AdminSystem ArchitectAuthor Commented:
ok now I have the scripts for windows.
My server has linux installed.
Can I use the scripts also from remote from another server ?
0
Eprs_AdminSystem ArchitectAuthor Commented:
can I use the ADD_USER script ?
Because it ask for a login, but I dont have one.

<LOGIN USER_LOGIN="adminname" PASSWORD="password">
0
David Paris VicenteSystems and Comunications  Administrator Commented:
Hi,

Since you are not mention the Linux Version, this is a suggest for Linux with out reboot from the Linux console.

1.Check if the package is already installed or not using the below command.
# rpm -qf /sbin/hponcfg
hponcfg-1.x.x-x -> you will see a response similar to this if you have the package installed

2.List/Check the content of the package
# rpm -ql hponcfg-1.x.x-x
/sbin/hponcfg

3.Create a xml file like below or you can copy the same content and change the “mynewpassword" to your password

# vi passwd_reset_ilo.xml

<ribcl version=”2.0″>
<login user_login=”Administrator” password=”boguspassword”>
<user_info mode=”write”>
<mod_user user_login=”Administrator”>
<password value=”mynewpassword”>
</password>
</mod_user>
</user_info>
</login>
#

Open in new window


4. Run the below command to reset the Administrator password

#  hponcfg -f passwd_reset_ilo.xml -l log.txt
Firmware Revision = x.xx Device type = iLO Driver name = hpilo
Script succeeded

Now we will be able to login with mynewpassword in to ILO.


Hope this could lead you in the good way.
0
Eprs_AdminSystem ArchitectAuthor Commented:
ok this linux is a debian version and I am not very familiar with it.
is it also possible to start the script from a remote windows machine ?
0
David Paris VicenteSystems and Comunications  Administrator Commented:
Not remotely, but you can established a remote session, but you need to have access rights to the server.
Access to the server by SSH and follow the steps that I mention on my previous post.
On the Windows machine you will need PuTTy or a similar program.

Let us know.

Regards
David
0
Eprs_AdminSystem ArchitectAuthor Commented:
so when I can connect via ssh to the server I can run the commands, right ?
0
David Paris VicenteSystems and Comunications  Administrator Commented:
Yes. Because you are working remotely in the OS console.
0
Eprs_AdminSystem ArchitectAuthor Commented:
The 2nd line from your script shows a user login, but I have no login.
Is it then possible to use this script or do I have to use the reset script ?
0
David Paris VicenteSystems and Comunications  Administrator Commented:
Don´t worry with that just copy and paste the lines in the script, you just need to edit the 5º line for the password if you want. If you don't change it the password for administrator will be "mynewpassword".
0
Eprs_AdminSystem ArchitectAuthor Commented:
ok, can I use this script also for ilo version 3 ?
Because I wrote I have HP ILO 3.
0
David Paris VicenteSystems and Comunications  Administrator Commented:
Yes.
But when you run step 1 and you don´t obtain any response you will need to install hpconfig RPM for Linux, Hponcfg ships in the ProLiant Support Pack (PSP) or you could try download it here SmartStart Scripting Toolkit Linux Edition
0
Eprs_AdminSystem ArchitectAuthor Commented:
Confused.
When I connect via SSH, can I start your script or do I have to do more ?
0
David Paris VicenteSystems and Comunications  Administrator Commented:
If you are connected to the server by SSH a command shell appear, right?
Then follow the steps that I mention on a previous post.

On the SSH command line issue the following commands:
1. To check if the package is already installed or not using the below command.
 # rpm -qf /sbin/hponcfg
 hponcfg-1.x.x-x -> you will see a response similar to this if you have the package installed

 2.List/Check the content of the package
 # rpm -ql hponcfg-1.x.x-x
 /sbin/hponcfg

Then you will need to create the XML file, for that you can do it by vi or nano in Linux.
So again in your SSH command line issue the following:

 vi passwd_reset_ilo.xml

Then past the code and save the file, after this on SSH your command line issue the following command.
  hponcfg -f passwd_reset_ilo.xml -l log.txt

If a succeed message appears you are ready to go.

Regards
0
Eprs_AdminSystem ArchitectAuthor Commented:
Do you have these commands also for DEBIAN LINUX ?
0
David Paris VicenteSystems and Comunications  Administrator Commented:
What commands, the sintax is similar for all Linux distros.

 Are you having issues?
If you are can you tell us what they are?
0
Eprs_AdminSystem ArchitectAuthor Commented:
the rpm command is a REDHAT command not debian.
0
David Paris VicenteSystems and Comunications  Administrator Commented:
Hi Eprs_Admin,

rpm can exists  in both OS, but in Debian OS some times don´t have rpm installed because Debian developers advise to not do so, so you have to manage rpm installations with dpkg.
So in your case I think you will need to issue the following command:

dpkg -s hponcfg

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Paris VicenteSystems and Comunications  Administrator Commented:
I also advise to take a look here for HP support on Debian OS.
0
Eprs_AdminSystem ArchitectAuthor Commented:
ok thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.