Monthly Archives: May 2011

Available Commands for HP iLO

The last time we discussed on how to access the HP iLO. But we need CLI commands for us to be able to further troubleshoot our hardware. Just like we did for Sun / Oracle ALOM – here are the commands that one can use for HP iLO.

DMTF SMASH CLP Commands:

help    : Used to get context sensitive help.
show    : Used to show values of a property or contents of a collection target.
create  : Used to create new user account in the name space of the MAP.
Example: create /map1/accounts1 username=<lname1> password=<pwd12345> name=
<dname1> group=<admin,config,oemhp_vm,oemhp_rc,oemhp_power>

delete  : Used to delete user account in the name space of the MAP.
Example: delete /map1/accounts1/<lname1>

load    : Used to move a binary image from an URL to the MAP. The URL is
limited to 80 characters
Example : load -source http://192.168.1.1/images/fw/iLO2_130.bin

reset   : Used to cause a target to cycle from enabled to disabled and back to
enabled.

set     : Used to set a property or set of properties to a specific value.
start   : Used to cause a target to change state to a higher run level.
stop    : Used to cause a target to change state to a lower run level.
cd      : Used to set the current default target.
Example: cd targetname

exit    : Used to terminate the CLP session.
version : Used to query the version of the CLP implementation or other CLP
elements.

oemhp_ping    : Used to determine if an IP address is reachable from this iLO 2.
Example : oemhp_ping 192.168.1.1 , where 192.168.1.1 is the IP address that you
wish to ping

oemhp_loadSSHKey    : Used to authorize a SSH Key File from an URL The URL is
limited to 80 characters
Example : oemhp_loadSSHKey -source
http://UserName:[email protected]/images/SSHkey1.ppk

HP CLI Commands:

POWER    : Control server power.
UID      : Control Unit-ID light.
NMI      : Generate an NMI.
VM       : Virtual media commands.
VSP      : Invoke virtual serial port.
TEXTCONS : Invoke Remote Text Console on supported platforms.
This entry was posted in Uncategorized on by .

People who work with computers have spare time

When your work is related to computer either your a developer, sysadmin, hacker, artist, consultant, or programmer – let’s admit it, we all have our own little spare time. Here is an illustration that I saw while wandering around the web.

Why People seem to have Spare Time

Thanks to Jaymz for the image.

This entry was posted in Uncategorized on by .

Available Commands for Sun / Oracle ALOM

There are times that we really rely on the manual (man) pages when it comes to getting the right options for a certain command under UNIX boxes. But when it comes to Sun/Oracle Advanced Lights Out Manager (ALOM) we can count on with the help command. Here are the commands that you can have with Sun/Oracle Advanced Lights Out Manager

sc> help
Available commands
——————
poweron {FRU}
poweroff [-y] [-f]
removefru [-y] {FRU}
reset [-y] [-x]
break [-y]
bootmode [normal|reset_nvram|diag|skip_diag|bootscript=”string”]
console [-f]
consolehistory [-b lines|-e lines] [-g lines] [-v] [boot|run]
showlogs [-b lines|-e lines] [-g lines] [-v]
setlocator [on|off]
showlocator
showenvironment
showfru
showplatform [-v]
showsc [-v] [param]
shownetwork [-v]
setsc [param] [value]
setupsc
showdate
setdate [[mmdd]HHMM | mmddHHMM[cc]yy][.SS]
resetsc [-y]
flashupdate [-s IPaddr -f pathname] [-v]
setdefaults [-y] [-a]
useradd <username>
userdel [-y] <username>
usershow [username]
userpassword <username>
userperm <username> [c][u][a][r]
password
showusers [-g lines]
logout
help [command]

Sample for help for command showenvironment:

sc> help showenvironment
This command displays the environmental status information available to the SC for the managed system.

This entry was posted in Uncategorized on by .

[How To] Access HP iLO via SSH

There are times that we need to do maintenance on a system and we need to connect to its hardware or system controller. With HP boxes they are called HP Integrated Lights-Out (iLO).

Here are the steps to gain access to HP iLO thru Command Line Interface (CLI) via SSH

[email protected]# ssh [email protected]
[email protected]'s password:
User:Administrator logged-in to linux-mgmt.corp.ads(142.178.232.97)
iLO 2 Standard Blade Edition 2.00 at 11:16:29 Jun 21 2010
Server Name: linux
Server Power: On

</>hpiLO-> VSP

Starting virtual serial port.
Press 'ESC (' to return to the CLI Session.
          ^----- TAKE NOTE OF THE Escape Sequence

</>hpiLO-> Virtual Serial Port active: IO=0x03F8 INT=4

You have new mail in /var/spool/mail/root
linux#

</>hpiLO-> exit
status=0
status_tag=COMMAND COMPLETED

CLI session stopped
Received disconnect from 142.178.232.97: 11: Client Disconnect
[email protected]#

See you on my next note!

This entry was posted in Uncategorized on by .

UNIX Note is BACK!!!

It has been a while that I’m gone but the wait is over. Expect more relevant posts and (hopefully) frequent updates from your friendly UNIX SysAdmin from UNIX Note.

I will also try to find other SysAdmin that would like to write for our little site.

I’m also thinking of adding Android OS to some of the news as I’m currently inclined and support that ecosystem.

See you on my next note!

This entry was posted in Uncategorized on by .