Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Conversation

@rohan47
Copy link
Member

@rohan47 rohan47 commented Dec 18, 2018

Signed-off-by: rohan47 rohanrgupta1996@gmail.com

Ability to set volume options (tuning parameters)

@rohan47 rohan47 force-pushed the volume_specification branch from c9ea541 to 87d8c83 Compare December 20, 2018 11:35
Copy link
Collaborator

@ShyamsundarR ShyamsundarR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change how it is plugged into the workflow is right, comments needs addressing and also README should change to reflect this new step.

- name: Set gluster volume specification
gluster_volume:
state: "present"
name: "{{ volume }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Volume name comes from vc_definition

roles:
- passwdless-ssh-mesh

- name: Set gluster volume specification
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this after prepare gluster volumes, we can set options there.

We still want this as a separate step, so that we can invoke it many times for the same volume in reduced testing scenario.

include_vars:
file: "{{ vs_definition }}"
run_once: true

Copy link
Collaborator

@ShyamsundarR ShyamsundarR Jan 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a play to reset the existing options to defaults, before setting the new options.

performance.cache-invalidation: 'on'
performance.md-cache-timeout: '600'
network.inode-lru-limit: '90000'
cluster.lookup-optimize: 'on'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like group options to also be a part of this, not sure if this is handled here, will check and get back on this. IOW, the comment is this yml should allow setting volume group options as well (I suspect that is the one we would be testing with most often)

@@ -0,0 +1,14 @@
---
volume: gbenchvol
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Volume name should be from vc_defn so that we do not have to repeat it.. (mentioning here as well so that we do not miss it)

Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
@rohan47 rohan47 force-pushed the volume_specification branch from 87d8c83 to 066cb66 Compare January 28, 2019 10:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants