The cookbooks uploaded to the Chef server in Chapter 2, Deploying OpenStack – DevOps and OpenStack Dual Deal, include as well the Swift cookbook named
If you did not upload the Swift cookbook, you can download it and add to your Chef cookbook repository from GitHub: https://github.com/openstack/cookbook-openstack-object-storage/tree/stable/havana.
For a large environment, it is recommended to split the proxy and storage layers, as shown in the previous figure. Optionally, we can assign, for each storage node, a triple Swift server: account, container and object role while keeping dedicated nodes for the Swift proxy server. From our Chef server, we can assign the following roles.
A Swift storage node role, add this code:
name "packtpub-os-object-storage" description "Swift Triple Servers Roles" run_list( "role[packtpub-os-base]", "role[packtpub-os-object-storage-account]", "role[packtpub-os-object-storage-container]", "role[packtpub...