summaryrefslogtreecommitdiffstats
path: root/cluster-cman.py
diff options
context:
space:
mode:
Diffstat (limited to 'cluster-cman.py')
-rwxr-xr-xcluster-cman.py44
1 files changed, 42 insertions, 2 deletions
diff --git a/cluster-cman.py b/cluster-cman.py
index bb44738..1c03e5a 100755
--- a/cluster-cman.py
+++ b/cluster-cman.py
@@ -165,7 +165,12 @@ graph = lambda\
#
,label='core'
,_nodes=\
- [Library('node_b-libccsconfdb'
+ [SharedCorosync('node_b-corosync'
+ )
+ ,Library('node_b-service_cman'
+ ,label='service_\ncman.lcrso'
+ )
+ ,Library('node_b-libccsconfdb'
,label='libccsconfdb'
)
,CmanFenced('node_b-fenced'
@@ -174,19 +179,43 @@ graph = lambda\
)
,CmanClustat('node_b-clustat'
)
+ ,UnixSocket('node_b-cman_client'
+ ,label='/var/run/\ncman_client'
+ )
,UnixSocket('node_b-rgmanager.sk'
,label='/var/run/\ncluster/\nrgmanager.sk'
)]
,_edges=\
- [Consume\
+ [Delegate\
+ ('node_b-corosync'
+ ,'node_b-service_cman'
+ )
+ ,Consume\
+ ('node_b-clustat'
+ ,'node_b-cman_client'
+ )
+ ,Consume\
('node_b-clustat'
,'node_b-rgmanager.sk'
)
,Consume\
+ ('node_b-fenced'
+ ,'node_b-cman_client'
+ )
+ ,Consume\
+ ('node_b-rgmanager'
+ ,'node_b-cman_client'
+ )
+ ,Consume\
('node_b-rgmanager'
,'node_b-libccsconfdb'
)
,Produce\
+ ('node_b-service_cman'
+ ,'node_b-cman_client'
+ ,constraint=False
+ )
+ ,Produce\
('node_b-rgmanager'
,'node_b-rgmanager.sk'
)]
@@ -311,6 +340,17 @@ graph = lambda\
,label='version?'
)
,Consume\
+ ('node_b-modclusterd'
+ ,'node_b-cman_client'
+ ,constraint=False
+ #,label='version?'
+ )
+ ,Consume\
+ ('node_b-modcluster'
+ ,'node_b-cman_client'
+ ,constraint=False
+ )
+ ,Consume\
('node_b-ricci'
,'node_b-cluster.conf'
,label='clustername\nclusteralias'