From owner-freebsd-scsi@FreeBSD.ORG Wed Jan 14 15:24:27 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 136361065680 for ; Wed, 14 Jan 2009 15:24:26 +0000 (UTC) (envelope-from asossi@dotcom.ts.it) Received: from mail.dotcom.ts.it (89-96-242-204.ip14.fastwebnet.it [89.96.242.204]) by mx1.freebsd.org (Postfix) with SMTP id 590DE8FC16 for ; Wed, 14 Jan 2009 15:24:25 +0000 (UTC) (envelope-from asossi@dotcom.ts.it) Received: (qmail 14986 invoked by uid 89); 14 Jan 2009 15:24:24 -0000 Received: by simscan 1.1.0 ppid: 14972, pid: 14977, t: 0.9137s scanners:none X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on web.dotcom.ts.it X-Spam-Level: X-Spam-Status: No, hits=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from unknown (HELO ?192.168.0.2?) (asossi@dotcom.ts.it@192.168.254.2) by test.dotcom.ts.it with SMTP; 14 Jan 2009 15:24:23 -0000 Message-ID: <496E02FB.9090000@dotcom.ts.it> Date: Wed, 14 Jan 2009 16:21:31 +0100 From: Sossi Andrej Organization: DotCom Information technology User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Gary Palmer References: <496634BB.9050902@dotcom.ts.it> <4966A25E.4070803@modulus.org> <20090109061324.GD81380@in-addr.com> In-Reply-To: <20090109061324.GD81380@in-addr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: ISCSI and multipath X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 15:24:27 -0000 Gary Palmer wrote: > On Fri, Jan 09, 2009 at 12:03:26PM +1100, Andrew Snow wrote: > >> Sossi Andrej wrote: >> >>> Another question about MD3000i. >>> My MD3000i have 2 controller and every controller have 2 net interface. >>> My FreeBSD server is connect on NAS server with 2 network cards throw >>> out 2 switch on th 2 networks. (192.168.253.X and 192.168.252.X). >>> In the official manual is written if the primary controller (or net) >>> have a problem the NAS automatically switch disks drive on second >>> controller. For this is required MPIO on Windows or MPP on Linux. It is >>> supported also on FreeBSD? >>> >> If you only wanted to do failover at the network level with shared IP >> address, you could use lagg. >> >> However, since you have different IP subnets for each network, you >> probably want to look at using geom_fox. You set up two iSCSI >> connections, one to each controller, and geom_fox on top to make it >> appear as a single disk device. >> > > FreeBSD 7.0 and later also has geom_multipath, which I've been > told (no experience) is a better approach. I suggest you > review documentation for both and make your own decision > > Regards, > > Gary > I read geom_fox an geom_mirror man pages. I think the geom_mirror is best way, but not everything is clear for me. This is scenario: NAS server: controller 0 interface 0: 192.168.253.254 controller 1 interface 0: 192.168.253.253 controller 0 interface 1: 192.168.252.254 controller 1 interface 1: 192.168.252.253 FreeBSD: re0: 192.168.253.1 re1: 192.168.252.1 FreeBSD is connected through 2 switches, one for net 192.168.253.X and one for 192.168.252.X. In the iscsi.conf file my target is 192.168.253.254. ISCSI initiator creates only one device for disk. If I will use geom_multipath, I must launch initiator 2 times (or 4 times), each for one interface. Then I must configure geom_multipart device for /dev/da0 , /dev/da5, ... Is this correct? If yes, I plan some tests and then I will write the results. Thanks -- Sossi Andrej ------------------------- DotCom Information technology Via Biancospino, 9 34151 - Opicina (TS) Italy tel: +39 040 2158191 fax: +39 040 0641954 E-mail: asossi@dotcom.ts.it ---------------------------- Ai sensi del D.lgs n. 196 del 30.06.03 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie This message, for the D.lgs n. 196 / 30.06.03 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.