Bundle creation overview

Creating a bundle for ADCM consists of preparing the following set of files:

  • Ansible playbooks (including roles and tasks) that define the actions performed on hosts.

  • Configuration (config) file in the YAML format, which contains a set of prototypes representing descriptions of the objects included in the bundle.

Recommendations for creating a configuration file

 

  • You can create a common configuration file for all objects, or separate configuration files for one or more objects.

  • The config file should be named config.yaml or config.yml. The name of the config file is reserved; other files should not be named by that name.

The prepared Ansible playbooks and configuration files are archived in a file of TGZ format that is, essentially, an ADCM bundle.

The unit of the config.yaml description is a prototype that corresponds to an object controlled by ADCM. Depending on the bundle type, config.yaml can contain the relevant objects that are the prototypes.

ADCM bundles can be of two types:

IMPORTANT
The configuration file for a bundle can contain descriptions only for those objects that correspond to the bundle type. For example, the configuration file for a cluster bundle can contain descriptions for clusters and services while it cannot contain descriptions for hosts.
Found a mistake? Seleсt text and press Ctrl+Enter to report it