Infos

Sie befinden sich aktuell in den Techblog - Tim Wanierke Blog-Archiven für den folgenden Tag 28.1.2009.

Calendar
Januar 2009
M D M D F S S
    Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  

Archive für 28.1.2009

How to configure HP ILO Boards usinf HPONCFG

1. I installed SNMP because it was a preprequesite for HP Insight Management Agents.
2. I dowloaded and installed the HP Insight Management Agents.
3. I then downloaded HP Lights-Out Online Configuration Utility.
4. I just used WinRAR to extract the contents into C:\hp\ilo. I also extracted the zip file contained within the initial archive.
5. I then downloaded the HP Lights-Out XML Scripting Sample for Windows (Linux users can download the files in tgz format.) extracted it and found the file I was looking for –

Administrator_reset_pw.xml

<ribcl VERSION=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpass”/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

6. Using notepad, I opened up the sample file and modified it slightly. Initially, I just removed the LOGIN and ran the file but HPONCFG gave me a syntax error. I then added it back and gave the Administrator a bogus password. Apparently, the LOGIN line is required for syntax reasons but it is not actually processed.
7. Next, I opened a command line and changed directories to C:\hp\ilo and typed the following:

HPONCFG.exe /f Administrator_reset_pw.xml /l log.txt > output.txt

8. I opened up Internet Explorer, navigated to my iLO machine and viola! I was able to login as Administrator.

If changing Administrator’s password seems too scary, you can also add another user with administrator privileges. You can then login as that user and change the Administrator password via the web console. Use the following code, suited to your liking:

add_user.xml

<ribcl version=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspass”>
<user_INFO MODE=”write” >
<add_USER
USER_NAME=”Tim”
USER_LOGIN=”Tim”
PASSWORD=”mynewpass”>
<reset_SERVER_PRIV value = “Y” />
<admin_PRIV value = “Y” />
</add_USER>
</user_INFO>
</login>
</ribcl>

Other cool samples:

ModNet.xml

<RIBCL VERSION=”2.0″>
<LOGIN USER_LOGIN=”Administrator” PASSWORD=”adminPassword”>
<RIB_INFO MODE=”read”>
<GET_NETWORK_SETTINGS/>
</RIB_INFO>
</LOGIN>
</RIBCL>

iLORestart.xml

<RIBCL VERSION=”2.0″>
<LOGIN USER_LOGIN=”Administrator” PASSWORD=”adminPassword”>
<RIB_INFO MODE=”write”>
<RESET_RIB/>
</RIB_INFO>
</LOGIN>
</RIBCL>

Many thx to our HP Guru “Jürgen Kopp” to bring me to this solution !!!

Restart PcAnywhere service

On some servers there is PcAnywhere installed. PcAnywhere is listed as a service on the server.
This service can be restarted normaly only when you are logged on to the server on the console session.

Problem:
Login to a server via PcAnywhere is not possible.

Solutions:
Solution 1: ( access to the console session is possible )

1. Logon to the console session of the server via the “Remote Board ( ILO or DRAC )” if nobody has this session in use.
Do not use the RDP client !!!
2. From this session you can restart the service “pcAnywhere Host-Modul”.
3. Check if you can access the server via “PcAnywhere”.
Solution 2: ( access to the console session is not possible )

1. Logon to the server via RDP.
2. Open the “services.msc” SnapIn.
-> Select the service “pcAnywhere Host-Modul”.
-> Open the “Properties” of this service.
-> Select the “Recovery” tab.
-> Change the setting of the “First failure:” item to “Restart” the service.
3. Kill the process “awhost32.exe” using the command “pskill -t awhost32.exe”
4. The service will be restarted itself.
5. Check if the server is accessable via PcAnywhere again.