Commit Graph

67 Commits

Author SHA1 Message Date
Lon Hohberger
76331b0c3c Make cluster mode plugin work
* Need to fix cpg_get_ids() - it is segfaulting
* Need to reconcile "in-cluster" vs "fenced"
* Message routing works.  It doesn't matter which node
  gets the fence request - fence requests are handled
  after being distributed by cpg.
* This makes fence_virtd 99% behavior-like compared to
  fence_xvmd

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-16 20:07:46 -04:00
Lon Hohberger
01a1b16d7e Add basic cpg stuff for later
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:40:41 -04:00
Lon Hohberger
9935a3077d Enable 'on' operation for libvirt backend
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:24:56 -04:00
Lon Hohberger
64d0f596f6 Clean up modular build
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:17:14 -04:00
Lon Hohberger
f796c64fc3 Minor build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 13:27:03 -04:00
Lon Hohberger
4960380013 Yet more build fixes
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 12:18:49 -04:00
Lon Hohberger
1ddb9136d9 More build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 12:08:10 -04:00
Lon Hohberger
e190d1e271 Build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 11:38:11 -04:00
Lon Hohberger
906b0f62b9 Initial port to autoconf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 11:25:02 -04:00
Lon Hohberger
2ecd68297f Add checkpoint.c stub functions
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:29:08 -04:00
Lon Hohberger
701a876e73 Add sequence numbers to requests for tracking
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:28:20 -04:00
Lon Hohberger
51f06f5ce3 Include missing include
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:26:04 -04:00
Lon Hohberger
be9794a39d Call generic history functions
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-14 15:06:38 -04:00
Lon Hohberger
d505e229a7 Make history functions generic
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-14 15:05:16 -04:00
Lon Hohberger
da7d3f4c9d Make debugging work from modules again
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 17:45:38 -04:00
Lon Hohberger
8c3b59fe53 Revert "Fix build issue breaking debug printing from modules"
This reverts commit 4daa1bbdd5.
2009-09-03 16:40:55 -04:00
Lon Hohberger
4daa1bbdd5 Fix build issue breaking debug printing from modules
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 16:18:47 -04:00
Lon Hohberger
87c4b2cbd9 Fix libvirt backend; VALIDATE was wrong
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-03 10:55:30 -04:00
Lon Hohberger
5ac3d57341 Cleanups, add daemon support
- fix log messages
- add daemon support
- add foreground support
- log bits to syslog when we fail post-fork

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 19:26:08 -04:00
Lon Hohberger
e94b653f7a Add simple 'null' skeleton backend plugin
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 19:11:15 -04:00
Lon Hohberger
5beaad3390 Make all plugins dynamically loaded.
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 18:54:17 -04:00
Lon Hohberger
ac60769002 Fix error message
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 18:18:20 -04:00
Lon Hohberger
16d5a8aa98 Remove dummy serial prototypes
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 16:24:34 -04:00
Lon Hohberger
56282c40e8 Remove modules in 'make clean'
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 16:23:09 -04:00
Lon Hohberger
c6bf2d297a Make listeners plugins.
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 16:22:30 -04:00
root
d6b557a407 Fix whitespace
Signed-off-by: root <root@localhost.localdomain>
2009-09-01 15:42:07 -04:00
Lon Hohberger
ddc8c75e2d Move name_mode to fence_virtd block
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:39:01 -04:00
Lon Hohberger
a12da25998 Add name_mode to example.conf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:33:49 -04:00
Lon Hohberger
0e30b2fa86 Move VM naming scheme to top level of config
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:31:24 -04:00
Lon Hohberger
c09c3e4551 Fix bad assignment due to wrong variable
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:23:53 -04:00
Lon Hohberger
bcd87ec4fc Fix use of wrong variable
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:15:53 -04:00
Lon Hohberger
232cf60285 Revert "Fix use of wrong variable"
This reverts commit b3df26bc6b.
2009-09-01 15:15:34 -04:00
Lon Hohberger
b3df26bc6b Fix use of wrong variable
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:14:09 -04:00
Lon Hohberger
c322978fef Enable UUID use in libvirt.c
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 15:13:53 -04:00
Lon Hohberger
481905d8bf Add missing log.c. Enable syslog wrapping
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-31 09:38:28 -04:00
Lon Hohberger
d72d4a754f Move options.c to client directory
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-31 09:37:21 -04:00
Lon Hohberger
28627c9796 Fix context type names
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-28 14:12:46 -04:00
Lon Hohberger
58467292b1 Minor cleanup
- Remove reference to fence_callbacks structure
- Remove old options-ccs.c

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-28 14:04:28 -04:00
Lon Hohberger
2464a326b8 Drop duplicate fencing requests
XVM shotguns packets from all interfaces on the system.
This means the server can get the same request from multiple
interfaces at the same time.  This records a history of
fencing requests and drops duplicates for a few seconds.

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 15:31:02 -04:00
Lon Hohberger
4ba33b27b9 Don't require specifying an interface in fence_virt.conf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:55:54 -04:00
Lon Hohberger
ca6ba1b768 Fix empty node parsing
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:36:40 -04:00
Lon Hohberger
d3a421f1bb Fix segfault
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:36:14 -04:00
Lon Hohberger
5a0f12de3a Fix install targets 2009-08-21 14:23:36 -04:00
Lon Hohberger
f05920b01c Actually use the default port by default
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:21:14 -04:00
root
ab2917fa71 Don't overwrite config files 2009-08-21 14:16:44 -04:00
Lon Hohberger
1e3ee504f9 Install modules, too. 2009-08-21 14:12:58 -04:00
Lon Hohberger
6ff52eecf9 Fix config file name 2009-08-21 14:07:56 -04:00
Lon Hohberger
d7f7dec3ec Add temporary 'make install' target 2009-08-21 14:05:48 -04:00
Lon Hohberger
138fed47d9 Make a default configuration file
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:02:06 -04:00
Lon Hohberger
062460c14f Make mcast work with UUIDs
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:00:01 -04:00