Hi all, I am writing an app using ipmitool (among other things) to find out the type of blades that are on the network. For each IP address in a given range, a thread is created so the discovery process is being run concurrently on many targets. There is a mutex around the calls to the ipmi code so only one thread is using the ipmi driver at a time.
The application is running on Linux using version 1.8.10 of ipmitool. When it uses ipmitool, it first send an asf ping to retrieve the IPMI level supported on the device. If that is successful, I follow up sending the following command: Ipmitool -I lanplus -L ADMINISTRATOR+ -U user -P pass -H 192.168.what.ever fru print Most of the time I get back the information I want but sometime it generates an error. The BMC will return error code 1:' insufficient resources for session'. Here is the output from a -vv invocation of the above command: ======================================= IPMI LAN host 192.168.96.52 port 623 >> Sending IPMI command payload >> netfn : 0x06 >> command : 0x38 >> data : 0x8e 0x04 >> SENDING AN OPEN SESSION REQUEST >> Console generated random number (16 bytes) 17 22 e1 cf 4a 96 88 c4 b2 7a 2a 46 95 40 bc 54 >> SENDING A RAKP 1 MESSAGE RAKP 2 message indicates an error : insufficient resources for session ======================================= Questions: - I assume this is a resource problem on the target BMC and not with the ipmitool client on my side. Following the ipmitool code it seems like the only place that error code can be set is from the data returned by the BMC. Unless I missed something? - If this is a resource issue on the BMC, what might the problem be? Too fast at getting back to the BMC after the asf ping? Too many connections open on the BMC? Any help is appreciated. Thanks, Dick Detweiler ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel