[Linux-HA] [Patch 0/3] Bug fixes and updates to 1.2.5 release
ppokorny at penguincomputing.com
Sun Oct 14 20:36:01 MDT 2007
I'm new to the hearbeat mailing list, but I recently had to deploy the
1.2.5 release of heartbeat for a customer.
In the process of building RPM's for Red Hat 4, I found a number of
issues in the IPMI STONITH plugin and in heartbeat 1.2.5 itself.
When the STONITH plugin was updated for the new OpenIPMI API, the
changes were not made correctly. There are two confusing types of data
structures which look similar but are very different: ipmi_msg_t and
ipmi_msgi_t. The 'i' is very important. The structure layouts are
different and their use is different. Also, the STONITH plugin turns
the system off when asked to turn it on and on when asked to turn it
off. With these changes, the STONITH plugin now works.
There were some changes to the OpenIPMI API in version 2.x but the 1.4
version of the API is compatible with the exception of the connection
change handler. In 1.4, there can be only one. In 2.x there can be
several. That leads to different function names, but the calling method
is identical and we don't use more than one, so we can make the code
conditional on the version of OpenIPMI available and be able to work on
1.4.4 (which is what ships with Red Hat 4)
Now that the code is capable of supporting OpenIPMI 1.4.4, we can change
the tests in configure to allow OpenIPMI 1.4.4.
I'll attach the patches in following emails.
Philip Pokorny, RHCE, Chief Arch. & Sr. Dir. HW & Field Eng.
Tel: 415-954-2823 Cell: 415-370-0835
Fax: 415-954-2899 Toll Free: 888-PENGUIN
PENGUIN COMPUTING, INC.
More information about the Linux-HA