Hi,
I modularized communication and authentication parts of heartbeat.
All communication "drivers" and authentication code have been removed from
heartbeat binary and are organized as follow:
/etc/ha.d/modules/comm: ping.so ppp-udp.so serial.so udp.so
/etc/ha.d/modules/auth: crc.so md5.so sha1.so
_All_ modules on those directories are loaded on startup, and after
parsing the configuration files the unused modules are unloaded.
The only missing part of this scheme is to modularize STONITH "drivers",
but I hope to do that soon.
The patch against current CVS version can be found at
http://bazar.conectiva.com.br/~marcelo/ha/patches/hb-module.patch
Comments are welcome.
I modularized communication and authentication parts of heartbeat.
All communication "drivers" and authentication code have been removed from
heartbeat binary and are organized as follow:
/etc/ha.d/modules/comm: ping.so ppp-udp.so serial.so udp.so
/etc/ha.d/modules/auth: crc.so md5.so sha1.so
_All_ modules on those directories are loaded on startup, and after
parsing the configuration files the unused modules are unloaded.
The only missing part of this scheme is to modularize STONITH "drivers",
but I hope to do that soon.
The patch against current CVS version can be found at
http://bazar.conectiva.com.br/~marcelo/ha/patches/hb-module.patch
Comments are welcome.