Gluster -- Storhaug NFS HA

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

 



Team,

I am trying to set up storhaug on a 3 node Centos 7.4 gluster set up. I have created the gluster volume and have exposed the volume using NFS Ganesha. However, I am not able to set up HA using storhaug. Is there an admin doc for this that I can use? Or can anyone let me know the correct sequence?

[root@sp9pool4 sysconfig]# rpm -qa | grep -i storh
storhaug-nfs-1.0-1.el7.noarch
storhaug-1.0-1.el7.noarch

[root@sp9pool4 sysconfig]# gluster volume list
ani_test_nfs

[root@sp9pool4 sysconfig]# showmount -e
Export list for sp9pool4:
/ani_test_nfs (everyone)

[root@sp9pool4 sysconfig]# storhaug --setup
Setting up
ERROR: Insufficient servers for HA, aborting


[root@sp9pool4 log]# pcs cluster status
Cluster Status:
 Stack: corosync
 Current DC: sp9pool4 (version 1.1.18-11.el7_5.2-2b07d5c5a9) - partition with quorum
 Last updated: Wed Jun 27 11:42:35 2018
 Last change: Wed Jun 27 11:42:14 2018 by hacluster via crmd on sp9pool4
 3 nodes configured
 0 resources configured

PCSD Status:
  sp9pool4: Online
  sp9pool6: Online
  sp9pool5: Online



cat /etc/sysconfig/storhaug.conf
# Name of the HA cluster created.
HA_NAME="ani_nfs"

# Password of the hacluster user
HA_PASSWORD="cvadmin"

# The server on which cluster-wide configuration is managed.
# IP/Hostname
HA_SERVER="sp9pool4"

# The set of nodes that forms the HA cluster.
# Comma-deliminated IP/Hostname list
HA_CLUSTER_NODES="sp9pool4,sp9pool5,sp9pool6"

# [OPTIONAL] A subset of HA nodes that will serve as storage servers.
# Comma-deliminated IP/Hostname list
STORAGE_NODES="sp9pool4,sp9pool5,sp9pool6""

# Virtual IPs of each of the nodes specified above.
# Whitespace-deliminated IP address list
HA_VIPS="172.24.25.200"

# Managed access methods
# Whitespace-delimited list. Valid values:
#   nfs
#   smb
HA_SERVICES="nfs"



Regards,
Ani
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.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