Collection of Ansible playbooks for setting up Open CAS accelerated devices.
Default playbook configuration tries to configure Open CAS on opencas_nodes
host group from inventory.
Example configuration is shown in group_vars/opencas_nodes.yml.sample
.
For default, out-of-the-box configuration you can only change the name to opencas_nodes.yml,
configure appropriate host groups and adjust the device names.
Default configuration is already present at roles/opencas-deploy/files/default.csv
.
Any additional ioclass config files present in this directory will be copied over to
configured hosts and may be used in cache devices configuration in group variables.
Installs Open CAS software on opencas-node
group and configures caching devices
and cached volumes defined.
Stops all cache instances and removes Open CAS software. Make sure that
/dev/casx-y
devices aren't used at time of teardown.
Validates the Open CAS configuration set (e.g. in group_vars
).
Gathers custom facts needed for further processing, also in defaults/main.yml
there are some settings used by other roles e.g. version of Open CAS to be installed.
Installs Open CAS software. RPM or git installation option
Copies over the IO-class configuration files, validates configuration and deploys it on hosts.