<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:21:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-8937] Dual IB port connect Router</title>
                <link>https://jira.whamcloud.com/browse/LU-8937</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;For increase bandwidth and failover we would like to connect 2 IB ports on each side of a router&lt;/p&gt;

&lt;p&gt;o2ib ---- | HCA1 - ROUTER - HCA3|-- o2ib313&lt;/p&gt;

&lt;p&gt;o2ib ---- | HCA2 - ROUTER - HCA4|-- o2ib313&lt;/p&gt;

&lt;p&gt;I know we can doing if we had 2 different nids on each side. Can it be done using the same nid on 2 interfaces?&lt;/p&gt;</description>
                <environment></environment>
        <key id="42420">LU-8937</key>
            <summary>Dual IB port connect Router</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="6">Not a Bug</resolution>
                                        <assignee username="ashehata">Amir Shehata</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Dec 2016 02:55:23 +0000</created>
                <updated>Thu, 13 Sep 2018 20:45:33 +0000</updated>
                            <resolved>Thu, 13 Sep 2018 20:45:33 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="177719" author="ashehata" created="Wed, 14 Dec 2016 16:14:56 +0000"  >&lt;p&gt;Currently LNet doesn&apos;t support having two ports with the same NIDs, or even on the same LNet. The only way you can do this is by configuring each IB port on a separate LNet network. so the configuration would look something like this&lt;/p&gt;

&lt;p&gt;o2ib1 &amp;#8212; | HCA1  - ROUTER - HCA3 | &amp;#8211; o2ib313&lt;br/&gt;
o2ib2 ----| HCA2  - ROUTER - HCA4 | &amp;#8211; o2ib314&lt;/p&gt;

&lt;p&gt;However, there is a feature that we have now called Multi-rail. It&apos;s not in master, but on its own branch, which allows LNet to use multiple interfaces on the same LNet Network, which will allow you to do what you want there, even without the presence of the router, if it&apos;s not needed for other purposes.  So one possible configuration for what you have is:&lt;/p&gt;

&lt;p&gt;o2ib(hca1, hca2) and o2ib(hca3, hca4). This will allow all interfaces to live on the same network. LNet will do weighted round robin over the interfaces, and you should see an aggregate of the performance of both interfaces.&lt;/p&gt;

&lt;p&gt;If you need the routers you&apos;d do something like&lt;/p&gt;

&lt;p&gt;o2ib(hca1, hca2) on the nodes on the left side of the routers&lt;br/&gt;
o2ib(hca3, hca4) on the routers&lt;br/&gt;
o2ib313(hca5, hca6) on the routers&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;This assumes that the router has 2 interfaces on each side of the network&lt;br/&gt;
o2ib313(hca7, hca8) on the right side of the routers.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;This will increase performance, but the routers will have an impact on this performance gain, because there is still a hop for the messages to go over.&lt;/p&gt;

&lt;p&gt;Let me know if you need more details&lt;/p&gt;</comment>
                            <comment id="177735" author="mhanafi" created="Wed, 14 Dec 2016 17:33:46 +0000"  >&lt;p&gt;What if the node/servers on each of the routers only has 1 interface&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;servers(o2ib)--- o2ib(hca1,hca2)&lt;span class=&quot;error&quot;&gt;&amp;#91;router&amp;#93;&lt;/span&gt;o2ib313(hca3,hca4)--- nodes(o2ib313)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="177763" author="ashehata" created="Wed, 14 Dec 2016 20:46:57 +0000"  >&lt;p&gt;I&apos;m assuming you&apos;re asking about MR.&lt;/p&gt;

&lt;p&gt;What you have outlined would work.&lt;/p&gt;

&lt;p&gt;You would configure the servers and the nodes with the routers interfaces as shown below:&lt;/p&gt;

&lt;p&gt;on the servers:&lt;br/&gt;
lnetctl peer add --nids router@hca1-nid,router@hca2-nid&lt;/p&gt;

&lt;p&gt;on the nodes&lt;br/&gt;
lnetctl peer add --nids router@hca3-nid,router@hca4-nid&lt;/p&gt;

&lt;p&gt;this will enable both the nodes and the servers to use both interfaces on the routers, which should increase the performance of the router.&lt;/p&gt;

&lt;p&gt;Without MR you would need to add each of the routers interfaces on a different LNet network (o2ib&lt;span class=&quot;error&quot;&gt;&amp;#91;1,2,3,4&amp;#93;&lt;/span&gt;) and then configure some of the servers to use one LNet network and other servers to configure the other LNet network. With MR the configuration is simplified quiet a bit.&lt;/p&gt;</comment>
                            <comment id="212098" author="mhanafi" created="Thu, 26 Oct 2017 16:52:44 +0000"  >&lt;p&gt;We can close this case. We have dual-rail routers working in production.&lt;/p&gt;</comment>
                            <comment id="233481" author="mhanafi" created="Thu, 13 Sep 2018 20:45:33 +0000"  >&lt;p&gt;Question was answered.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyydz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>