From owner-freebsd-fs@freebsd.org Tue Nov 3 17:36:50 2015 Return-Path: Delivered-To: freebsd-fs@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 ABF6BA2556F for ; Tue, 3 Nov 2015 17:36:50 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 90286182A for ; Tue, 3 Nov 2015 17:36:50 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8E6F4A2556E; Tue, 3 Nov 2015 17:36:50 +0000 (UTC) Delivered-To: fs@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 8E04CA2556D for ; Tue, 3 Nov 2015 17:36:50 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mail.michaelwlucas.com (mail.michaelwlucas.com [104.236.197.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2764F1829 for ; Tue, 3 Nov 2015 17:36:49 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mail.michaelwlucas.com (localhost [127.0.0.1]) by mail.michaelwlucas.com (8.15.2/8.15.2) with ESMTP id tA3HZQZX017332 for ; Tue, 3 Nov 2015 12:35:26 -0500 (EST) (envelope-from mwlucas@mail.michaelwlucas.com) Received: (from mwlucas@localhost) by mail.michaelwlucas.com (8.15.2/8.15.2/Submit) id tA3HZQRg017331 for fs@freebsd.org; Tue, 3 Nov 2015 12:35:26 -0500 (EST) (envelope-from mwlucas) Date: Tue, 3 Nov 2015 12:35:26 -0500 From: "Michael W. Lucas" To: fs@freebsd.org Subject: hast exec vs devd for handling CARP events Message-ID: <20151103173526.GA17299@mail.michaelwlucas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.michaelwlucas.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mail.michaelwlucas.com [127.0.0.1]); Tue, 03 Nov 2015 12:35:27 -0500 (EST) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 17:36:50 -0000 Hi, There's lots of recipes out there for HAST failover based on devd. HAST also has the ability to run scripts on events, with the exec function in hast.conf. It *seems* it make more sense to have HAST mount filesystems and start processes when it claims the master role for a resource, as opposed to triggering that mount via a devd event and waiting for HAST to perform the switch. Thanks for any insight. I'm researching the "specialty filesystems" book, and want to give the best advice. ==ml -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/