[Bugs] [Bug 1354439] nfs client I/O stuck post IP failover

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 3 12:02:14 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1354439



--- Comment #11 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14878 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit ea6a1ebe931e49464eb17205b94f5c87765cf696
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Fri Jul 8 12:30:25 2016 +0530

    commn-HA: Add portblock RA to tickle packets post failover(/back)

    Portblock resource-agents are used to send tickle ACKs so as to
    reset the oustanding tcp connections. This can be used to reduce
    the time taken by the NFS clients to reconnect post IP
    failover/failback.

    Two new resource agents (nfs_block and nfs_unblock) of type
    ocf:portblock with action block & unblock are created for each
    Virtual-IP (cluster_ip-1). These resource agents along with cluster_ip-1
    RA are grouped in the order of block->IP->unblock and also the entire
    group maintains same colocation rules so that they reside on the same
    node at any given point of time.

    The contents of tickle_dir are of the following format -
    * A file is created for each of the VIPs used in the ganesha cluster.
    * Each of those files contain entries about clients connected
      as below:
    SourceIP:port_num       DestinationIP:port_num

    Hence when one server failsover, connections of the clients connected
    to other VIPs are not affected.

    Note: During testing I observed that tickle ACKs are sent during
    failback but not during failover, though I/O successfully
    resumed post failover.

    Also added a dependency on portblock RA for glusterfs-ganesha package
    as it may not be available (as part of resource-agents package) in
    all the distributions.

    Change-Id: Icad6169449535f210d9abe302c2a6971a0a96d6f
    BUG: 1354439
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/14878
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=N9KXjurlEv&a=cc_unsubscribe


More information about the Bugs mailing list