Hello,

We are encountering a little problem with bmcsetup on x3550M4 nodes. At 
discovery time, their IMM is configured as "dedicated" and "DHCP with 
failover". In most cases after discovery, bmcsetup fails with the 
following error messages :

/bin/bmcsetup : line 45 : 5414 Terminated
Auto detecting LAN channel ... Detected LAN channel 1
Setting LAN IP Address to xx.xx.xx.xx (which is the proper address we want 
to configure the IMM with)
LAN Parameter Data does not match ! Write may have failed
... 2 lines repeated 15 times
Setting LAN Subnet Mask to 255.255.252.0
LAN Parameter Data does not match ! Write may have failed
... 2 lines repeated 15 times
Setting LAN Default Gateway IP to yy.yy.yy.yy (which is the proper address 
we want to configure the IMM with)
LAN Parameter Data does not match ! Write may have failed
... 2 lines repeated 15 times

It then sets USERID and starts blinking the identity led, but the IMM is 
now "shared" and "DHCP with failover" so it seems the change to "shared" 
worked fine, but it then received and address from the dhcpd server out of 
the discovery range and refuses to become static.

Work around is either :
# nodeset <node name> bmcsetup
because upon second try it seems to work, but it only happens once the led 
blinks which takes a long time

or
use an expect script to force IMM to static using the dhcp address we 
retrieve in /var/log/messages on the xCAT server
 
#!/usr/bin/expect -f
#
# Change l'IMM to static to help bmcsetup
#
# 1/ find dhcpd addresses given to IMMs
#    # tail -10000 /var/log/messages | grep IMM | grep DHCPACK | \
#    >    awk '{print $8}' | sort -u
# 2/ Launch for each address given by the previous command
# BEWARE changing to static locks the ssh connection
# you may need Ctrl-c to retrieve your shell
#
set ip [lrange $argv 0 0]

set force_conservative 0  ;# set to 1 to force conservative mode even if
                          ;# script wasn't run conservatively originally
if {$force_conservative} {
        set send_slow {1 .1}
        proc send {ignore arg} {
                sleep .1
                exp_send -s -- $arg
        }
}
set timeout -1
spawn $env(SHELL)
match_max 100000
expect "# "
send -- "ssh USERID@${ip}\r"
expect "Password: "
send -- "PASSW0RD\r"
expect -exact "system> "
send -- "ifconfig eth0 -c static\r"
send -- "exit\r"
send -- "exit\r"
expect eof

We reproduced the error the following way
makedhcp -d <nodename>
chdef <nodename> mac=""
service dhcpd restart
Ctrl-Alt-Del in console
F1 to get to setup
Reset IMM -> this reconfigures IMM as "dedicated" "DHCP with fail over"
Ctrl-Alt-Del

Any idea what is working improperly ?

Thank you for your help.

Best regards,



Antoine Tabary
 17 Avenue De L'europe

Certified HPC I/T Specialist
 Bois Colombes Cedex, 92275
6520AA
 France
ITS
 



 



 

e-mail:
antoine.tab...@fr.ibm.com
 


 
 


Sauf indication contraire ci-dessus:/ Unless stated otherwise above:
Compagnie IBM France
Siège Social : 17 avenue de l'Europe, 92275 Bois-Colombes Cedex
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 653.242.306,20 ?
SIREN/SIRET : 552 118 465 03644 - Code NAF 6202A 

<<image/gif>>

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to