X4100s have a pretty cool integrated lights-out management card, but it doesn’t have an easily integrate with Conserver.

To fix, I created an expect script named “ilom-connect” like this:

#!/usr/bin/expect -f
expect { 
"(yes/no)?"    {exp_send "yes\r"; exp_continue; }
"password: " {exp_send "\r"; }
expect "\\-> "
send "cd /SP/console\r"
send "start\r"
expect "(y/n)?"
exp_send "y\r"

Then, in conserver:

console x4100 {
include sun-ilom;
exec ssh -l admin x4100-m;
type exec;
initcmd "/usr/local/sbin/ilom-connect";

Comments are closed.