Skip to content

Install and Configure 3 node Gluster Storage Cluster using Ansible

License

Notifications You must be signed in to change notification settings

samkandarkar/Ansible-GlusterDeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-GlusterDeploy

Using this repo you can configure a three node cluster of Gluster storage in your environment using Ansible automation tool.

Prerequisits :
For Ansible Deployment all nodes must conatin a passwordless ssh connection from Ansible server and Gluster should be Installed on each node in your environment. You can refer following repository

For centos :

http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo

For Fedora :

http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Clone this repo to your master node.

 git clone https://github.com/samkandarkar/Ansible-GlusterDeploy.git

Edit the inventory file

[nodes]
IP1 (Can be master's IP)
IP2
IP3

[master]
Master_IP

How to play

To Configure the environment for gluster storage cluster you have to play the file "run.yml" which will invoke Ansible galaxy roles in Ansible-GlusterDeploy folder.
Before running the playbook , users must change the values in the file "Ansible-GlusterDeploy/vars/main.yml".
There is example available for configuration of vars file in Ansible-GlusterDeploy/README.md

After doing all configurations releted to your requirement run the followingcommand

 ansible-playbook run.yml

About

Install and Configure 3 node Gluster Storage Cluster using Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published