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

Commit 87d8c83

Browse files
committed
Added volume specification
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
1 parent 6133122 commit 87d8c83

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
# Tasks sets specification for gluster volume
3+
4+
- name: Include gluster vol specification details
5+
include_vars:
6+
file: "{{ vs_definition }}"
7+
run_once: true
8+
9+
- name: Set gluster volume specification
10+
gluster_volume:
11+
state: "present"
12+
name: "{{ volume }}"
13+
options: "{{ options }}"
14+
run_once: true

ansible-playbook-base/site.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
roles:
8686
- passwdless-ssh-mesh
8787

88+
- name: Set gluster volume specification
89+
hosts: servers
90+
gather_facts: false
91+
roles:
92+
- configure-gluster-volume
93+
8894
- name: Run benchmark tests
8995
hosts: all
9096
gather_facts: false
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
volume: gbenchvol
3+
options:
4+
server.allow-insecure: 'on'
5+
server.event-threads: '4'
6+
client.event-threads: '4'
7+
features.cache-invalidation: 'on'
8+
features.cache-invalidation-timeout: '600'
9+
performance.stat-prefetch: 'on'
10+
performance.cache-invalidation: 'on'
11+
performance.md-cache-timeout: '600'
12+
network.inode-lru-limit: '90000'
13+
cluster.lookup-optimize: 'on'
14+

0 commit comments

Comments
 (0)