Setting up NFS ganesha using gdeploy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've fixed nfs-ganesha module in gdeploy and merged in master.
Now we will be able to setup NFS-Ganesha on a freshly installed RHEL 7 machines end-to-end
(Including subscribing to channels and installing the necessary packages) quite smoothly.

We have two prerequisites:

1. Setup hostnames for the nodes.
2. Setup passwordless ssh from your laptop to the NFS ganesha nodes.

I've tested this end-to-end on RHEL-7 machine. And works pretty good.
I request to test this extensively.

I'll now test and fix any issues in adding/deleting nodes to the existing cluster.

The fixes are available in master [1] I'll build RPMs a couple of weeks from now.
And install instructions at [2]

Attaching sample configuration file which I used for my deployment. Let me know if help is needed
in tweaking the config file.

[1] https://github.com/gluster/gdeploy
[2] http://gdeploy.readthedocs.io/en/latest/installation.html#installing-from-source

Note:
1. gdeploy is ported to Ansible 2.1, update to latest ansible.
2. If running on RHEL6 make sure to install the necessary packages
[hosts]
server1
server2

[backend-setup]
devices=/dev/vdb
vgs=vg1
pools=pool1
lvs=lv1
mountpoints=/mnt/brick

# Subscribe to necessary channels
[RH-subscription1]
action=register
username=<user>@redhat.com
password=<password>
pool=<pool-id>

[RH-subscription2]
action=disable-repos
repos=

[RH-subscription3]
action=enable-repos
repos=rhel-7-server-rpms,rh-gluster-3-for-rhel-7-server-rpms,rh-gluster-3-nfs-for-rhel-7-server-rpms,rhel-ha-for-rhel-7-server-rpms

[firewalld]
action=add
ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp
services=glusterfs

[yum]
action=install
repolist=
gpgcheck=no
update=no
packages=glusterfs-ganesha

[volume]
action=create
volname=ganesha
transport=tcp
replica_count=2
force=yes

[nfs-ganesha]
action=create-cluster
ha-name=ganesha-ha-360
cluster-nodes=server1,server2
vip=10.70.44.121,10.70.44.122
volname=ganesha
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux