Commit Graph

52 Commits

Author SHA1 Message Date
Steven Dake
43a36162b3 1049
make all service handlers dynamically loadable or compilable statically
use the BUILD_DYNAMIC flag in the makefile to set dynamic loading or static
compile.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@914 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-01 21:17:47 +00:00
Steven Dake
2753438b4a enhancement 1049
enhance services so dynamic service handlers are more easily possible


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@905 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-25 06:27:09 +00:00
Steven Dake
8eefe473ef defect 1046
SaErrorT in trunk branch, but only SaAisErrorT should be used


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@902 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-24 07:19:11 +00:00
Steven Dake
f6cfe4e86e This is a major rework of the service handling code. Now service handlers
can be dynamically loaded via the live component replacement service.  Sync
handlers are also dynamically contributed.

It is possible to build using either dynamic loading via LCR or static
linking of the entire executive.  This is controlled by the BUILD_DYNAMIC 
configuration option in the Makefile.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@892 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-20 20:40:21 +00:00
Steven Dake
90c88404cd enhancement 989
improve process group membership interface in totem_pg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@869 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-12-27 18:36:38 +00:00
Steven Dake
e4dfef72d5 defect 979
This enhancement adds support for IPV6 to the trunk of openais.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@856 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-30 19:44:40 +00:00
Steven Dake
dfa61b911d defect 914
fix gcc 4 specific compile warnings and compile errors


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@834 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-10-27 00:53:36 +00:00
Steven Dake
2ea321e253 remove extraneous debug printf
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@816 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-20 22:42:32 +00:00
Steven Dake
3b44db0a54 defect 856 - CHANGES and CHANGES_ONLY have identical effect with saClmClusterTrack()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@812 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-06 21:54:49 +00:00
Steven Dake
67826fe3cb defect 855 - implement view numbers and report them correctly as per specs
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@811 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-06 21:51:46 +00:00
Steven Dake
ca58a16b6b defect 841
Rabbe reported that cluster track callback operations dont work properly.
This patch fixes that problem.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@809 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-30 20:29:13 +00:00
Steven Dake
478307dfed defect 833
Rabbe reported that the encoding of the ipv4 address in SaClmNodeAddressT is incorrect


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@804 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-25 22:09:03 +00:00
Steven Dake
e7f1e9200f enhancement 813
Rename ais_types.h header file to be more compliant with sa forum


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@796 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:27:25 +00:00
Steven Dake
4ff4c440ca Patch from Russell Bryant to fix up gcc 4 warnings
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@793 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-12 22:29:35 +00:00
Steven Dake
d1d04c7806 defect 796
fix saClmClusterTrack to operate according to specs.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@786 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:18:45 +00:00
Steven Dake
0ef65787cd defect 793
dont return SA_AIS_ERR_NOT_EXIST when tracking started with SA_TRACK_CURRENT only


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@785 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:17:49 +00:00
Steven Dake
89a60a2caa defect 792
saClmTrackStop not returning SA_AIS_ERR_NOT_EXIST


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@784 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:17:12 +00:00
Steven Dake
283790b715 Add infrastructure support for multiring to totem library
Make totemsrp support multiple instances of a running protocol within one app.
Rename libtotem to libtotem_pg because of a name conflict with some movie player


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@782 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 20:55:25 +00:00
Steven Dake
1bf4e3bb25 defect 734
cleanup include files and exports from libraries



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@731 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:57:48 +00:00
Steven Dake
45b82e1eba defect 600
Qian Zhang reported defect 599 which was a missing
pthread_mutex_unlock.  Patch attached to fix it.

(Logical change 1.202)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@657 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:35:05 +00:00
Mark Haverkamp
632a94dd7d Allow services to use the openais.conf file for setting custom options.
(Logical change 1.195)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@637 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Steven Dake
7d1b8e0d11 defect 188 - use two fds instead of one fd for I/Os to executive
(Logical change 1.175)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@594 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
Steven Dake
c3e125b165 defect 478 - remove extra parameter to config change.
(Logical change 1.174)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@590 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:03:18 +00:00
Steven Dake
3c98ff2d84 change around this_ip to better support ifup/ifdown
(Logical change 1.167)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@573 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
1e3efb5ec5 Block multicast messages during synchronization.
(Logical change 1.151)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@535 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 23:41:41 +00:00
Steven Dake
20f0520e8d cleanup some shared datatypes.
(Logical change 1.150)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@532 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
7aeb6b2fc4 Cluster membership synchronization support
(Logical change 1.143)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@512 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 19:46:11 +00:00
Steven Dake
eb8657f1e9 send ring_id through configuration changes patch from Muni Bajpai.
(Logical change 1.139)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@499 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
Steven Dake
4770543a23 Update cluster membership service to B.01.01.
(Logical change 1.127)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@452 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
b6959ce427 fix defect 131 - member element not set in cluster membership service
(Logical change 1.126)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@444 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-01 20:40:07 +00:00
Steven Dake
5ab2ec0d67 Remove priorities from all interfaces.
(Logical change 1.121)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@427 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-27 19:37:39 +00:00
Steven Dake
a4bf2f872d update to new totem code.
(Logical change 1.117)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@410 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
0e0e2f2c9e Add log service level.
(Logical change 1.96)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@349 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Miyotaka Sakai
3a05293f91 exec_dump_fn support as SIGUSR2 handler to easy to debug
(Logical change 1.91)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@327 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-11 07:50:26 +00:00
Steven Dake
6b42f21c83 Fix a bunch of errors in node get and async node get.
(Logical change 1.87)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@317 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-02 01:23:54 +00:00
Mark Haverkamp
b9950ca373 add assert around clmNodeJoinSend since the call to
gmi_mcast can return a failure now.

(Logical change 1.82)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@294 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-24 19:44:28 +00:00
Steven Dake
a743bfce9b Add recovery plug support to clm.
(Logical change 1.74)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@264 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Mark Haverkamp
e0a5ab3fed Added special SA_CLM_LOCAL_NODE_ID case to receive your own
cluster node data.

(Logical change 1.63)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@230 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-02 17:16:25 +00:00
Steven Dake
907f902ba7 Add support to clm for flow control.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@173 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
0385d9ba49 Add function in exec/clm to get the full cluster node information
for any node in the cluster membership

(Logical change 1.47)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@146 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Steven Dake
9783e8d172 Add source_addr to exec message handler for event service.
(Logical change 1.45)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@131 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-28 22:36:12 +00:00
Steven Dake
447bfc6813 Clean up warnings found with -pedantic.
(Logical change 1.30)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@94 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-11 07:22:12 +00:00
Steven Dake
295d70a3c8 Rename poll.h to aispoll.h
(Logical change 1.28)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@84 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
e95e1e25cc Fix a couple merge problems with the previous update to clm with the
conn_info structure.
the track list was not being initialized.  When track start was called
the tracking wasn't added to a list.  When track stop was called
the tracking was not deleted.
The result of all this is that cluster membership tracking was broken
previously.

(Logical change 1.27)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@80 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-08 20:47:25 +00:00
Steven Dake
df2c3c4918 pass conn_info to all messages instead of file descriptor.
(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@71 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
ae695b04d0 Change memcpy to memmove to quiet down valgrind.
(Logical change 1.23)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@64 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 21:12:01 +00:00
Steven Dake
6e3637ac98 Remove extra parameter to exec messages.
(Logical change 1.22)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@59 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 20:05:14 +00:00
Steven Dake
445dd33b13 add activate poll message
(Logical change 1.21)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@51 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 19:25:41 +00:00
Steven Dake
beb82b3bcb Wrong value being used to determine leave list, resulting in
a memcpy with a -1 value in some cases, and the incorrect memcpy
in other cases.

(Logical change 1.20)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@49 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 18:26:11 +00:00
Steven Dake
7f24c23651 Fix cluster membership API not being authenticated bug.
(Logical change 1.15)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@31 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-28 22:04:20 +00:00