<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:11 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-1500] how to change failover mds?</title>
                <link>https://jira.whamcloud.com/browse/LU-1500</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I have 2 mds which is HA,I use this command to make mds:&lt;br/&gt;
mkfs.lustre --fsname=hydx --mdt --reformat --mgs --failnode=12.12.12.6 /dev/drbd0 &lt;br/&gt;
and the lustre client mount lustre like this:&lt;br/&gt;
mount -t lustre 12.12.12.5@o2ib:12.12.12.6@o2ib:/hydx /lustre/&lt;/p&gt;

&lt;p&gt;But i found like this on the lustre client which mdc failover_nids is use tcp not o2ib,but the mgc is normal:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@polaris-mgmt lustre&amp;#93;&lt;/span&gt;# lctl get_param mdc.*.import &lt;br/&gt;
mdc.bak-MDT0000-mdc-ffff810611a9c000.import=&lt;br/&gt;
import:&lt;br/&gt;
    name: bak-MDT0000-mdc-ffff810611a9c000&lt;br/&gt;
    target: bak-MDT0000_UUID&lt;br/&gt;
    state: FULL&lt;br/&gt;
    connect_flags: &lt;span class=&quot;error&quot;&gt;&amp;#91;version, inode_bit_locks, join_file, getattr_by_fid, no_oh_for_devices, early_lock_cancel, adaptive_timeouts, lru_resize, version_recovery, pools&amp;#93;&lt;/span&gt;&lt;br/&gt;
    import_flags: &lt;span class=&quot;error&quot;&gt;&amp;#91;replayable, pingable&amp;#93;&lt;/span&gt;&lt;br/&gt;
    connection:&lt;br/&gt;
       failover_nids: &lt;span class=&quot;error&quot;&gt;&amp;#91;12.12.12.16@o2ib, 12.12.12.15@tcp&amp;#93;&lt;/span&gt;&lt;br/&gt;
       current_connection: 12.12.12.16@o2ib&lt;br/&gt;
       connection_attempts: 1&lt;br/&gt;
       generation: 1&lt;br/&gt;
       in-progress_invalidations: 0&lt;br/&gt;
    rpcs:&lt;br/&gt;
       inflight: 0&lt;br/&gt;
       unregistering: 0&lt;br/&gt;
       timeouts: 0&lt;br/&gt;
       avg_waittime: 1381 usec&lt;br/&gt;
    service_estimates:&lt;br/&gt;
       services: 1 sec&lt;br/&gt;
       network: 1 sec&lt;br/&gt;
    transactions:&lt;br/&gt;
       last_replay: 0&lt;br/&gt;
       peer_committed: 21475297287&lt;br/&gt;
       last_checked: 21475297287&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@polaris-mgmt bak-MDT0000-mdc-ffff810611a9c000&amp;#93;&lt;/span&gt;# lctl get_param mgc.*.import &lt;br/&gt;
mgc.MGC12.12.12.16@o2ib.import=&lt;br/&gt;
import:&lt;br/&gt;
    name: MGC12.12.12.16@o2ib&lt;br/&gt;
    target: MGS&lt;br/&gt;
    state: FULL&lt;br/&gt;
    connect_flags: &lt;span class=&quot;error&quot;&gt;&amp;#91;version, adaptive_timeouts&amp;#93;&lt;/span&gt;&lt;br/&gt;
    import_flags: &lt;span class=&quot;error&quot;&gt;&amp;#91;pingable, recon_bk&amp;#93;&lt;/span&gt;&lt;br/&gt;
    connection:&lt;br/&gt;
       failover_nids: &lt;span class=&quot;error&quot;&gt;&amp;#91;12.12.12.16@o2ib, 12.12.12.15@o2ib&amp;#93;&lt;/span&gt;&lt;br/&gt;
       current_connection: 12.12.12.16@o2ib&lt;br/&gt;
       connection_attempts: 1&lt;br/&gt;
       generation: 1&lt;br/&gt;
       in-progress_invalidations: 0&lt;br/&gt;
    rpcs:&lt;br/&gt;
       inflight: 0&lt;br/&gt;
       unregistering: 0&lt;br/&gt;
       timeouts: 0&lt;br/&gt;
       avg_waittime: 0 &amp;lt;NULL&amp;gt;&lt;br/&gt;
    service_estimates:&lt;br/&gt;
       services: 1 sec&lt;br/&gt;
       network: 1 sec&lt;br/&gt;
    transactions:&lt;br/&gt;
       last_replay: 0&lt;br/&gt;
       peer_committed: 0&lt;br/&gt;
       last_checked: 0&lt;/p&gt;

&lt;p&gt;It maybe caused by wrong format parameters.how could I change failover_nids use tunefs?&lt;br/&gt;
Can u help me ?&lt;/p&gt;</description>
                <environment></environment>
        <key id="14829">LU-1500</key>
            <summary>how to change failover mds?</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="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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="chenlianghua">chenlianghua</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Jun 2012 01:33:36 +0000</created>
                <updated>Wed, 6 Nov 2013 17:39:15 +0000</updated>
                            <resolved>Wed, 6 Nov 2013 17:39:15 +0000</resolved>
                                    <version>Lustre 1.8.7</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="70879" author="adilger" created="Wed, 6 Nov 2013 17:39:15 +0000"  >&lt;p&gt;In newer versions of Lustre there is the &quot;lctl replace_nids&quot; command that could change the NID.  In older versions of Lustre it is necessary to run --writeconf to rewrite the whole configuration.  Please see the manual for details.&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|hzw3rz:</customfieldvalue>

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