From owner-freebsd-cluster@FreeBSD.ORG Sun May 24 12:11:58 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 90F6E1065670 for ; Sun, 24 May 2009 12:11:58 +0000 (UTC) (envelope-from ady@comlabs.itb.ac.id) Received: from mx2.ITB.ac.id (mx2.itb.ac.id [IPv6:2001:d30:3:5::67]) by mx1.freebsd.org (Postfix) with ESMTP id 2BA9E8FC1A for ; Sun, 24 May 2009 12:11:57 +0000 (UTC) (envelope-from ady@comlabs.itb.ac.id) Received: from mx4.ITB.ac.id (mx4.itb.ac.id [IPv6:2001:d30:3:5::69]) by mx2.ITB.ac.id (Postfix) with ESMTP id 1DB79125525 for ; Sun, 24 May 2009 19:12:48 +0700 (WIT) Received: from localhost (antivirus2.itb.ac.id [167.205.1.76]) by mx4.ITB.ac.id (Postfix) with ESMTP id F09CA45018 for ; Sun, 24 May 2009 19:18:15 +0000 (UTC) Virus-Scanned: antivirus2-ITB-slb Received: from mx4.ITB.ac.id ([167.205.23.13]) by localhost (antivirus2.itb.ac.id [167.205.1.76]) (amavisd-new, port 10004) with ESMTP id G8qZW16MSS9z for ; Sun, 24 May 2009 19:12:16 +0700 (WIT) Received: from www.arc.itb.ac.id (arc.itb.ac.id [167.205.3.3]) by mx4.ITB.ac.id (Postfix) with ESMTP id 8283B45038 for ; Sun, 24 May 2009 19:17:59 +0000 (UTC) Received: from [IPv6:2403:8000:1:3102:4dce:1224:4c95:90b5] (unknown [IPv6:2403:8000:1:3102:4dce:1224:4c95:90b5]) by www.arc.itb.ac.id (Postfix) with ESMTP id 6F49162DA for ; Sun, 24 May 2009 19:10:59 +0700 (WIT) Message-ID: <4A193968.5050706@comlabs.itb.ac.id> Date: Sun, 24 May 2009 19:11:20 +0700 From: ady User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-cluster@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: problem with mpich2 on freebsd 7.2 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: Sun, 24 May 2009 12:11:58 -0000 hi everyone, i'm ady, undergraduate student@bandung institute of tech. i'm planning to develop a HPC with MPICH2 and SGE on freebsd 7.2 for my final assessment. i install sge-6.2.2.1_1 successfully, but getting stuck when installing mpich2. here's the log master# cd /usr/ports/net/mpich2 master# make install clean ===> mpich2-1.0.7_3,3 depends on file: /usr/local/bin/python2.5 - found ===> mpich2-1.0.7_3,3 depends on executable: gfortran43 - not found ===> Verifying install for gfortran43 in /usr/ports/lang/gcc43 Making GCC 4.3.4 for FreeBSD 7.2 target=i386-portbld-freebsd7.2 You need to increase the datasize limit to at least 700000 (and set kern.maxdsiz="734003200" in /boot/loader.conf) to build with Java support. *** Error code 1 Stop in /usr/ports/lang/gcc43. *** Error code 1 Stop in /usr/ports/net/mpich2. master# uname -a FreeBSD master.blackbox.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 does anybody can help me explain this problem?what should i do? thx for ur appreciation -regards NB: i running 7.2 on vmware 5.5, and planning develop diskless system From owner-freebsd-cluster@FreeBSD.ORG Sun May 24 13:07:09 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 720A5106564A for ; Sun, 24 May 2009 13:07:09 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9E48FC19 for ; Sun, 24 May 2009 13:07:09 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.175.178.151] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1M8Cuz-0004vj-Sh; Sun, 24 May 2009 16:35:09 +0400 To: ady References: <4A193968.5050706@comlabs.itb.ac.id> From: Boris Samorodov Date: Sun, 24 May 2009 16:35:37 +0400 In-Reply-To: <4A193968.5050706@comlabs.itb.ac.id> (ady@comlabs.itb.ac.id's message of "Sun\, 24 May 2009 19\:11\:20 +0700") Message-ID: <47740982@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-cluster@freebsd.org Subject: Re: problem with mpich2 on freebsd 7.2 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: Sun, 24 May 2009 13:07:09 -0000 ady writes: > hi everyone, i'm ady, undergraduate student@bandung institute of > tech. i'm planning to develop a HPC with MPICH2 and SGE on freebsd 7.2 > for my final assessment. Ady, welcome and good luck! > i install sge-6.2.2.1_1 successfully, but getting stuck when > installing mpich2. here's the log > > master# cd /usr/ports/net/mpich2 > master# make install clean > ===> mpich2-1.0.7_3,3 depends on file: /usr/local/bin/python2.5 - found > ===> mpich2-1.0.7_3,3 depends on executable: gfortran43 - not found > ===> Verifying install for gfortran43 in /usr/ports/lang/gcc43 > Making GCC 4.3.4 for FreeBSD 7.2 target=i386-portbld-freebsd7.2 > You need to increase the datasize limit to at least 700000 (and set > kern.maxdsiz="734003200" in /boot/loader.conf) to build with Java > support. Did you do what had been suggested here? > *** Error code 1 > Stop in /usr/ports/lang/gcc43. > *** Error code 1 > Stop in /usr/ports/net/mpich2. > > master# uname -a > FreeBSD master.blackbox.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri > May 1 08:49:13 UTC 2009 > root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > does anybody can help me explain this problem?what should i do? > thx for ur appreciation BTW, the "FreeBSD Handbook" may give you some additional helpful information: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html WBR -- bsam From owner-freebsd-cluster@FreeBSD.ORG Mon May 25 15:03:47 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 F23F0106566C for ; Mon, 25 May 2009 15:03:46 +0000 (UTC) (envelope-from francisco.cabrita@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 7C2418FC0C for ; Mon, 25 May 2009 15:03:46 +0000 (UTC) (envelope-from francisco.cabrita@gmail.com) Received: by bwz9 with SMTP id 9so3248403bwz.43 for ; Mon, 25 May 2009 08:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=4NpkhxQmyUF2hEY/Or2GrYesuJUeL2fyDKicTomFMDc=; b=jAw5bUqbO4WsfNTS1aW3u1yc0IBiLrctIF1JvhR7B2tA0IAF9nDRkCHCEknBip2/cx VmCjwpF8ABT3lbrqnfazoxX4gzPauFU/Balf4JJLcDVvkJIgvijAhL4ERap4+WAgyKSE m8h7yNQ2OYhJnZTC87TKii2VwEo+7UTtQ8sgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xhBiZLrAzYXvTGlJvrLNTJBrNTeWtUiXosiY81zgL2RWOHc+hroDOoXVy4WAhMy/iE o0kWpxTP9i93LiYj/8ZBNpbAWeBXM6AAsmBaEArP4ACl1j580KiAozmlXINx17iqrVuY uQyBv9/qjrBbVv0Wp1snOICJjCYYSC/TKJsoI= MIME-Version: 1.0 Received: by 10.239.133.74 with SMTP id 10mr555995hbu.29.1243262350163; Mon, 25 May 2009 07:39:10 -0700 (PDT) Date: Mon, 25 May 2009 15:39:10 +0100 Message-ID: From: Francisco Cabrita To: freebsd-cluster@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 15:03:47 -0000 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 From owner-freebsd-cluster@FreeBSD.ORG Mon May 25 15:44:32 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 B4E52106566C for ; Mon, 25 May 2009 15:44:32 +0000 (UTC) (envelope-from francisco.cabrita@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 14F878FC08 for ; Mon, 25 May 2009 15:44:31 +0000 (UTC) (envelope-from francisco.cabrita@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so567209fga.12 for ; Mon, 25 May 2009 08:44:31 -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:content-type; bh=KPyCU7G1xYVAuTXZWLu3BNwrs+pcuqWb4tinf2sO2KM=; b=ieP+3obHX8diYfRQgMF5KWa2ZVxcBPYiN9k3Mn/0yBIC5JFKSZq5IX+83gMKb2qIZx sPgSBwUR01oNaKW9rAgMDFWU4c5QNgUxByo3nsnYSyfRuwGvjZtjHl/gn1xgfp6FPWOX JNvIb1VPX5AXwAqiAVwmd5RLlNjJ7nVXGHc/U= 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 :content-type; b=GyEha5y7tPL7AFPgL79ueVeuT9URRnGYt16RIA6AMqPhlvwSEnOhmZ/rdCq+QBvWxK pzz06pIX81UFQjmgIO7GBmi5vUGMzzdBTr2l04kGZiADVLiUnErWTERTl2WJgeZQhT2k iUELHBCDlCxaywHxrVx1OcHhuyQu6W/Oi/xKo= MIME-Version: 1.0 Received: by 10.239.180.18 with SMTP id f18mr529654hbg.83.1243266270962; Mon, 25 May 2009 08:44:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 May 2009 16:44:30 +0100 Message-ID: From: Francisco Cabrita To: freebsd-cluster@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:44:33 -0000 I've received a reply from John Nielsen via freebsd-scsi ML. "... Hi John, I first want to say many thanks for your reply. On Mon, May 25, 2009 at 3:56 PM, John Nielsen wrote: > On Monday 25 May 2009 09:30:40 am Francisco Cabrita wrote: > > 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? > > You do not want two machines to have write access to the same SCSI device > at the same time unless you use a filesystem designed for such access. > NTFS is not such a filesystem. Just hooking two win2k boxes to the same > iSCSI target to do NTFS will cause problems. yep I had such problems. > > > Alternatives: > Microsoft clustering (two or more nodes coordinate to provide certain > services, the disk volume is only active on one of them at any given > time) I need to seek a Windows expert down here :) > > Some real clustered filesystem designed for shared access. I don't know of > any for Windows off the top of my head but I haven't ever looked in to > it. > Use the setup you have already with one w2k client, then use Windows > filesharing to export the volume to other clients. > Avoid the middleman, drop iSCSI and just use Samba on the NAS box. (Or NFS > if you want to dabble in Microsoft's Services for Unix... (cue scary > music)) In another company I have another FreeBSD NAS exporting a NFS volume to another FreeBSD Samba server, on wich I share some directories to Ms XP clients. I have no iSCSI on it and it's just fine. Almost 3 years up and running. Avoiding iSCSI it's a nice possibility but, on this new scenario the volumes are exported to both w2k PDC and w2k BDC. My client relies upon a very granular permission scheme. I don't know if I can handle this without a NTFS volume. (If I'm not wrong, we can't format a NTFS partition under FreeBSD) > > > > 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? > > This is similar to the MS clustering option, there may be more manual ways > to achieve the same effect. I prefer not to use manual tasks. > > > I really appreciate your help. Thanks in advance > > PS: I am thinking about sending this email to FreeBSD Cluster ML too. > > Note that if you want to stick with iSCSI on the FreeBSD side then your > questions are really Microsoft-centered, so non-FreeBSD resources may be > more appropriate. Questions about configuring your FreeBSD storage box to > allow concurrent access by multiple clients that happen to be running > Windows would be appropriate on the FreeBSD-questions mailing list. Yes you are totally right. I just want to say I am truly grateful about your reply because my primary doubt was about the possibility or not to "map" multiple initiators to one target. And, where is the best place to ask a thing and get a really valid answer? yep FreeBSD ML :) I will try to explore your tips about MS Clustering. Once again Thanks Francisco Cabrita JN ..." On Mon, May 25, 2009 at 3:39 PM, 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. > > -- > Any aditional tips are welcome, meanwhile thanks anyway. :) Best regards, Francisco Cabrita From owner-freebsd-cluster@FreeBSD.ORG Mon May 25 16:49:39 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 E9D68106564A for ; Mon, 25 May 2009 16:49:39 +0000 (UTC) (envelope-from francisco.cabrita@gmail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0208FC43 for ; Mon, 25 May 2009 16:49:39 +0000 (UTC) (envelope-from francisco.cabrita@gmail.com) Received: by fxm12 with SMTP id 12so3349453fxm.43 for ; Mon, 25 May 2009 09:49:38 -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=2sa21/fUKKFkNE5JaBe8hXKvEWqVmveIJ65zontMr90=; b=k0mWcDOEokDWySiX2Cdj6p2nL7u1d1zZ8oiGyMsNxrFtwLjFtOXjHM9mKhqx3jqHfP PYX4N0quh/KV6JWKCiaV9xuve7d09eOC45hDjkCSmlq6xbNpqO4gk367D2x2zh3rRqlT TxDi1MsH6dTqTXE2GF0mDMZMXoc3jfldJhIE0= 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=c4z2GH0HtczYGHqngYlMMgDAXX+0mQefthQZBC7svjbXchYVG6AaPThsTVk/qtDXEr xaKOOH4kgRTFWCXWI5da7XT9uas/E5aV9BHWLWyhoYP5Orsmh1VNfMQDoVgvrc4v8weQ XYJWbsREoXKvqdDFYBB4XA8Z/YWUHre6Yms9o= MIME-Version: 1.0 Received: by 10.239.154.142 with SMTP id e14mr491551hbc.69.1243270178206; Mon, 25 May 2009 09:49:38 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 May 2009 17:49:38 +0100 Message-ID: From: Francisco Cabrita To: Bob McClure 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:49:40 -0000 Hi Bob, Thanks for your reply :) On Mon, May 25, 2009 at 5:25 PM, Bob McClure wrote: > 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. Yep and those bad things did happen...(love backups) Yes that's sad we don't have such GFS but maybe CodaFS will be ready to production one day. (I have no idea how about MogileFS is regarding distributed FS under FreeBSD) > > > 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. I know and I use ifstated to switch from Cable to ADSL Internet providers. It's a KISS solution. I didn't even think using it on this scenario... :) gonna think about it. > > 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. I see. link up for the master; test connection and in case of some network failure, get that target offline and mount another to slave one. > > > 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. Carp sound really good to this. I was reading about Lagg operating as a failover but that don't make sense because I want to see and test both links but use just one at a given time. Very cool, and thanks very much for your tip! :) Best regards, Francisco Cabrita > > 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 >> " >> > > -- blog: http://sufixo.com/raw http://www.linkedin.com/in/franciscocabrita 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" > From owner-freebsd-cluster@FreeBSD.ORG Tue May 26 11:39:47 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 68CC21065672 for ; Tue, 26 May 2009 11:39:47 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4198FC15 for ; Tue, 26 May 2009 11:39:46 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1961820qwe.7 for ; Tue, 26 May 2009 04:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=/Yc8EyInvtnxp8yIqU/QElLHhIcz5VLS1ieZiKt5j70=; b=NS5GMM9dsI5ctfA2ujlNP0DqLyUIJ77BWH6N1s6/XoY9iyYeSMV43CSwVnxalGeJL9 MB4HQ3TK5sz3PVbAxzuhlAgTi+6jkSjREx0lg1xksGxBDJ7ffqeeWibIrUl2eC4Jnepv muqhVHugXsCV/5t+qrCMWm7pZG04jbdNsXVpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=TKW+wHY8z2Rhllt1zvK3jvWIqGZdXVqPTTRZ/G/n2ebEFhqlvQ+5CZPhxcaoMo5zKX yfH1O2UAYjPF+Fehd0zLlwupi6KF/6nqG2Ut3scmWsSsCpFBreifDKnb1zFiO6daYabD mXckYMuRPsTxo2epGWyAsNzWES8+gmRTtsAkQ= Received: by 10.224.60.70 with SMTP id o6mr7645769qah.225.1243336236120; Tue, 26 May 2009 04:10:36 -0700 (PDT) Received: from ?10.0.3.231? (pool-70-111-1-160.nwrk.east.verizon.net [70.111.1.160]) by mx.google.com with ESMTPS id 2sm1810359qwi.3.2009.05.26.04.10.32 (version=SSLv3 cipher=RC4-MD5); Tue, 26 May 2009 04:10:35 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: Boris Samorodov In-Reply-To: <47740982@ipt.ru> References: <4A193968.5050706@comlabs.itb.ac.id> <47740982@ipt.ru> Content-Type: text/plain; charset="UTF-8" Date: Tue, 26 May 2009 07:10:00 -0400 Message-Id: <1243336200.10956.3.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: ady , freebsd-cluster@freebsd.org Subject: Re: problem with mpich2 on freebsd 7.2 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, 26 May 2009 11:39:47 -0000 On Sun, 2009-05-24 at 16:35 +0400, Boris Samorodov wrote: > ady writes: > > > hi everyone, i'm ady, undergraduate student@bandung institute of > > tech. i'm planning to develop a HPC with MPICH2 and SGE on freebsd 7.2 > > for my final assessment. > > Ady, welcome and good luck! > > > i install sge-6.2.2.1_1 successfully, but getting stuck when > > installing mpich2. here's the log > > > > master# cd /usr/ports/net/mpich2 > > master# make install clean > > ===> mpich2-1.0.7_3,3 depends on file: /usr/local/bin/python2.5 - found > > ===> mpich2-1.0.7_3,3 depends on executable: gfortran43 - not found > > ===> Verifying install for gfortran43 in /usr/ports/lang/gcc43 > > Making GCC 4.3.4 for FreeBSD 7.2 target=i386-portbld-freebsd7.2 > > You need to increase the datasize limit to at least 700000 (and set > > kern.maxdsiz="734003200" in /boot/loader.conf) to build with Java > > support. > > Did you do what had been suggested here? Given that the goal is to build MPICH2, I would recommend doing setenv WITHOUT_JAVA before the build. -- Alexandre Kovalenko (Олександр Коваленко) From owner-freebsd-cluster@FreeBSD.ORG Tue May 26 14:59:06 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 5D6D1106566B for ; Tue, 26 May 2009 14:59:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1578FC0A for ; Tue, 26 May 2009 14:59:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D324846B06; Tue, 26 May 2009 10:59:05 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id CBEB78A028; Tue, 26 May 2009 10:59:04 -0400 (EDT) From: John Baldwin To: freebsd-cluster@freebsd.org Date: Tue, 26 May 2009 08:12:53 -0400 User-Agent: KMail/1.9.7 References: <4A193968.5050706@comlabs.itb.ac.id> <47740982@ipt.ru> <1243336200.10956.3.camel@RabbitsDen> In-Reply-To: <1243336200.10956.3.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905260812.54275.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 26 May 2009 10:59:04 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: ady Subject: Re: problem with mpich2 on freebsd 7.2 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, 26 May 2009 14:59:06 -0000 On Tuesday 26 May 2009 7:10:00 am Alexandre "Sunny" Kovalenko wrote: > On Sun, 2009-05-24 at 16:35 +0400, Boris Samorodov wrote: > > ady writes: > > > > > hi everyone, i'm ady, undergraduate student@bandung institute of > > > tech. i'm planning to develop a HPC with MPICH2 and SGE on freebsd 7.2 > > > for my final assessment. > > > > Ady, welcome and good luck! > > > > > i install sge-6.2.2.1_1 successfully, but getting stuck when > > > installing mpich2. here's the log > > > > > > master# cd /usr/ports/net/mpich2 > > > master# make install clean > > > ===> mpich2-1.0.7_3,3 depends on file: /usr/local/bin/python2.5 - found > > > ===> mpich2-1.0.7_3,3 depends on executable: gfortran43 - not found > > > ===> Verifying install for gfortran43 in /usr/ports/lang/gcc43 > > > Making GCC 4.3.4 for FreeBSD 7.2 target=i386-portbld-freebsd7.2 > > > You need to increase the datasize limit to at least 700000 (and set > > > kern.maxdsiz="734003200" in /boot/loader.conf) to build with Java > > > support. > > > > Did you do what had been suggested here? > Given that the goal is to build MPICH2, I would recommend doing > > setenv WITHOUT_JAVA > > before the build. I almost wonder if that shouldn't be the default given the requirements of a non-standard maxdsiz. (I also ran into this trying to build kde4 on a machine this weekend.) -- John Baldwin