---
name: "update-cluster-regenerate"
section: "8"
platform: "linux"
package: "update-cluster"
version: "0.41.5-5"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/update-cluster-regenerate"
---

# update-cluster-regenerate(8)

Regenerates configuration files from cluster.xml

## NAME

update-cluster-regenerate - Regenerates configuration files from cluster.xml

## SYNOPSIS

**update-cluster-regenerate all \| list \| \[***basename***\] ...**

## DESCRIPTION

**update-cluster-regenerate** regenerates individual configuration files from  **cluster.xml.** It uses hooks found in  */usr/lib/update-cluster/\*.updatelist* and */etc//update-cluster/updatelist/\*.updatelist* to do the actual work. Specifying  **all** will regenerate all the configuration files.

By specifying its name,  individual configuration files can be regenerated.

## OPTIONS

- **list**

  Gives out a list of possible scripts to be specified.  **all** will execute all of them

- **all**

  Regenerates all configuration files.

- **basename**

  Execute only the specified file to regenerate specific configuration files. Use  **list** to see possible options.

  Files in  */etc//update-cluster/updatelist/\*.updatelist* have priority over */usr/lib/update-cluster/\*.updatelist* and are executed instead if they exist.

## FILES

- **/etc//update-cluster/cluster.xml**

  The configuration file which holds the information.

- **/usr/share/update-cluster/cluster.dtd**

  The DTD for the XML database for cluster nodes.

- **/usr/lib/update-cluster/\*.updatelist**and**/etc//update-cluster/updatelist/\*.updatelist**

  The updation script. They need to be installed by individual programs as executable scripts.

## EXAMPLES

- **update-cluster-regenerate all**

  Regenerate all configuration files.

- **update-cluster-regenerate hosts**

  Regenerate hosts files.

- **update-cluster-regenerate list**

  List possible options.

## NOTES

Please read the sample files and read the  **README.Debian** file distributed with the package.

## BUGS

If a file with the same basename exists both in  */etc//update-cluster/updatelist/\*.updatelist* and in  */usr/lib/update-cluster/\*.updatelist* the behaviour of  **update-cluster-regenerate all** is incorrect.

## AUTHOR

Written by  **Junichi Uekawa \<dancer@debian.org\>, \<dancer@netfort.gr.jp\>, \<dancer@mikilab.doshisha.ac.jp\>** for Debian Project.

## SEE ALSO

update-cluster-parseconfig (*1*),  update-cluster-regenerate (*8*)
