redhat-performance / satperf

Collection of Automation/Tools for Performance Analysis/Testing of Satelite 6
GNU General Public License v2.0
31 stars 26 forks source link

Allow the usage of an additional disk to store Satellite data #186

Closed pablomh closed 2 years ago

pablomh commented 2 years ago

Provide a way to store most of the Satellite data in a different disk.

To do so, set partition_new_storage to True and storage_pools_disk with the value of the disk to be used, and a new VG and the required LV and partitions will be created.

It uses the linux-system-roles.storage Ansible role.

Note: this code can be easily reused to implement the same funcionality for capsules installations.

pablomh commented 2 years ago

It was tested against master, so YMMV in this branch. -> Tested against refactor.

jhutar commented 2 years ago

Thank you! Moving to roles we do not maintain is so needed :)

jhutar commented 2 years ago

I'll probably move that storage_pools config from playbook to config to follow the current pattern. I'm very glad you took the time to discover this path!

pablomh commented 2 years ago

I didn't put it in config because I wanted to reuse most of the code for the capsules (they will need few partitions).

jhutar commented 2 years ago

FYI I have hit https://github.com/linux-system-roles/storage/issues/258 so added https://github.com/redhat-performance/satperf/commit/27440d8b8e8dccc57e93f84a9b9564fd65b0c382