Friday, May 1, 2015

Step by step Guide to create Glusterfs

1. Prepare 2 hosts with CentOS 6.3, thats what I am using
Server1: moti.expanor.local
server2: goma.expanor.local

2. Veryfy dns is working, and each host can ping each other.

3. Create a shared disk on both hosts: /opt/home

Software installation:

1. Install glusterfs-server package.
You can set up and repo

download the software

download the repo

# wget -P /etc/yum.repos.d/

# yum clean all
# yum install gluster-server
# chkconfig --list | grep glust
# service glusterd start

At this poing, you either disable iptables or enable the port to have a communicate with each other host.
I disabled iptables but you can let running SElinux.

No comments:

Post a Comment