From mboxrd@z Thu Jan 1 00:00:00 1970 From: Justin Clift Subject: Re: opensm with multiple IB subnets Date: Fri, 23 Apr 2010 00:23:14 +1000 Message-ID: <4BD05BD2.9000600@salasaga.org> References: <4BCF1215.7070601@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BCF1215.7070601-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yevgeny Kliteynik Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org We should really put this on the wiki. :) On 04/22/2010 12:56 AM, Yevgeny Kliteynik wrote: > OpenSM dumps various files to /var/log and /var/cache/opensm folders. > When you have more than one OpenSM process, they will all dump the > same files, which is probably not a good idea. > > To change the output directories, set the OSM_TMP_DIR and > OSM_CACHE_DIR env. variables to some other place. > In addition, you need to make sure that each SM instance > prints its log in a different place. You need to do > something like this: > > foreach guid in guid_list > export OSM_TMP_DIR=/tmp/osm_dump_dir${guid} > export OSM_CACHE_DIR=/tmp/osm_dump_dir${guid} > opensm --log_file /tmp/osm_dump_dir${guid}/osm.log -g ${guid} [your > other options] > > -- Yevgeny -- Salasaga - Open Source eLearning IDE http://www.salasaga.org -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html