Commit Graph

207 Commits

Author SHA1 Message Date
Steven Dake
aeb30a0848 Add initial support for multipathing to group messaging.
(Logical change 1.60)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@207 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
b09ed9faf0 Change gmi interface to support multipathing.
(Logical change 1.60)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@206 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
32005b93cd Change network configuration parser interface to support
multipathing.

(Logical change 1.60)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@205 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
9a7835bc15 parse.h:
Change network configuration parser interface to support
  multipathing.
gmi.h, main.c:
  Change gmi interface to support multipathing.
parse.c:
  Change network configuration parser to read multiple interfaces.
gmi.c:
  Add initial support for multipathing to group messaging.

BKrev: 412a981dC8TjKSqUYOtAx6jKoO-UlA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@204 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
d4fef2d5b2 Change network configuration parser to read multiple interfaces.
(Logical change 1.60)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@203 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Mark Haverkamp
ecdfa6f923 Need to check the size of the response header here.
(Logical change 1.59)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@202 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 22:27:07 +00:00
Mark Haverkamp
22cfdcf95c Need to check the size of the response header instead of the
request header in saRecvQueue.

BKrev: 412a6f3b4NlVb-n94TuM1jqiD4KUgA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@201 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 22:27:07 +00:00
Steven Dake
e325206977 Clean up usage of ais_done. This includes passing a
value for each done type.  Also, libais_disconnect cleaned up
so it doesn't ais_done when its queues are full.  Instead it
disconnects the library connection.  A new connection state
variable added to the conn_info structure in place of active.

(Logical change 1.58)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@200 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
c4523cbe19 Changed number of queueable messages to the library from 8192
to 128 messages.

(Logical change 1.58)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@199 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
f6c49d8d06 Use new connection enumeration with AMF code.
(Logical change 1.58)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@198 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
35bc69551d main.h:
Changed number of queueable messages to the library from 8192
  to 128 messages.
main.c:
  Clean up usage of ais_done.  This includes passing a
  value for each done type.  Also, libais_disconnect cleaned up
  so it doesn't ais_done when its queues are full.  Instead it
  disconnects the library connection.  A new connection state
  variable added to the conn_info structure in place of active.
amf.c:
  Use new connection enumeration with AMF code.

BKrev: 41297f85ZsPdr8oHUfjQ6v_A6b6ybw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@197 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
0da6e1eac3 Missed commit to changes for queue.h.
(Logical change 1.57)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@196 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-22 23:04:53 +00:00
Steven Dake
d6a29832db queue.h:
Missed commit to changes for queue.h.
ais_msg.h:
  Missed commit of changes to ais_msg.h.

BKrev: 41292695YG_qjNyfkNoFlMFaeiR7zg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@195 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-22 23:04:53 +00:00
Steven Dake
4bd78a016e Missed commit of changes to ais_msg.h.
(Logical change 1.57)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@194 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-22 23:04:53 +00:00
Steven Dake
d52f1fdf74 Add flow control documentation to devmap.
.l

2004/08/22 15:24:25-07:00 mvista.com!sdake
Add event service to devmap.

(Logical change 1.56)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@193 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-22 22:46:29 +00:00
Steven Dake
bcbf6ebfca README.devmap:
Add flow control documentation to devmap.
  Add event service to devmap.

BKrev: 412922454HMPjB41f5bgMaos4soalg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@192 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-22 22:46:29 +00:00
Steven Dake
f2407f15c6 Cleanup errors in Makefile.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@191 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
f6e476463b Change interface so there is a new libais_handler structure.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@190 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
5e55537d8f Add support for flow control to amf library.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@189 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
2a263fdd00 Add support to group messaging to get flow control information.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@188 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
40613009c5 Add flow control support to the checkpoint benchmark program.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@187 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
1066805247 Flow control changes.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@186 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
4b0c9c120a testamf3.c:
misc flow control changes.
ckptbenchth.c:
  Retry checkpoint writes on threaded writes if SA_ERR_TRY_AGAIn
  received.
ckptbench.c:
  Add flow control support to the checkpoint benchmark program.
util.c:
  Add flow control to saRecvQueue function.
evt.c:
  Add flow control to eventing.
clm.c:
  Add flow control to cluster membership.
ckpt.c:
  Add flow control to checkpointing.
amf.c:
  Add flow control to amf.
Makefile:
  Cleanup errors in Makefile.
main.h:
  Flow control changes.
handlers.h:
  Change interface so there is a new libais_handler structure.
gmi.h:
  Add support to group messaging for another priority level.
main.c:
  Add support to disconnect and dispatch to utilize flow control.
gmi.c:
  Add support to group messaging to get flow control information.
evt.c:
  Add support to eventing for flow control.
clm.c:
  Add support to clm for flow control.
ckpt.c:
  Add support for flow control to ckpt library.
amf.c:
  Add support for flow control to amf library.

BKrev: 412678baBKkyszbWcphf0Vg85SpLXg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@185 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
bb75c650fd Retry checkpoint writes on threaded writes if SA_ERR_TRY_AGAIn
received.

(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@184 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
e5fe15c3e6 Add support to group messaging for another priority level.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@183 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
b1e08f10a5 Add flow control to eventing.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@182 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
89b57713cb Add flow control to cluster membership.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@181 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
11b4f97488 Add support to eventing for flow control.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@180 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
69fd2d8dcd Add support to disconnect and dispatch to utilize flow control.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@179 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
f3cf1df94c Add flow control to amf.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@178 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
52a1621c74 Add support for flow control to ckpt library.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@177 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
fc94289e33 misc flow control changes.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@176 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
a697171df7 Add flow control to saRecvQueue function.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@175 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
ca88544979 Add flow control to checkpointing.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@174 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +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
9a1d1c0ec2 Add priority to poll abstraction
Higher priority items will be serviced first

(Logical change 1.54)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@172 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
101b05fea0 Priorites added to dispatch function. This is in prep for flow
control to allow dispatch functions that haven't been serviced
in awhile to be bumped up in priority when they are not serviced.

The priority of the dispatch handler is passed to the dispatch
function which can modify it in place.  The new priority will be
used the next time the poll system call is executed.

main.c:
  Add library accept handler at lowest priority
gmi.c:
  Make gmi highest priority when adding dispatch functions
aispoll.h, aispoll.c:
  Add priority to poll abstraction
  Higher priority items will be serviced first

BKrev: 411dda8dXGsq4glmjj36km40YZhjCA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@171 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
d99bf64410 Make gmi highest priority when adding dispatch functions
(Logical change 1.54)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@170 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
a5a3968cbc Add library accept handler at lowest priority
(Logical change 1.54)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@169 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
feb9d583bf gmi.c:
When 2 processors are part of the configuration, then one
  of the members leaves, then a new configuration occurs
  with 2 or more members, the "joined" list was not
  being properly passed to the rest of the executive
  services.  This bug fixed.

BKrev: 41185349SwUWKZU-QQ_K91jAnvqYpA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@168 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-10 04:47:05 +00:00
Steven Dake
ce76ee2d53 When 2 processors are part of the configuration, then one
of the members leaves, then a new configuration occurs
with 2 or more members, the "joined" list was not
being properly passed to the rest of the executive
services.  This bug fixed.

(Logical change 1.53)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@167 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-10 04:47:05 +00:00
Steven Dake
88e8d9a370 Add encryption and authentication to GMI.
(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@166 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
d3b0a80c17 Add encryption and authentication to all messages so that messages are secret
and are always known to come from a source that knows the private key.

SECURITY:
  Describe latest security system using SOBER, SHA1, and HMAC.
QUICKSTART:
  Add details to creating security key to quickstart guide.
LICENSE:
  Add libtomcrypt's license text for crypto.c and crypto.h
Makefile:
  Add crytpo features to makefile
gmi.h:
  Add ability to pass key and keylen to gmi_init.
  Add ability to set security logging value.
gmi.c:
  Add encryption and authentication to GMI.

BKrev: 4117ed75MEkDZv2CoCUYGolBNHy17Q


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@165 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
075a81b820 Add details to creating security key to quickstart guide.
(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@164 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
d379732558 Add ability to pass key and keylen to gmi_init.
Add ability to set security logging value.

(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@163 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
d6d2d32ea7 Add libtomcrypt's license text for crypto.c and crypto.h
(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@162 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
e9f8672337 Add crytpo features to makefile
(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@161 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
57969a835f (Logical change 1.52)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@160 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
6089c11fb7 Describe latest security system using SOBER, SHA1, and HMAC.
(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@159 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
b70fdf8555 keygen.c, crypto.h, crypto.c:
New files for cryptography support.

BKrev: 4117ecc6HWTXJ7DG7UZ3E01aKajTBA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@158 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:29:42 +00:00