Revision ea5fd476 doc/admin.rst
b/doc/admin.rst | ||
---|---|---|
1350 | 1350 |
instance OS definitions are executing properly the rename, import and |
1351 | 1351 |
export operations. |
1352 | 1352 |
|
1353 |
sanitize-config |
|
1354 |
+++++++++++++++ |
|
1355 |
|
|
1356 |
This tool takes the Ganeti configuration and outputs a "sanitized" |
|
1357 |
version, by randomizing or clearing: |
|
1358 |
|
|
1359 |
- DRBD secrets and cluster public key (always) |
|
1360 |
- host names (optional) |
|
1361 |
- IPs (optional) |
|
1362 |
- OS names (optional) |
|
1363 |
- LV names (optional, only useful for very old clusters which still have |
|
1364 |
instances whose LVs are based on the instance name) |
|
1365 |
|
|
1366 |
By default, all optional items are activated except the LV name |
|
1367 |
randomization. When passing ``--no-randomization``, which disables the |
|
1368 |
optional items (i.e. just the DRBD secrets and cluster public keys are |
|
1369 |
randomized), the resulting file can be used as a safety copy of the |
|
1370 |
cluster config - while not trivial, the layout of the cluster can be |
|
1371 |
recreated from it and if the instance disks have not been lost it |
|
1372 |
permits recovery from the loss of all master candidates. |
|
1373 |
|
|
1374 |
|
|
1353 | 1375 |
Other Ganeti projects |
1354 | 1376 |
--------------------- |
1355 | 1377 |
|
Also available in: Unified diff