1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#!/usr/bin/env python
# vim: set fileencoding=UTF-8:
# Copyright 2013 Red Hat, Inc.
# Author: Jan Pokorný <jpokorny at redhat dot com>
# Distributed under GPLv2+; generated content under CC-BY-SA 3.0
# (to view a copy, visit http://creativecommons.org/licenses/by-sa/3.0/)
"""Library comprising shared cluster entities and relationships"""
from lib_nodes import *
from lib_edges import *
class SharedFenceVirtd(Daemon):
defaults = dict((
LABEL('fence_virtd'),
))
summary = \
"fence_virtd is daemon listening for fence_virt's fencing requests"
repo = dict(
git='git://github.com/ryan-mccabe/fence-virt.git',
#git='git://git.code.sf.net/p/fence-virt/code',
web='https://github.com/ryan-mccabe/fence-virt',
# web='http://sourceforge.net/p/fence-virt/code',
)
man = [
'fence_virtd(8)'
]
ids = dict(
srpm='fence-virt',
rpm='fence-virtd', # + ~-{checkpoint, libvirt, multicast, serial}
rhbz='fence-virt',
)
class SharedFenceVirt(Executable):
defaults = dict((
LABEL('fence_virt'),
))
summary = \
"fence_{virt,xvm} is a program to request fencing via fence_virtd"
repo = dict(
git='git://github.com/ryan-mccabe/fence-virt.git',
#git='git://git.code.sf.net/p/fence-virt/code',
web='https://github.com/ryan-mccabe/fence-virt',
# web='http://sourceforge.net/p/fence-virt/code',
)
man = [
'fence_virt(8)',
'fence_xvm(8)',
]
ids = dict(
srpm='fence-virt',
rpm='fence-virt',
rhbz='fence-virt',
)
class SharedCorosync(Daemon):
defaults = dict((
LABEL('corosync'),
))
summary = \
"Corosync is a Group Communication System with additional features" \
+ " for implementing high availability within applications"
web = 'http://corosync.github.io/corosync/'
repo = dict(
git='git://github.com/corosync/corosync.git',
web='https://github.com/corosync/corosync',
ml='http://lists.corosync.org/mailman/listinfo/discuss',
)
man = [
'corosync(8)',
]
ids = dict(
srpm = 'corosync',
rpm = 'corosync',
rhbz = 'corosync',
)
secprops = dict(
euser='root',
egroup='root',
label='unconfined_u:system_r:cluster_t:s0',
)
miscprops = dict(
common_thread_cnt=8, # ?
ppid=1,
sched_class='RR',
)
|