From owner-freebsd-cluster@FreeBSD.ORG Mon May 25 16:56:11 2009 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 BE2671065679 for ; Mon, 25 May 2009 16:56:11 +0000 (UTC) (envelope-from h8msft@gmail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id 37B2D8FC1F for ; Mon, 25 May 2009 16:56:10 +0000 (UTC) (envelope-from h8msft@gmail.com) Received: by bwz9 with SMTP id 9so3314405bwz.43 for ; Mon, 25 May 2009 09:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=hfhYIwOyqS8FqchD8Pu2Scyw81P7i6TKJU5No5ZBfA4=; b=h9V8vecjiPSeo8j8QXXSNLNMKNTIMhhKnqD6eM/eP8zvY/lVjmiO9M+Dt6VVqzSw/6 KnxH3A8O4rbH0ag80JEjOsxCRibxtjIPytbm/pdOphQBTPCP/YqtYDPNtz0U2Eu1Y0YY Acp7lG1vf4V88lN+Rsg8VNMVufTze4vgPraCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=h3PLycyNJ8QgJgpJQocXamnpNAW3ek85hF+3oWf/DQ7aMn9zXBJso+zND16S6MvLz3 vpf8D/qB/BpNMgvrRgEMx1ckQd8FpiLve/icLdZZ1Ld0KVuTWucwjToKHLE/rLYgoO2M GPu1TxSkExBIOJaZ+LmTXFGh9oWNmA8MWSxqc= MIME-Version: 1.0 Received: by 10.204.97.204 with SMTP id m12mr7115886bkn.185.1243268728321; Mon, 25 May 2009 09:25:28 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 May 2009 11:25:28 -0500 Message-ID: From: Bob McClure To: Francisco Cabrita Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-cluster@freebsd.org Subject: Re: Question about iSCSI / NAS / Cluster 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: Mon, 25 May 2009 16:56:12 -0000 Francisco, This sounds very similar to the issue I encountered when trying to backend a shared SAN connection. The problem that I ran into was that this shared area would need to be configured as a shared file system such as GFS that is not available for FreeBSD. I did get concurrent connections, but bad things happened. There is package that is available for FreeBSD (ifstated) that reportedly will aid you with knowing when a carp status changed, but I personally never got it to work properly due to time constraints. My original solution that I still use is a script that looks at the carp device info from ifconfig and reports MASTER or BACKUP. This can be executed periodically by a script to have the new master mount the shared resource and the non-master give it up. This is far from ideal, but works in instances where immediate fail over is not required. This is designed to be called from a shell script via backtick. STATUS=`./carpstatus.pl` if [ $STATUS = "MASTER" ] ; then ..... fi (carpstatus.pl) #!/usr/bin/perl # $output = `ifconfig | grep carp: | grep vhid | /usr/bin/awk '{print \$2}'` ; # chomp($output) ; # print "$output" ; I hope this helps you with your issue. Bob McClure On Mon, May 25, 2009 at 9:39 AM, Francisco Cabrita < francisco.cabrita@gmail.com> wrote: > Hi, > > I don't know if this ML is the right place to post a question about > NAS/iSCSI and Cluster related issue. I will write it anyway. > > info: > I have built a NAS server under FreeBSD. Geom RAID5 over 3 hard disks and > iSCSI target0 created. > It is up and running without problems "exporting" a SCSI driver to a Ms > Windows 2000 Server with Microsoft iSCSI Inititator driver. > The volume is NTFS. > > doubt: > I have read multiple "old" posts around the web that I can't connect > multiple initiators (w2k clients) to the same target. Is this true > nowadays? > > Facts: > I really need at least two w2k clients to the same "storage NAS". Any tip > about how to solve this? > Maybe some kind of failover technique between both w2k servers? > > I really appreciate your help. Thanks in advance > > Best Regards > Francisco > > PS: I sent this email to freebsd-scsi ML too. No anwsers until now. > > -- > blog: http://sufixo.com/raw > http://www.linkedin.com/in/franciscocabrita > _______________________________________________ > freebsd-cluster@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-cluster > To unsubscribe, send any mail to "freebsd-cluster-unsubscribe@freebsd.org" >