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
storhstorhaug-nfs-1.0-1.el7.noarchstorhaug-1.0-1.el7.noarch
[root@sp9pool4 sysconfig]# gluster volume listani_test_nfs
[root@sp9pool4 sysconfig]# showmount -e
Export list for sp9pool4:/ani_test_nfs (everyone)
[root@sp9pool4 sysconfig]# storhaug --setupSetting upERROR: Insufficient
servers for HA, aborting
[root@sp9pool4 log]# pcs cluster statusCluster 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 userHA_PASSWORD="cvadmin"
# The server on which cluster-wide configuration is managed.#
IP/HostnameHA_SERVER="sp9pool4"
# The set of nodes that forms the HA cluster.# Comma-deliminated IP/Hostname
listHA_CLUSTER_NODES="sp9pool4,sp9pool5,sp9pool6"
# [OPTIONAL] A subset of HA nodes that will serve as storage servers.#
Comma-deliminated IP/Hostname listSTORAGE_NODES="sp9pool4,sp9pool5,sp9pool6""
# Virtual IPs of each of the nodes specified above.# Whitespace-deliminated IP
address listHA_VIPS="172.24.25.200"
# Managed access methods# Whitespace-delimited list. Valid values:# nfs#
smbHA_SERVICES="nfs"
Regards,Ani
_______________________________________________
Gluster-devel mailing list
[email protected]
http://lists.gluster.org/mailman/listinfo/gluster-devel