Skip to content

mrshpaks/glusterfs-pcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Glusterfs + NFS + PCS installation script

This script installs GlusterFS with NFS support and enabling virtual IP via PCS

This is my first project on github. It was inspired by this blog post and I want to thanks blog author for this.

Before you begin

The script has been tested on CentOS 7 running in VirtualBox

Please edit file setvars and set your own values for variables

  1. A list of IP addresses of your cluster
IP_LIST
  1. Preferable hostnames for your cluster
CLUSTER_HOSTNAME
  1. PCS virtual IP to be used during installation, this IP must not be in use by any other host and has to be in the same subnet as your cluster nodes
VIRTUAL_IP
  1. Choose a directory for your NFS share
NFS_DIR
  1. Set volume name for GlusterFS if needed
GLUSTER_VOLUME_NAME
  1. Set the password for hacluster user (user account will be created automaticaly during pcs package insyallation)
HACLUSTER_PASSWORD
  1. You can edit or add values to another variables if needed

Installation

Run the script on each node. Enjoy!

About

GlusterFS with NFS support and PCS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages