From owner-freebsd-cluster@FreeBSD.ORG Tue Sep 23 19:59:28 2008 Return-Path: Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2787D1065674 for ; Tue, 23 Sep 2008 19:59:28 +0000 (UTC) (envelope-from h8msft@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id D78448FC17 for ; Tue, 23 Sep 2008 19:59:27 +0000 (UTC) (envelope-from h8msft@gmail.com) Received: by gxk10 with SMTP id 10so4764697gxk.19 for ; Tue, 23 Sep 2008 12:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=2G/f4n/KWmzA/7DC8yJZHw3ggjyaMjVJLLxBLcQFt5Q=; b=LOu1/7U8dILAyREtLva7uMvBfBEELuhkI3fu2LVpIC1bC0iEwun9sOC4o/8URgxHNo mgppG6eCzD+PY/xDF5GuI83bw9az41/FDxxUuCu/tbGxA5xwd8jlxbIYG8XlYXXTcdFq LM99Gmhz6cWg2i92+vjKgxh2kQpETcfBnq5Ww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ECWl1d5o6it69vznoPvbNg0ErXPcGbniNxV8dXj0pSLdpfDnfPIQTj2Qc8+064ARS+ qFM7+f/9xhpclHf3l4devQCpvwi53pAqR/Exgbc4w1KO0av6N8ev5md/bk5W5jK31WRR HlI5/ozVAYDQMmNLRje3F4x0ZZ3MrlsKo3o6g= Received: by 10.100.177.15 with SMTP id z15mr4893332ane.124.1222198281889; Tue, 23 Sep 2008 12:31:21 -0700 (PDT) Received: by 10.100.107.11 with HTTP; Tue, 23 Sep 2008 12:31:21 -0700 (PDT) Message-ID: Date: Tue, 23 Sep 2008 14:31:21 -0500 From: "Bob McClure" To: freebsd-cluster@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: CARP Status X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 19:59:28 -0000 I have several servers running CARP in an active/passive configuration. Currently the only way that my scripts can determine if a given node is master is by periodically executing ifconfig carp1 and grepping for MASTER. Although this works, it's kind of clunky. Is there a better way to detect the CARP status of a server? Thanks in advance. Bob McClure