This article is being updated. Please be aware the content herein, not limited to version numbers and slight syntax changes, may not match the output from the most recent versions of Bright. This notation will be removed when the content has been updated.
To start or stop cloud nodes dynamically according to current jobs needs you can use the cloud-resize utility. This utility is provided by Bright Cluster Manager, version 6.0 and higher.
To setup dynamic cloud-scaling, a configuration file should be created. cloud-resize should be executed periodically (for example, by cron).
It is also possible to change the default rules that determine how many cloud nodes should start. The rules can be based on
- the current queued jobs request
- a way to start or stop these cloud nodes.
This is possible because the cloud-scaling logic is moved to the two callback modules written in Python.
See the cloud-resize man page for details.