You may want to remove the services from a node, for example because you want to replace the node or because you want to change the services it runs.
You remove services with kollacli host destroy command. This command removes all the Docker containers that run services. By default, it does not remove the data containers (and therefore the data on the host).
When you remove services, bear in mind the deployment "rules":
The nodes in the compute group must not be assigned to the control group.
The control group must contain at least two nodes.
The number of nodes in the database group must always be a multiple of two.
Each group must contain at least two nodes to enable high availability.
To remove all services from a node:
$ kollacli host destroy compute1.example.com
By default, the containers are killed (docker
kill) before they are removed. Use the
--stop option to perform a graceful shutdown
(docker stop) of the containers before removing
them. This might be slower.
To remove all services from all nodes:
$ kollacli host destroy all
To remove all services and the OpenStack data from a node:
$ kollacli host destroy --includedata control1.example.com
If you no longer want to include a node in a deployment, you must also remove it from the list of target nodes:
$ kollacli host remove [ host | all ]
where host is the fully qualified
domain name or IP address of the host, or all for
all hosts.

