Commit Graph

36 Commits

Author SHA1 Message Date
Ryan McCabe
f7e2b9a0c0 fence_virtd: Log an error when startup fails
Log an error when startup fails due to pidfile creation failing.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2017-05-23 22:53:02 -04:00
Andrew Beekhof
988c08442b Allow fence_virtd to run as non-root 2016-05-09 15:01:35 +10:00
Ryan McCabe
2694500ab1 fence-virtd: Allow multiple hypervisors for the libvirt backend
Allow users to specify multiple hypervisor URIs for the
libvirt backend.

.e.g,

backends {
	libvirt {
		uri = "qemu:///system";
		uri1 = "qemu:///system2";
		uri2 = "qemu:///system3";
	}
}

Resolves: rhbz#914144

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2014-06-27 00:07:46 -04:00
Lon Hohberger
2b01d8f887 Fix build
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2012-02-07 16:08:26 -05:00
Lon Hohberger
ccff09f2c7 Add old wait_for_backend directive handling & docs
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2012-02-07 16:06:40 -05:00
Lon Hohberger
19674ab0bd Fix startup in systemd environments
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2012-02-07 16:03:05 -05:00
Lon Hohberger
768cbdca10 Add 'list' operation for plugins; fix missing getopt line
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-12-08 13:52:59 -05:00
Lon Hohberger
1fce42fdb0 Add basic daemon functions
- pid file management
- only spawn one instance of fence_virtd

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 18:45:47 -05:00
Lon Hohberger
c659395aba Fix segfault caused by invalid map pointer assignment
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 17:03:37 -05:00
Lon Hohberger
2edeb6dfe8 Allow use of static mappings w/ mcast listener
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 13:38:37 -05:00
Lon Hohberger
e87de14344 Add wait-for-backend mode
* Makes initscript ordering unimportant

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-12 17:32:13 -05:00
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
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
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
21dab5b24c Fix daemon return code
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2009-09-17 14:22:21 -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
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
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
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
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
c6bf2d297a Make listeners plugins.
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-01 16:22:30 -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
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
d3a421f1bb Fix segfault
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-21 14:36:14 -04:00
Lon Hohberger
1e3ee504f9 Install modules, too. 2009-08-21 14:12:58 -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
36e28b3005 Make multicast use config file
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-20 12:26:51 -04:00
Lon Hohberger
61e0cc19c9 Integrate config file processing
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-17 16:53:58 -04:00
Lon Hohberger
9ec497ddc6 Create server-side plugin architecture
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-17 12:44:06 -04:00
Lon Hohberger
214f9b65bf Make libvirt a built-in plugin
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-08-12 13:20:50 -04:00
Lon Hohberger
55357fcd85 initial checkin
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-07-28 10:46:53 -04:00