|
1 |
| -Linux-cluster cluster.conf to Pacemaker CIB translation |
2 |
| -utility. |
| 1 | +# Legacy: Linux-cluster cluster.conf to Pacemaker CIB translation utility |
3 | 2 |
|
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. |
5 | 7 |
|
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. |
9 | 11 |
|
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: |
16 | 14 |
|
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 |
0 commit comments