<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:33:05 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-10216] One question about enabling NRS_TBF in Lustre </title>
                <link>https://jira.whamcloud.com/browse/LU-10216</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;There are 4 X OSS servers and 2 X MGS/MDS in our Lustre filesystem.&#160;&lt;/p&gt;

&lt;p&gt;We are trying to enable NRS_TBF by using following instructions in our MGS server.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.whamcloud.com/secure/attachment/28613/28613_Selection_019.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;After this, we want to verify if these rules are added successfully by using following instructions in one OSS server. The result is shown below.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.whamcloud.com/secure/attachment/28614/28614_Selection_020.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; &#160;&lt;/p&gt;

&lt;p&gt;Is it correct?&#160; If no, please kindly provide us with instructions to do this.&lt;/p&gt;

&lt;p&gt;Also, how can we verify if these rules are &quot;Change&quot; and &quot;Stop(Delete)&quot; successfully when we use &quot;lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;change ossb1 500&quot; and &quot;lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;stop ossb1&quot;, respectively.&#160;&#160;&lt;/p&gt;

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

&lt;p&gt;Thanks!&lt;/p&gt;</description>
                <environment>Lustre 2.10.0/ Centos 7.3</environment>
        <key id="49211">LU-10216</key>
            <summary>One question about enabling NRS_TBF in Lustre </summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="sebg-crd-pm">sebg-crd-pm</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Nov 2017 07:10:50 +0000</created>
                <updated>Fri, 20 Jul 2018 02:35:10 +0000</updated>
                            <resolved>Fri, 20 Jul 2018 02:35:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="213223" author="pjones" created="Thu, 9 Nov 2017 13:42:51 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Can you please advise?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="213312" author="sebg-crd-pm" created="Fri, 10 Nov 2017 09:26:01 +0000"  >&lt;p&gt;Hi Emoly,&#160;&lt;/p&gt;

&lt;p&gt;Please give us some suggestions for this issue.&lt;/p&gt;

&lt;p&gt;We really need your help.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="213534" author="emoly.liu" created="Mon, 13 Nov 2017 08:10:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sebg-crd-pm&quot; class=&quot;user-hover&quot; rel=&quot;sebg-crd-pm&quot;&gt;sebg-crd-pm&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The TBF policy format has been changed since lustre 2.8.55, as follows&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;For NRS &quot;tbf nid&quot; policy:&lt;br/&gt;
 lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;start $RULE_NAME nid={$NID} rate=$RATE&quot;&lt;/li&gt;
	&lt;li&gt;For NRS &quot;tbf jobid&quot; policy:&lt;br/&gt;
 lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;start $RULE_NAME jobid={$JOBID} rate=$RATE&quot;&lt;/li&gt;
	&lt;li&gt;To change the policy:&lt;br/&gt;
 lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;change $RULE_NAME rate=$RATE&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;So you should change your commands format to make them work. Here is my output for your reference:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@centos7-3 tests]# lctl set_param ost.OSS.ost_io.nrs_policies=&quot;tbf nid&quot;
ost.OSS.ost_io.nrs_policies=tbf nid

[root@centos7-3 tests]# lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;start ossb1 nid={172.20.110.209@o2ib} rate=100&quot;
ost.OSS.ost_io.nrs_tbf_rule=start ossb1 nid={172.20.110.209@o2ib} rate=100
[root@centos7-3 tests]# lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;start robin nid={172.20.110.212@o2ib} rate=200&quot;
ost.OSS.ost_io.nrs_tbf_rule=start robin nid={172.20.110.212@o2ib} rate=200

[root@centos7-3 tests]# lctl get_param ost.OSS.ost_io.nrs_tbf_rule
ost.OSS.ost_io.nrs_tbf_rule=
regular_requests:
CPT 0:
ossb1 {172.20.110.209@o2ib} 100, ref 0
robin {172.20.110.212@o2ib} 200, ref 0
default {*} 10000, ref 0
high_priority_requests:
CPT 0:
ossb1 {172.20.110.209@o2ib} 100, ref 0
robin {172.20.110.212@o2ib} 200, ref 0
default {*} 10000, ref 0

[root@centos7-3 tests]# lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;change ossb1 rate=500&quot;
ost.OSS.ost_io.nrs_tbf_rule=change ossb1 rate=500
[root@centos7-3 tests]# lctl get_param ost.OSS.ost_io.nrs_tbf_rule
ost.OSS.ost_io.nrs_tbf_rule=
regular_requests:
CPT 0:
ossb1 {172.20.110.209@o2ib} 500, ref 0
robin {172.20.110.212@o2ib} 200, ref 0
default {*} 10000, ref 0
high_priority_requests:
CPT 0:
ossb1 {172.20.110.209@o2ib} 500, ref 0
robin {172.20.110.212@o2ib} 200, ref 0
default {*} 10000, ref 0

[root@centos7-3 tests]# lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;stop ossb1&quot;
ost.OSS.ost_io.nrs_tbf_rule=stop ossb1
[root@centos7-3 tests]# lctl get_param ost.OSS.ost_io.nrs_tbf_rule
ost.OSS.ost_io.nrs_tbf_rule=
regular_requests:
CPT 0:
robin {172.20.110.212@o2ib} 200, ref 0
default {*} 10000, ref 0
high_priority_requests:
CPT 0:
robin {172.20.110.212@o2ib} 200, ref 0
default {*} 10000, ref 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;HTH.&lt;br/&gt;
Emoly&lt;/p&gt;</comment>
                            <comment id="215495" author="adilger" created="Wed, 6 Dec 2017 21:36:09 +0000"  >&lt;p&gt;Please note that &quot;&lt;tt&gt;lctl set_param&lt;/tt&gt;&quot; commands are local to the server they are run on, and only in effect while the server is mounted, so these commands need to be run on all of the OSS nodes.&lt;/p&gt;

&lt;p&gt;It looks like there is an open ticket for the NRS TBF documentation to be updated for the new functionality added by DDN - &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-328&quot; title=&quot;documentation updates for complex TBF policies&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-328&quot;&gt;LUDOC-328&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="224783" author="emoly.liu" created="Thu, 29 Mar 2018 07:27:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sebg-crd-pm&quot; class=&quot;user-hover&quot; rel=&quot;sebg-crd-pm&quot;&gt;sebg-crd-pm&lt;/a&gt;,&lt;br/&gt;
Can we close this issue ?&lt;br/&gt;
Thanks,&lt;br/&gt;
Emoly&lt;/p&gt;</comment>
                            <comment id="230619" author="sebg-crd-pm" created="Fri, 20 Jul 2018 01:22:33 +0000"  >&lt;p&gt;You can close it. Thanks.&lt;/p&gt;</comment>
                            <comment id="230621" author="emoly.liu" created="Fri, 20 Jul 2018 02:35:10 +0000"  >&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="34888">LUDOC-328</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="28613" name="Selection_019.png" size="23672" author="sebg-crd-pm" created="Thu, 9 Nov 2017 06:53:28 +0000"/>
                            <attachment id="28614" name="Selection_020.png" size="26998" author="sebg-crd-pm" created="Thu, 9 Nov 2017 06:53:28 +0000"/>
                    </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|hzznj3:</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>