Mailing List Archive

NFS failover fails with stale file handles while migrating resources
Hello,

Running into a bit of a problem here , I set up two servers ( Centos 6 )
with Glusterfs and a shared directory between them, I have moved the nfs
directory to the shared Gluster folder and have created a symlink on both
boxes. The machines can talk to themselves via hostnames and Gluster
replication is handled via another ethernet card between the servers.

The problem I am having, is that even though the resources fail over
correctly ( though tit seems to come up and down a few times while failing
over ) , I can get stale nfs handles on the client. Below is my crm config;
what am I doing wrong?


node GlusterFS01
node GlusterFS02
primitive ClusterIP ocf:heartbeat:IPaddr2 \
params ip="10.10.10.167" cidr_netmask="24" clusterip_hash="sourceip"
\
op monitor interval="5s"
primitive exportfs ocf:heartbeat:exportfs \
params fsid="0" directory="/GlusterFS/Files"
options="rw,sync,no_subtree_check,no_root_squash" clientspec="10.10.10.0/24"
wait_for_leasetime_on_stop="false" \
op monitor interval="5s" \
op start interval="0s" timeout="240s" \
op stop interval="0s" timeout="100s" \
meta is-managed="true" target-role="Started"
primitive nfs lsb:nfs \
meta target-role="Started" \
op monitor interval="5s" timeout="5s"
colocation sitewithnfs inf: ClusterIP exportfs nfs
order nfsorder inf: exportfs ClusterIP nfs
property $id="cib-bootstrap-options" \
dc-version="1.1.10-14.el6_5.2-368c726" \
cluster-infrastructure="classic openais (with plugin)" \
expected-quorum-votes="2" \
stonith-enabled="false" \
no-quorum-policy="ignore" \
last-lrm-refresh="1395246465" \
default-resource-stickiness="100"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"




Thank you for your time.



--
View this message in context: http://linux-ha.996297.n3.nabble.com/NFS-failover-fails-with-stale-file-handles-while-migrating-resources-tp15576.html
Sent from the Linux-HA mailing list archive at Nabble.com.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems