<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:43:38 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>[LUDOC-523] add proper documentation for replace_nids command</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-523</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;Can you please add a separate &lt;tt&gt;lctl-replace_nids.8&lt;/tt&gt; man page for the &lt;tt&gt;replace_nids&lt;/tt&gt; command, and update the user manual in a similar manner.  The current entry in the &lt;tt&gt;lctl.8&lt;/tt&gt; man page and manual entry are totally lacking in explanation of what the various NIDs mean:&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;       replace_nids &amp;lt;devicename&amp;gt; &amp;lt;nid1&amp;gt;[,nid2,nid3:nid4,nid5:nid6 ...]
              Replace the LNET Network Identifiers for a given device, as when
              the server&apos;s IP address has changed.  This command must  be  run
              on  the  MGS  node.   Only MGS server should be started (command
              execution returns error in another cases). To start the MGS ser-
              vice  only:  mount  -t  lustre  &amp;lt;MDT  partition&amp;gt; -o nosvc &amp;lt;mount
              point&amp;gt; Note  the  replace_nids  command  skips  any  invalidated
              records in the configuration log.  The previous log is backed up
              with the suffix &apos;.bak&apos;.  Failover nids must be passed after  &apos;:&apos;
              symbol.  More  then one failover can be set (every failover nids
              after &apos;:&apos; symbol).
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This could be improved in several ways:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;don&apos;t use &quot;nid1,nid2,nid3,nid4&quot; in the description, but rather names like &lt;tt&gt;original_nid&lt;/tt&gt; and &lt;tt&gt;nodeA_nid1,nodeA_nid2:nodeB_nid1,nodeB_nid2&lt;/tt&gt; or similar.&lt;/li&gt;
	&lt;li&gt;it should have an explanation of the behaviour for failover NIDs, as was described in the patch &lt;a href=&quot;https://review.whamcloud.com/30624&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30624&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10384&quot; title=&quot;Replace nids doesn&amp;#39;t add failover nid and add_conn string to config&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10384&quot;&gt;&lt;del&gt;LU-10384&lt;/del&gt;&lt;/a&gt; mgs: replace_nids large string and failover support&lt;/tt&gt;&quot; commit message.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The choice of syntax for the &lt;tt&gt;replace_nids&lt;/tt&gt; command is also &lt;b&gt;very&lt;/b&gt; confusing, since the &lt;tt&gt;nid1,nid2,nid3:nid4,nid5&lt;/tt&gt; part could easily be mis-parsed if only the &quot;new&quot; NIDs are given as &lt;tt&gt;nid2,nid3:nid4,nid5&lt;/tt&gt;.  It would be better to use &lt;tt&gt;getopt_long()&lt;/tt&gt; and provide named arguments like:&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;lctl replace_nids &amp;lt;target&amp;gt; --orig &amp;lt;original_nid&amp;gt; --new &amp;lt;nodeA_nid1&amp;gt;,&amp;lt;nodeA_nid2&amp;gt; --failnode &amp;lt;nodeB_nid1&amp;gt;,&amp;lt;nodeB_nid2&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;or &lt;tt&gt;--servicenode&lt;/tt&gt; or something similar.  This would make it clear which NID is being replaced, and which NIDs are being added, and allows for other options to be added in the future.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54479">LUDOC-523</key>
            <summary>add proper documentation for replace_nids command</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ablagodarenko">Artem Blagodarenko</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>LTS12</label>
                    </labels>
                <created>Thu, 10 Jan 2019 05:59:15 +0000</created>
                <updated>Tue, 9 Jan 2024 21:29:35 +0000</updated>
                                                                                <due></due>
                            <votes>1</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="239856" author="pjones" created="Sat, 12 Jan 2019 02:49:17 +0000"  >&lt;p&gt;Adding Cory for visibility&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="67848">LU-15418</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="49734">LU-10384</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|i0095r:</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>