On Mon, Jan 17, 2011 at 12:28 PM, Szabo, Steve G <steve.g.sz...@tdsecurities.com> wrote: > # ipmitool lan print > Set in Progress : Set Complete > Auth Type Support : NONE MD2 MD5 PASSWORD > Auth Type Enable : Callback : > : User : NONE MD2 MD5 PASSWORD > : Operator : NONE MD2 MD5 PASSWORD > : Admin : NONE MD2 MD5 PASSWORD > : OEM : > IP Address Source : Static Address > IP Address : 0.0.0.0 > Subnet Mask : 0.0.0.0 > MAC Address : 00:00:00:00:00:00 > SNMP Community String : public > IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 > Default Gateway IP : 0.0.0.0 > Default Gateway MAC : 00:00:00:00:00:00 > Backup Gateway IP : 0.0.0.0 > Backup Gateway MAC : 00:00:00:00:00:00 > Cipher Suite Priv Max : Not Available > > I suppose I should configure the LAN on each blade and not on the blade > chassis itself?
You have to configure on the chassis in the OS, or in the vendor supplied BMC image frontend -- i.e. ^E after post on the Dell machine -- if such a thing exists, but that's limited, incomplete, and usability can vary over a wide spectrum, whereas issuing the commands via ipmitool work if the firmware functions and is IPMI 2.0 compatible (ipmitool mc info helps here). That being said, what we use internally at my $JOB is similar to the following for setting up IPMI: ipmitool lan set 1 ipsrc static ipmitool lan set 1 ipaddr $IPMI_IP ipmitool lan set 1 netmask $IPMI_NETMASK ipmitool lan set 1 defgw ipaddr $IPMI_GATEWAY ipmitool lan set 1 access on ; sleep 1 ipmitool lan set 1 access on ipmitool lan set 1 auth USER "MD2,MD5" ipmitool lan set 1 auth OPERATOR "MD2,MD5" ipmitool lan set 1 auth ADMIN "MD2,MD5" ipmitool lan set 1 auth CALLBACK "MD2,MD5" ipmitool lan set 1 arp respond on ipmitool lan set 1 arp generate on ipmitool user set name 2 $IPMI_USER ipmitool user set password 2 "$IPMI_PASSWORD" ipmitool user enable 2 ipmitool sol set enabled true ipmitool user set payload 2 enable 1 1 Some of this logic may or may not work on certain machines from what I've seen (ipmitool will barf about not being able to set a flag to "In-Progress" or some such... it's a bug either in the tool or the firmware, but I haven't taken the time to figure out where it is). You might be able to use dhcp in the above example in place of a few steps, but folks at my $JOB didn't have to for other infrastructure reasons. You will have to issue the following commands off the box to optionally fix the serial baud rate settings: ipmitool -I lanplus -U $IPMI_USER -P $IPMI_PASSWORD -H $IPMI_IP sol set non-volatile-bit-rate 9.6 ipmitool -I lanplus -U $IPMI_USER -P $IPMI_PASSWORD -H $IPMI_IP sol set volatile-bit-rate 9.6 I really wish you could issue these on the box >_> -- again, I haven't determined why it's not possible. This works like a champ with Dell Poweredge 2950s and r710s at least. Cheers, -Garrett ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel