How do I configure cloud nodes on the fly?
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.