summaryrefslogtreecommitdiffstats
path: root/lib_shared.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-11-06 23:53:40 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-11-06 23:53:40 +0100
commitf694f21eed10fa1f7be1e1d623c509f222e1104e (patch)
tree8f240ef95e71f9e224b50799c3263bdfea06833c /lib_shared.py
parent4ccd700b1446fdb89fd027fa81a505162aa5e079 (diff)
downloadcluster-overview-f694f21eed10fa1f7be1e1d623c509f222e1104e.tar.gz
cluster-overview-f694f21eed10fa1f7be1e1d623c509f222e1104e.tar.xz
cluster-overview-f694f21eed10fa1f7be1e1d623c509f222e1104e.zip
cluster-cman: finally start getting to the core with corosync
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'lib_shared.py')
-rw-r--r--lib_shared.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib_shared.py b/lib_shared.py
index 5324a05..9ec4fbe 100644
--- a/lib_shared.py
+++ b/lib_shared.py
@@ -53,3 +53,36 @@ class SharedFenceVirt(Executable):
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',
+ )