Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the backend setup variable used for setting up cache #71

Open
sac opened this issue May 16, 2019 · 0 comments
Open

Change the backend setup variable used for setting up cache #71

sac opened this issue May 16, 2019 · 0 comments

Comments

@sac
Copy link
Member

sac commented May 16, 2019

Currently we use the following variable for setting up cache:

     gluster_infra_cache_vars:
       - vgname: vg_vdc
         cachedisk: '/dev/vdd'
         cachelvname: 'cachelv_thinpool_vg_vdc'
         cachethinpoolname: 'thinpool_vg_vdc'
         cachelvsize: '50G'
         cachemetalvsize: '2G'
         cachemetalvname: 'cache_thinpool_vg_vdc'
         cachemode: 'writethrough'

We currently mention the disk which has to be used for setting up the cache.
And internally use this device to extend the volume group vg_vdc. However since Ansible 2.8
this will not work. We have to also mention the disks which are currently part of the volume group vg_vdc.

For example if vg_vdc is made of /dev/vdc then the variable should look like:

     gluster_infra_cache_vars:
       - vgname: vg_vdc
         cachedisk: '/dev/vdc,/dev/vdd'
         cachelvname: 'cachelv_thinpool_vg_vdc'
         cachethinpoolname: 'thinpool_vg_vdc'
         cachelvsize: '50G'
         cachemetalvsize: '2G'
         cachemetalvname: 'cache_thinpool_vg_vdc'
         cachemode: 'writethrough'

We have to make this change while setting up cache for GlusterFS backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant