Andy Cress wrote: > If the session has been closed properly, those resources should be > available again. > My guess is that the BMC implementation is returning a good status to > the close, but still does additional cleanup after that. > > The GetSessionInfo command for that channel ought to show whether or not > there are sessions left open or not. > It may be worth doing a message trace, just to be sure the final close is being sent out.
I've not said anything earlier, but I guess I probably should. If you want to pull things at a fairly fast rate (probably more than once a minute), it may be better to use a solution that says connected to the BMC continuously instead of doing a connection each time. That way, there's no setup overhead and the performance will be better. The downside of this is that you can't make very many connections to most BMCs, so if you have more than, say, 2 or 3 machines that need to connect to the BMC, it probably won't work. However, you will run into problems polling, too. In that case, it may be best to have a single server that connects to the BMC and provides services to the clients. OpenIPMI (the software that I mostly wrote) will stay connected continuously, and you can use perl and python as well as C. But it will be more work to program it. -corey > Andy > > -----Original Message----- > From: Detweiler, Dick [mailto:dick.detwei...@avocent.com] > Sent: Tuesday, December 15, 2009 1:19 PM > To: Detweiler, Dick; ipmitool-devel@lists.sourceforge.net > Subject: Re: [Ipmitool-devel] RAKP Insufficient Resources response > fromaniDRACm610 blade... > > Having dug a little deeper into the IPMI spec, I note that the resource > problem is generated at the very beginning of ipmitool establishing a > session as the managed system sends the error in its RAKP message 2 > response. The spec says 'On error, the remote console can attempt to > correct the error. > > Can or does ipmitool attempt to correct a resource issue? Can I alter > its behavior via flags or other methods of invoking ipmitool? Is there > something I can do before sending an ipmitool fru print command to free > resources on the managed system? For instance, I notice there is a > 'Clear Message Flags' command that talks about clearing 'the associated > buffer full / message available flags' and flushing 'unread data from > the Receive Message Queue or Event Message Buffer'. Can this command > help free resources on a managed system? Can I use ipmitool to invoke > it? > > Thanks for your time, > Dick > > -----Original Message----- > From: Detweiler, Dick > Sent: Tuesday, December 15, 2009 7:36 AM > To: ipmitool-devel@lists.sourceforge.net > Subject: RE: [Ipmitool-devel] RAKP Insufficient Resources response from > aniDRACm610 blade... > > Andy/Al, > > Thanks for all your help. It ends up I'm back where I started. A > little bit more on what I'm doing. I'm testing with 5 iDrac blades in a > Dell m1000e chassis. My program basically uses ipmitool to query an IP > range that includes all those BMC's. Some of the IP's in the range > don't have ipmi servers listening on the other end (the chassis for > instance) > > ipmitool works fine the first time through after I've power cycled the > servers. The next time, I begin to see resource problems with either > lan or lanplus mode. My suspicion is I'm either not closing ipmi > connections I need to be closing or I'm not respecting some timing. > Since I'm in the order of seconds between ipmi commands, I can't imagine > it's a timing issue. I've assumed ipmitool takes care of closing > connections but maybe I'm assuming too much? Is there an easy way for > me to see if the server is ready for another request or a command to > close an ipmi session I'm not aware of? > > Thanks, > > Dick > > > ------------------------------------------------------------------------ > ------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Ipmitool-devel mailing list > Ipmitool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ipmitool-devel > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Ipmitool-devel mailing list > Ipmitool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ipmitool-devel > > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel