
OpenStack Cloud Computing Cookbook, Third Edition
By :

OpenStack Object Storage can report on usage metrics by using the swift-recon
middleware added to our object-server
configuration. By using a tool named swift-recon
, we can then query these collected metrics.
Ensure that you are logged in to all of the nodes and have the relevant packages installed and configured for running Swift. If you created this environment with Vagrant, you can execute the following commands to access all the nodes:
vagrant ssh swift-proxy vagrant ssh swift-01 vagrant ssh swift-02 vagrant ssh swift-03 vagrant ssh swift-04 vagrant ssh swift-05
To collect usage statistics from our OpenStack Object Storage cluster, carry out the following steps:
We first need to modify our /etc/swift/object-server.conf
configuration file on storage nodes to include the swift-recon
middleware, so that it looks similar to the following:
[DEFAULT] bind_ip = 0.0.0.0 workers = 2 [pipeline:main] pipeline = recon object-server [app:object...
Change the font size
Change margin width
Change background colour