
This CLI arg was deprecated in Newton in favour of using the param in a environment file. The CLI argument is still present but is no longer the recommended approach and will be removed in the future. It was deprecated as it maps directly to a Heat parameter and it makes more sense to store it in an environment file with the other Heat parameters in the deployment. Change-Id: Ifb212c7ecaa145726b3c324f7064e62e10d006e8
892 B
892 B
Scaling overcloud roles
If you want to increase or decrease resource capacity of a running overcloud, you can start more servers of a selected role or delete some servers if capacity should be decreased. To set the capacity for the compute role, first an environment file should be created:
$ cat ~/environment.yaml
parameter_defaults:
ComputeCount: 5
Then following command can be used to deploy it:
openstack overcloud deploy --templates [templates dir] -e ~/environment.yaml
Note
Scaling out assumes that newly added nodes has already been registered in Ironic.
Note
When scaling down random servers of specified role will be deleted,
how to delete specific nodes is described in delete_nodes
.
Note
The different scale parameters can be seen in the output of:
openstack help overcloud deploy