Tendrl/tendrl-ansible

Setup of separate disks for graphite and etcd data

r0h4n opened this issue · 4 comments

r0h4n commented

It is now a minimum requirement for Tendrl server to host data directories of graphite and etcd on separate disks (more: https://github.com/Tendrl/documentation/wiki/Tendrl-release-latest#tendrl-server-system-requirements)

tendrl-ansible should ensure these requirements are met.

Ack, accepting for 1.5.5.

This will be implemented as a check in the prechecks playbook.

Actual partitioning is done during installation of a machine and so it could be automated in tools like anaconda kickstart, satellite or foreman.

The other option is that instead of a precheck, we could add tasks which would do the setup based value of tendrl ansible variable, which would contain a path of block device:

  • format block device with xfs
  • create a mountpoint there (fstab entry)
  • make sure permissions are right
  • start etcd/graphite

@dahorak what do you think about this?

edit: this is intended as a near future enhancement, I don't propose to do it right now

Moving this out of milestone 3, as the idea described in #64 (comment) hasn't been explored. That said, we have at least a check in prechecks playbook file.