April 2017
Intermediate to advanced
470 pages
11h 12m
English
We will use OpenStack Ansible to deploy Swift service. The following files control the process of deploying Swift with Ansible: /etc/openstack_deploy/conf.d/swift.yml
and /etc/openstack_deploy/user_variables.yml files.
The OpenStack Ansible project recommends at least three storage nodes with five disk drives. The first step is to add a filesystem to the drives. We will use xfs as our filesystem as recommended by Swift project as it supports caching and extended attributes used for storing metadata associated with the objects. Replace X with the appropriate drive letter:
# apt-get install xfsprogs# mkfs.xfs -f -i size=1024 -L sdX /dev/sdX
The filesystem must be created for all five attached drives. Next make an entry ...
Read now
Unlock full access