From owner-svn-src-head@freebsd.org Fri Sep 11 15:20:04 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0A29A02765; Fri, 11 Sep 2015 15:20:04 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "A1-33714", Issuer "A1-33714" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 595B81D05; Fri, 11 Sep 2015 15:20:04 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (localhost [127.0.0.1]) by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id t8BFEKSt012626 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Sep 2015 11:14:20 -0400 (EDT) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.14.9/Submit) id t8BFEKG6012625; Fri, 11 Sep 2015 11:14:20 -0400 (EDT) (envelope-from ken) Date: Fri, 11 Sep 2015 11:14:20 -0400 From: "Kenneth D. Merry" To: Alexander Motin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r287621 - in head/sys: cam/ctl conf modules/ctl Message-ID: <20150911151420.GA12580@mithlond.kdm.org> References: <201509101240.t8ACeWgq081999@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201509101240.t8ACeWgq081999@repo.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mithlond.kdm.org [127.0.0.1]); Fri, 11 Sep 2015 11:14:20 -0400 (EDT) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mithlond.kdm.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 15:20:04 -0000 On Thu, Sep 10, 2015 at 12:40:32 +0000, Alexander Motin wrote: > Author: mav > Date: Thu Sep 10 12:40:31 2015 > New Revision: 287621 > URL: https://svnweb.freebsd.org/changeset/base/287621 > > Log: > Reimplement CTL High Availability. > > CTL HA functionality was originally implemented by Copan many years ago, > but large part of the sources was never published. This change includes > clean room implementation of the missing code and fixes for many bugs. > > This code supports dual-node HA with ALUA in four modes: > - Active/Unavailable without interlink between nodes; > - Active/Standby with second node handling only basic LUN discovery and > reservation, synchronizing with the first node through the interlink; > - Active/Active with both nodes processing commands and accessing the > backing storage, synchronizing with the first node through the interlink; > - Active/Active with second node working as proxy, transfering all > commands to the first node for execution through the interlink. > > Unlike original Copan's implementation, depending on specific hardware, > this code uses simple custom TCP-based protocol for interlink. It has > no authentication, so it should never be enabled on public interfaces. > > The code may still need some polishing, but generally it is functional. > > Relnotes: yes > Sponsored by: iXsystems, Inc. Wow, very cool! Thank you for doing that, and thanks to iX for sponsoring it! I was hoping that someone would pick up the HA work years ago when I put in those stubs, and I'm very glad that you have done the work! This will be great functionality for FreeBSD! Ken -- Kenneth Merry ken@FreeBSD.ORG