[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: integration with HP's iLo ?

Anders Nordby anders@fupp.net
Tue, 8 Aug 2006 06:48:13 -0700 (PDT)


Hi,

An employee from HP once sent me this config example:

###########################################################################
# Sample conserver.cf file for accessing iLO Virtual Serial Port consoles #
###########################################################################

# Requires conserver v8.1.8 or later from http://www.conserver.com/

access *  { trusted localhost; }
                                                                                
config *  { daemonmode on; logfile /var/log/conserver.log; }                    
                                                                                
default * { master localhost; rw *; }

#
# Default settings for all iLO Virtual Serial Port consoles
#
default ilo-vsp {
        type host;
        port 23;
        # The iLO Username and Password are passed as the first and
        # second parameters of the ilo-vsplogin script:
        initcmd "/usr/local/etc/ilo-vsplogin Administrator password";
}

console dl380g4 { include ilo-vsp; host 16.100.225.138; }
console dl360g4 { include ilo-vsp; host 16.100.226.163; }

And then, the script:

#!/usr/bin/expect -f
#####################################################################
# Sample expect script for automating iLO VSP Logins with conserver #
#####################################################################

# Hardware Supported: ProLiant DL360 G4, DL380 G4, BL30p, etc.
# iLO Firmware Version Required: v1.60
# iLO must have Telnet logins enabled
# Virtual Serial Port must be configured in RBSU
# Operating System must be running a console on the VSP

set send_slow {1 0.02}
set username [lindex $argv 0];
set password [lindex $argv 1];

expect "Name:  "
send -s "$username\r"

expect "ssword: "
send -s "$password\r"

expect "iLO> "
send -s "vsp\r"

You would need to enable telnet then however.

Cheers,
Anders.

On Mon, Aug 07, 2006 at 04:27:34PM -0700, matthew zeier wrote:
> Has anyone a working config to work with HP's iLo?  I have a number of 
> machines running Linux and would love to log console output.
> 
> -- 
> matthew zeier | Network Engineer | Mozilla Corp. | (650)903-0800 x219
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users


-- 
Anders.