Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

load balance for NFS gateway

load balance for NFS gateway

New Contributor

I have installed CDH 5.4.3, and have two NFS Gateway, one LB (HA Proxy as layer 4).

When I tried to mount I got 

# mount -a
mount.nfs: requested NFS version or transport protocol is not supported

 

Anone has done this before?

 

Entry in /etc/fstab  (RedHat 6.5 Selinux)

 

10.27.26.12:/ /var/lib/hdfs nfs context=system_u:object_r:openshift_var_lib_t:s0,vers=3,proto=tcp,nolock 0 0

 

HAProxy.cfg:

 

defaults
mode tcp
option tcplog
timeout connect 10s
timeout client 30s
timeout server 30s

# define frontend and backend servers
frontend mylb
bind *:2049
default_backend backend_servers

backend backend_servers
balance roundrobin
server nfs01 10..27.26.96:2049 check
server nfs02 10.27.26.75:2049 check