Commit Graph

75 Commits

Author SHA1 Message Date
Lon Hohberger
6502600674 Add simple configuration mode
This adds a simple configuration utility so that users
may easily configure fence_virtd.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-06 17:03:55 -05:00
Lon Hohberger
de92889d2a Sort plugins by type when printing them 2010-01-04 14:18:54 -05:00
Lon Hohberger
e0dd134a34 Revert "Sort plugins by type when printing them"
This reverts commit 2707d32a87.
2010-01-04 14:16:42 -05:00
Lon Hohberger
2707d32a87 Sort plugins by type when printing them
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-04 14:13:08 -05:00
Lon Hohberger
22a2dd65f3 Clean up some configuration plugin information
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-04 14:12:21 -05:00
Carlos Eduardo Maiolino
c405542d76 Make libvirt to automatically use uuid or names
Signed-off-by: Carlos Eduardo Maiolino <cmaiolino@redhat.com>
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-07 18:11:25 -05:00
Lon Hohberger
58aef2eb34 Improve error reporting
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-07 13:11:39 -05:00
root
d72839781f Fix build for hostlist functionality
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 13:07:17 -05:00
root
4d7839abce Hostlist functionality for libvirt, libvirt-qpid
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 12:55:48 -05:00
Lon Hohberger
a8202ef0c6 Fix libvirt / mcast support for name_mode
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-12-03 17:29:47 -05:00
Lon Hohberger
11c5fff0ad Fix dlsym mapping of C++ module
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-12 14:12:42 -05:00
Lon Hohberger
33c16854eb Make uuids work with libvirt-qpid
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-06 13:16:42 -05:00
Lon Hohberger
decab46dda Fix uninitialized variable causing false returns
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 14:07:33 -05:00
Lon Hohberger
8dffcbd726 Update monolithic build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 14:01:35 -05:00
Lon Hohberger
515e95a11b Fix linking problem
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 13:23:00 -05:00
Lon Hohberger
e795db6313 Add 'help' to fence_virtd
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 13:07:06 -05:00
Lon Hohberger
6a4508e1da Fix libvirt-qpid build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 13:02:12 -05:00
Lon Hohberger
4cd5a5ad13 Make 'reboot' work
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 12:59:41 -05:00
Lon Hohberger
0702f25435 Fix libvirt-qpid build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 12:59:26 -05:00
Lon Hohberger
9d59ad84a5 Add libvirt-qpid build target
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-11-05 12:53:55 -05:00
Lon Hohberger
1b5e472d59 Initial checking of libvirt-qpid plugin
This is primarily build integration and is untested; please
do not use.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-10-20 16:16:44 -04:00
Lon Hohberger
f3e32a2297 Fix build on i686
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-23 13:40:02 -04:00
Lon Hohberger
4f870c4fd0 Make symlink/compatibilty mode disabled by default
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-23 12:04:32 -04:00
Lon Hohberger
8de25d4141 Use immediate resolution of symbols
This will prevent crashes mid-execution.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:29:14 -04:00
Lon Hohberger
9931f5f4e7 Fix package name and install locations
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 15:16:24 -04:00
Lon Hohberger
21dab5b24c Fix daemon return code
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:22:21 -04:00
Lon Hohberger
3cf5156968 Add missing header file
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:11:00 -04:00
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
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
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