Skip to content

Commit 6ef3f77

Browse files
committed
extra/rgmanager: finally obsolete in favor of clufter
Summarize the clufter-based alternatives in the README. Signed-off-by: Jan Pokorný <[email protected]>
1 parent 7217e08 commit 6ef3f77

25 files changed

+28
-3869
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ tools/report.collector.1
139139
xml/crm.dtd
140140
xml/pacemaker*.rng
141141
xml/versions.rng
142-
extra/rgmanager/ccs2cib
143-
extra/rgmanager/ccs_flatten
144-
extra/rgmanager/disable_rgmanager
145142
doc/Clusters_from_Scratch.build
146143
doc/Clusters_from_Scratch/en-US/Ap-*.xml
147144
doc/Clusters_from_Scratch/en-US/Ch-*.xml

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,6 @@ lrmd/Makefile \
18861886
lrmd/pacemaker_remote \
18871887
extra/Makefile \
18881888
extra/resources/Makefile \
1889-
extra/rgmanager/Makefile \
18901889
extra/logrotate/Makefile \
18911890
extra/logrotate/pacemaker \
18921891
tools/Makefile \

extra/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
MAINTAINERCLEANFILES = Makefile.in
2020

21-
SUBDIRS = resources rgmanager logrotate
21+
SUBDIRS = resources logrotate
2222

2323
mibdir = $(datadir)/snmp/mibs
2424
mib_DATA = PCMK-MIB.txt

extra/rgmanager/Makefile.am

Lines changed: 0 additions & 39 deletions
This file was deleted.

extra/rgmanager/README

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
1-
Linux-cluster cluster.conf to Pacemaker CIB translation
2-
utility.
1+
# Legacy: Linux-cluster cluster.conf to Pacemaker CIB translation utility
32

4-
Development is on Fedora 14+
3+
This directory used contain several parts related to the procedure of
4+
cluster stacks/configuration migration, in particular and as the directory
5+
name suggests: from (CMAN+RGManager)-based stack of HA components to
6+
the (Corosync+Pacemaker)-based one.
57

6-
2 phases:
7-
Step 1: Flatten tree
8-
Step 2: Convert
8+
This initial effort laid here was used as a foundation for a more
9+
sophisticated and maintained tool, [clufter](https://github.com/jnpkrn/clufter),
10+
which has made local tool-set obsolete since then.
911

10-
Requires:
11-
resource-agents
12-
libxml2
13-
java
14-
saxon >= 9.1
15-
java-1.6.0-openjdk
12+
In case any dependencies on previously offered bits arose as time was
13+
passing by, a mapping to the clufter-provided alternatives is provided:
1614

17-
TODO:
18-
* Fencing
19-
* Resource-defaults [ skipping ]
20-
...
21-
* Profit
15+
* `ccs2cib.in` resulting in `ccs2cib` conversion launcher
16+
- use `clufter ccs2pcs` (perhaps with some switches) and wrap it with
17+
some usage-specific script if suitable
18+
* `ccs_flatten.c` and the rest of C-files resulting in `ccs_flatten` binary
19+
- you can find the same modulo few modifications in `ccs-flatten`
20+
subdirectory within the released tarballs or repo itself
21+
and the resulting binary is a crucial part of clufter installation
22+
* `cluconf2cib.xsl`
23+
- deprecated in favor of multiple, sequentially chained XSL stylesheets
24+
decomposed into tree-like structure (refer to `filters/cluster`
25+
subdirectory but beware, it is accompanied with transformations for
26+
various other purposes)
27+
* `disable_rgmanager.c` resulting in `disable_rgmanager` utility
28+
- use `clufter ccs-disable-rg` (since `clufter-0.12.0`)
29+
* `tests` subdirectory
30+
- configs have been put under `tests/cluster.conf/orig` in clufter repo

extra/rgmanager/README.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README

extra/rgmanager/ccs2cib.in

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)