
OpenStack Cloud Computing Cookbook
By :

The power of host aggregates comes from the ability to use them to logically group hosts based on their properties. This can be used, for example, to enable load balancing, enforce physical separation, or keep instances that are insecure from being scheduled into a secured environment. We will show this by matching the metadata of a host aggregate with that of an instance flavor.
To add metadata to a host aggregate, you will need the following information:
The openstack
command-line client
The openrc
file containing appropriate credentials
The name or ID of the aggregate
The metadata property to add
In our example, these values will be the following:
Host aggregate: cookbook-ssd-hosts
Metadata: ssd=true
To add metadata to host aggregate, use the following process:
Show the existing metadata associated with an aggregate:
openstack aggregate show cookbook-ssd-hosts
This will bring back an output like the following. Note that the properties...
Change the font size
Change margin width
Change background colour