freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] FreeIPMI Session Management


From: Anand Babu
Subject: [Freeipmi-devel] FreeIPMI Session Management
Date: Fri, 14 Nov 2003 08:01:04 -0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Keeping the session open all the time:
-------------------------------------
Why we needed this?
A way to determine if the BMC is still accessible via IPMI.

Not the right approach. Session defined by IPMI is a logical
connection. Actual transport still happens over rmcp/udp/ip in
datagram mode.

Even if you keep the session open, you will still have to send packets
in connection less mode. When you don't get response you get to know
that system is knocked out.

IPMI session requires every ~< 1 min keep alive call.
Keep alive call is nothing but re-activating the session using same
activate session call. 

Also session is a costly resource for BMC. Only 4 sessions are
allowed. Implementor may choose to support only 1 session at a given
time and still be compliant with IPMI spec.

Thats why I did not implement session_keep_alive(...) higher level
call on top of activate session. Instead a better approach is
to use the ipmi_ping call (higher level call in ipmi-wrapper.c)
to determine if the system is still accessable.
You can call ipmi_ping at regular cycles and keep an active list of
systems in a list.

And sessions are short-lived. 
  open_session (...)
  chassis_ctrl (...)
  close_session (...)
(Note: you can find these higher level calls in ipmi-wrapper.c)

Al, Jim comments?

-- 
Anand Babu
CaliforniaDigital.com
Office# +1-510-687-7045
Cell# +1-510-396-0717
Home# +1-510-894-0586

Free as in Freedom <www.gnu.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]