Lon Hohberger
c3427373c8
Provide 'domain' in metadata output for compatibility
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-06-27 12:39:10 -04:00
Lon Hohberger
612d943631
High: Fix UUID lookups in checkpoint backend
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-06-27 12:38:32 -04:00
Lon Hohberger
fce9ec7db1
Curtail 'list' operation requests
...
When a host is in one or more groups, present only other VMs that
VM may fence according to its group assignments in fence_virt.conf
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-02-28 14:18:26 -05:00
Lon Hohberger
5cba75e0b5
Fix man page references: fence_virtd.conf -> fence_virt.conf
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-01-10 10:47:00 -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
a2e840892d
Fix build with newer versions of qpid
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-12-08 13:52:42 -05:00
Lon Hohberger
f54e73f392
Make configure.in actually disable plugins
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-02-24 14:06:53 -05:00
Lon Hohberger
baa344b575
Fix metadata output
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-02-10 13:32:38 -05:00
Lon Hohberger
0358a4e5ea
Rename parameters to match other fencing agents
...
port -> ipport (IP port to use)
domain -> port (VM to fence)
Resolves: rhbz#561418
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-02-03 15:07:17 -05:00
Lon Hohberger
882a128a50
Fix fence_xvm man page to point to the right location
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-02-03 15:06:46 -05:00
Lon Hohberger
1e95e2c9fc
client: Clarify license in serial.c
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-25 13:24:54 -05:00
Lon Hohberger
30481d4cc9
Return 2 for 'off' like other fencing agents
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-15 08:06:34 -05:00
Lon Hohberger
2c4df2e500
Reset flags before returning from connect_nb
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 19:58:40 -05:00
Lon Hohberger
282b384c08
Use nonblocking connect to vmchannel sockets
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 19:56:32 -05:00
Lon Hohberger
b384f3bd31
More parity with other fencing agents' parameters
...
- use 'list' instead of 'hostlist'
- replace 'devstatus' with 'monitor'
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 19:26:21 -05:00
Lon Hohberger
16aafe3974
Fix memory leaks found with valgrind
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 18:46:21 -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
960963bda5
Fix bug in path pruning support for serial plugin
...
We were treating 'no path' as 'never match', breaking
fence_virtd's monitoring of VM channel sockets.
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 17:55:00 -05:00
Lon Hohberger
d95bb6ef93
Fix libvirt-qpid bugs found while testing
...
- never giving up on an invalid domain
- returning failure from reboot (always)
- returning failure from off/on operation when
the domain was in the requested state (e.g. 'on' when
vm was running should succeed, not fail)
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 17:39:01 -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
4e9cd15d7e
Fix another compiler warning
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 16:43:58 -05:00
Lon Hohberger
c7699c1ac6
Fix build warnings in client/serial.c
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 16:41:21 -05:00
Lon Hohberger
450ffdb26a
Add 'monitor' as an alias for 'status'
...
Makes the CRM happier.
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 16:26:58 -05:00
Lon Hohberger
841d76fb1a
Add serial listener to configuration utility
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 16:21:16 -05:00
Lon Hohberger
d8d6aac72a
Make serial/vmchannel module enabled by default
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 16:20:54 -05:00
Lon Hohberger
fdc9fc9b58
Add missing 'metadata' option to help text
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 16:05:57 -05:00
Lon Hohberger
339052d433
Add missing static_map.h
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 15:33:50 -05:00
Lon Hohberger
d19a48a6b8
Add metadata support to fence_xvm/fence_virt
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 15:26:53 -05:00
Lon Hohberger
f38f9327d8
Allow IPs to be members of groups
...
This allows fencing requests with the appropriate
key file to control VMs assigned to the same
group.
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 15:00:43 -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
e8bd0aba80
Make 'path' be a directory
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 08:56:45 -05:00
Lon Hohberger
66a08c63c2
Update TODO
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 23:46:42 -05:00
Lon Hohberger
18ab7d42a0
Remove useless debug printfs
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 23:38:27 -05:00
Lon Hohberger
f665796f26
Enable VM Channel support in serial plugin
...
- Add cmdline processing for channel_ip
- Allow 'port' to be used in fence_virt mode
- Allow configuration of vmchannel mode for fence_virtd
serial plugin
- Remove serial port default from fence_virt.
It must now be specified or else VM Channel mode
is used. Note that to use VM Channel mode, you need:
qemu 0.12.1 or later
libvirt 0.7.3 or later
- Update man pages
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 23:34:35 -05:00
Lon Hohberger
4602faeaf2
Update TODO based on progress
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:55:06 -05:00
Lon Hohberger
2635e075b9
Pass source VM UUID (if known) to backend
...
Some backends (not yet implemented) which talk to management
layers will have mappings for what VMs can control what other
VMs. So, the source VM UUID of the original request needs to
be sent along with the target VM UUID to the management layer
for arbitration.
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:52:55 -05:00
Lon Hohberger
c8f8fc2900
Mirror libvirt-qpid's settings in libvirt-qpid plugin
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:38:00 -05:00
Lon Hohberger
225726159a
libvirt-qpid: clean up global variable
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:04:46 -05:00
Carlos Maiolino
ed96ccbb06
Enable a configurable host/port on libvirt-qpid plugin
...
Signed-off-by: Carlos Eduardo Maiolino <cmaiolino@redhat.com>
2010-01-13 12:13:54 -05:00
Lon Hohberger
393b9665b3
Minor config utility cleanups
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 11:38:04 -05:00
Lon Hohberger
053ed9167d
Man page cleanups
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 11:37:48 -05:00
Lon Hohberger
186ce4f23c
Remove unnecessary name_mode from multicast plugin
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 11:01:15 -05:00
Lon Hohberger
d282b0691a
Add prototypes and clean up build warnings
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 10:53:55 -05:00
Lon Hohberger
ae8bdd8461
Use seqno in serial requests
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 10:13:14 -05:00
Lon Hohberger
add64089d7
Minor debugging message cleanup
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 10:04:31 -05:00
Lon Hohberger
05fea81b67
Fix build error due to improper value
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 09:59:06 -05:00
Lon Hohberger
726e40673e
Static map support and permissions reporting
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 09:26:32 -05:00
Lon Hohberger
ac1b594c75
Sync up on SERIAL_MAGIC while waiting for a response
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 08:37:41 -05:00
Lon Hohberger
f5eb9a939f
Don't build serial vmchannel module by default
...
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 02:24:19 -05:00
Lon Hohberger
a106dd5d88
Update TODO
...
- initial serial plugin is working
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 02:21:20 -05:00