<HTML dir=ltr><HEAD><TITLE>Re: [Lustre-discuss] How to configure routing</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText74303 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Ahhh, that might be the problem.&nbsp; I only defined a route on the gateway node.&nbsp; Is it possible to dynamically add a route?&nbsp; Since I'm dealing with a production file system, I can't really shut it down to play with the routing.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Ron.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Cliff White [mailto:Cliff.White@Sun.COM]<BR><B>Sent:</B> Wed 1/16/2008 6:07 PM<BR><B>To:</B> Jerome, Ron<BR><B>Cc:</B> Lustre-discuss@clusterfs.com<BR><B>Subject:</B> Re: [Lustre-discuss] How to configure routing<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Jerome, Ron wrote:<BR>&gt; That's what I was hoping, but I'm still having trouble getting the<BR>&gt; routing to work.<BR>&gt;<BR>&gt; My MGS is at 192.168.0.200@tcp<BR>&gt;<BR>&gt; On my gateway node, I have...<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; options lnet networks="tcp0(eth0),tcp1(eth1)" routes="tcp1<BR>&gt; 192.168.0.2@tcp ;\<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tcp0<BR>&gt; 132.246.xxx.xxx@tcp1"<BR>&gt;<BR>&gt; Then from the node solely connected to the public (132.246) network, I<BR>&gt; try to mount<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mount&nbsp; -t lustre 192.168.0.200@tcp:/data /mnt/data<BR>&gt;<BR>&gt; but regrettably this does not work :-(<BR><BR>All nodes involved need to have routes defined, are the routes defined<BR>on the clients and servers also?<BR>cliffw<BR><BR>&gt;<BR>&gt;<BR>&gt; Ron.<BR>&gt;<BR>&gt;&gt; -----Original Message-----<BR>&gt;&gt; From: Canon, Richard Shane [<A href="mailto:canonrs@ornl.gov">mailto:canonrs@ornl.gov</A>]<BR>&gt;&gt; Sent: January 16, 2008 10:03 AM<BR>&gt;&gt; To: Jerome, Ron<BR>&gt;&gt; Cc: He.Huang@Sun.COM; Lustre-discuss@clusterfs.com<BR>&gt;&gt; Subject: RE: [Lustre-discuss] How to configure routing<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Ron,<BR>&gt;&gt;<BR>&gt;&gt; You don't have to rely on IP routing.&nbsp; You can use Lustre routing<BR>&gt;&gt; instead.&nbsp; You have the basic config line below.&nbsp; The external clients<BR>&gt;&gt; need to know about both networks and the routers.&nbsp; You should be able<BR>&gt;&gt; to<BR>&gt;&gt; use the same LNET module options everywhere.&nbsp; You would do a mount<BR>&gt;&gt; like...<BR>&gt;&gt;<BR>&gt;&gt; mount -t lustre &lt;mds ip&gt;@tcp1:/lustre/client /mnt<BR>&gt;&gt;<BR>&gt;&gt; Assuming the private network is tcp1 and tcp0 is the public network.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; --Shane<BR>&gt;&gt;<BR>&gt;&gt; -----Original Message-----<BR>&gt;&gt; From: lustre-discuss-bounces@clusterfs.com<BR>&gt;&gt; [<A href="mailto:lustre-discuss-bounces@clusterfs.com">mailto:lustre-discuss-bounces@clusterfs.com</A>] On Behalf Of Balagopal<BR>&gt;&gt; Pillai<BR>&gt;&gt; Sent: Wednesday, January 16, 2008 9:27 AM<BR>&gt;&gt; To: Jerome, Ron<BR>&gt;&gt; Cc: He.Huang@Sun.COM; Lustre-discuss@clusterfs.com<BR>&gt;&gt; Subject: Re: [Lustre-discuss] How to configure routing<BR>&gt;&gt;<BR>&gt;&gt; Hi,<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interesting scenario if routing between public and private<BR>&gt;&gt; subnets for mounting lustre filesystem is possible<BR>&gt;&gt; without disturbing the network admins for public subnet :-) One way<BR>&gt;&gt; around would be<BR>&gt;&gt; to build tunnels like ipip for example between the gateway machine on<BR>&gt;&gt; the cluster<BR>&gt;&gt; that has access to both nets and with other hosts on the public net.<BR>&gt;&gt; Then Lustre mount<BR>&gt;&gt; could work over the tunnel with static routes to access the<BR>&gt; MGS/MDS/OST<BR>&gt;&gt; over the tunnel.<BR>&gt;&gt;<BR>&gt;&gt; Regards<BR>&gt;&gt; Balagopal<BR>&gt;&gt;<BR>&gt;&gt; Jerome, Ron wrote:<BR>&gt;&gt;&gt; Hi Isaac,<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Yes I had read the documentation prior to posting my question but a<BR>&gt;&gt;&gt; couple of things were still unclear to me, but first a bit more<BR>&gt;&gt;&gt; background... My lustre filesystem &amp; my cluster reside on a private<BR>&gt;&gt;&gt; (192.169.xxx.xxx) network I have a couple of machines which are<BR>&gt;&gt;&gt; connected to both the private network and our public network and I<BR>&gt;&gt; would<BR>&gt;&gt;&gt; like a machine which only has access to the public network to mount<BR>&gt;&gt; the<BR>&gt;&gt;&gt; lustre filesystem on the private network via one of the nodes which<BR>&gt;&gt;&gt; spans both.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; So my questions are...<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; a) is it possible to route to and from a private (192.168.xxx.xxx)<BR>&gt;&gt;&gt; Ethernet network to a public one (132.246.xxx.xxx)? The documents<BR>&gt;&gt; only<BR>&gt;&gt;&gt; show routing between Ethernet and other networks such as elan,<BR>&gt;&gt; Myrinet<BR>&gt;&gt;&gt; etc.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; b) if this is possible, what is the correct syntax for the<BR>&gt;&gt; modprobe.conf<BR>&gt;&gt;&gt; file?&nbsp; I currently have...<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&nbsp;&nbsp; options lnet networks="tcp0(eth0),tcp1(eth1)" routes="tcp1<BR>&gt;&gt;&gt; 192.168.0.2@tcp"<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; c) from a client on the public network what would the syntax be for<BR>&gt;&gt;&gt; accessing (mounting) the mgs through the routing node?<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Thanks very much,<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Ron.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; -----Original Message-----<BR>&gt;&gt;&gt;&gt; From: He.Huang@Sun.COM [<A href="mailto:He.Huang@Sun.COM">mailto:He.Huang@Sun.COM</A>]<BR>&gt;&gt;&gt;&gt; Sent: January 16, 2008 8:25 AM<BR>&gt;&gt;&gt;&gt; To: Jerome, Ron<BR>&gt;&gt;&gt;&gt; Cc: Lustre-discuss@clusterfs.com<BR>&gt;&gt;&gt;&gt; Subject: Re: [Lustre-discuss] How to configure routing<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; On Tue, Jan 15, 2008 at 02:27:39PM -0500, Jerome, Ron wrote:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp; I would like to use a client as a router between two tcp<BR>&gt;&gt; networks<BR>&gt;&gt;&gt;&gt; (eth0<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp; and eth1) but it is unclear to me how to configure this in<BR>&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp; modprobe.conf.<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp; Any suggestions would be greatly appreciated.<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; <A href="http://manual.lustre.org/manual/LustreManual16_HTML/DynamicHTML-06-">http://manual.lustre.org/manual/LustreManual16_HTML/DynamicHTML-06-</A><BR>&gt;&gt;&gt;&gt; 1.html<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Please read section 3.2.2.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Isaac<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt; Lustre-discuss mailing list<BR>&gt;&gt;&gt; Lustre-discuss@clusterfs.com<BR>&gt;&gt;&gt; <A href="https://mail.clusterfs.com/mailman/listinfo/lustre-discuss">https://mail.clusterfs.com/mailman/listinfo/lustre-discuss</A><BR>&gt;&gt;&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; Lustre-discuss mailing list<BR>&gt;&gt; Lustre-discuss@clusterfs.com<BR>&gt;&gt; <A href="https://mail.clusterfs.com/mailman/listinfo/lustre-discuss">https://mail.clusterfs.com/mailman/listinfo/lustre-discuss</A><BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Lustre-discuss mailing list<BR>&gt; Lustre-discuss@clusterfs.com<BR>&gt; <A href="https://mail.clusterfs.com/mailman/listinfo/lustre-discuss">https://mail.clusterfs.com/mailman/listinfo/lustre-discuss</A><BR><BR></FONT></P></DIV></BODY></HTML>