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 "yesr"; exp_continue; }
"password: " {exp_send "r"; }
}
expect "\-> "
send "cd /SP/consoler"
send "startr"
expect "(y/n)?"
exp_send "yr"
Then, in conserver:
console x4100 {
include sun-ilom;
exec ssh -l admin x4100-m;
type exec;
initcmd "/usr/local/sbin/ilom-connect";
}