<div dir="ltr">Following the solution proposed by red hat I noted that the resource agent cannot manage NFSD_V4_LEASE and NFSD_V4_GRACE options in /etc/sysconfig/nfs. <div>However, i manually changed the script in /usr/lib/ocf/resource.d/heartbeat/nfsserver on both nodes, but there is the same problem. How can i check if nfs "understand" this parameters? Should i reduce some timeout in the exportfs resources or nfsserver resource?</div><div><br></div><div>Thanks,</div><div>MM</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-22 11:12 GMT+02:00 Michael Schwartzkopff <span dir="ltr"><<a href="mailto:ms@sys4.de" target="_blank">ms@sys4.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Am Montag, 22. Juni 2015, 10:51:16 schrieb Marco Marino:<br>
> Hi,<br>
> I'm building an nfs server with drbd and pacemaker on CentOS 6.5 and i have<br>
> some questions related to the failover. In my installation after a<br>
> simulated failover, clients hangs for a random time (between few seconds<br>
> and 140 seconds) before commands like "ls" or "touch" became responsive.<br>
> This happens also if I use nfsvers=3 on clients. Why this happens? How can<br>
> manage this case for reduce this time?<br>
> Following the guide on the linbit site ("Nfs on rhel 6") on chapter 11<br>
> there are some failover tests and it should works without this kind of<br>
> problems.<br>
><br>
> Thanks,<br>
> MM<br>
<br>
</div></div>Looks like your server waits for the lease / grace timeout. Please see:<br>
<br>
<a href="https://access.redhat.com/solutions/42868" rel="noreferrer" target="_blank">https://access.redhat.com/solutions/42868</a><br>
<br>
or goole for "nfsv4 lease timeout"<br>
<br>
The options grace / least timeout can be configured as agent parameters. Lower<br>
it according to your needs.<br>
<br>
Mit freundlichen Grüßen,<br>
<br>
Michael Schwartzkopff<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
[*] sys4 AG<br>
<br>
<a href="http://sys4.de" rel="noreferrer" target="_blank">http://sys4.de</a>, <a href="tel:%2B49%20%2889%29%2030%2090%2046%2064" value="+498930904664">+49 (89) 30 90 46 64</a>, <a href="tel:%2B49%20%28162%29%20165%200044" value="+491621650044">+49 (162) 165 0044</a><br>
Franziskanerstraße 15, 81669 München<br>
<br>
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263<br>
Vorstand: Patrick Ben Koetter, Marc Schiffbauer<br>
Aufsichtsratsvorsitzender: Florian Kirstein</font></span><br>_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>