/director-scripts

Cloudera Director sample code

Primary LanguageShellApache License 2.0Apache-2.0

Cloudera Altus Director Public Scripts

Contributing Code

See CONTRIBUTING.md.

Overview

Cloudera Altus Director can run custom user scripts at several points during the cluster creation and termination processes. All scripts are run as root.

  • Bootstrap scripts are run on an instance on startup, very soon after it becomes available.
  • Deployment-level post-creation scripts run on a Cloudera Manager instance after its bootstrap is completed.
  • Cluster instance-level post-creation scripts run on each cluster instance after cluster bootstrap is completed.
  • Cluster-level post-creation scripts run on a single, arbitrary cluster instance after cluster bootstrap is completed.
  • Cluster-level pre-termination scripts run on a single, arbitrary cluster instance before cluster termination begins.

This repository is a collection of freely available example scripts that Cloudera Altus Director users can use to augment their clusters with advanced functionality.

Please refer to the Cloudera Altus Director documentation for more details about bootstrap scripts, post-creation scripts, and pre-termination scripts.

Besides the scripts described below, look through the example configuration files for other examples.

Bootstrap scripts

Also, look through reference configurations for examples of bootstrap scripts.

Post-creation scripts

Look through reference configurations for examples of post-creation scripts.

Pre-termination scripts

Look through reference configurations for examples of pre-termination scripts.

Additional scripts

Other directories in this repository contain helpful scripts for a variety of tasks related to Altus Director. Check out their README files and/or comments for more information.