<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:17:42 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-8457] Pacemaker script to monitor LNet</title>
                <link>https://jira.whamcloud.com/browse/LU-8457</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A new script to be used in Pacemaker to monitor LNet compatible with ZFS and LDISKFS based Lustre server installations.&lt;/p&gt;

&lt;p&gt;This RA is able to monitor a single LNet device using the Pacemaker&apos;s clone technology.&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;pcs resource create [Resource Name] ocf:pacemaker:healthLNET \
dampen=[seconds 5s] \
multiplier=[number 1000] \
lctl=[ true | false] \ 
device=[device name ib0] \ 
host_list=[ list of NIDs, space separated, if lctl is true otherwise list of IPs] \
--clone 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;where:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;dampen&lt;/tt&gt; The time to wait (dampening) further changes occur&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;multiplier&lt;/tt&gt; The number by which to multiply the number of connected ping nodes by&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;attempts&lt;/tt&gt; Number of ping attempts, per host, before declaring it dead&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;timeout&lt;/tt&gt; How long, in seconds, to wait before declaring a ping lost&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;lctl&lt;/tt&gt; Option to enable lctl ping instead of the normal ping. The default is true&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;device&lt;/tt&gt; Device used for the LNET network. We assume the same device accross the cluster&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;This script should be located in &lt;tt&gt;/usr/lib/ocf/resource.d/heartbeat/&lt;/tt&gt; of both the Lustre servers with permission 755.&lt;/p&gt;


&lt;p&gt;Default values:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;dampen&lt;/tt&gt;  5s&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;multiplier&lt;/tt&gt; 1&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;attempts&lt;/tt&gt; 3&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;timeout&lt;/tt&gt; 5s&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;lctl&lt;/tt&gt; true&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;Default timeout:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;start timeout 60s&lt;/li&gt;
	&lt;li&gt;stop timeout 20s&lt;/li&gt;
	&lt;li&gt;monitor timeout 60s interval 10s&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;Compatible and tested:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;pacemaker 1.1.13&lt;/li&gt;
	&lt;li&gt;corosync 2.3.4&lt;/li&gt;
	&lt;li&gt;pcs 0.9.143&lt;/li&gt;
	&lt;li&gt;RHEL/CentOS 7.2&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Example of procedure to configure:&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;pcs resource create healthLNET ocf:pacemaker:healthLNET dampen=5s multiplier=1000 lctl=true device=eth1 host_list=&quot;10.10.130.1@tcp1 10.10.130.2@tcp1&quot; --clone 

targets=`crm_mon -1|grep &apos;OST&apos;| awk &apos;{print $1}&apos;` 

for i in $targets; do pcs constraint location $i rule score=-INFINITY pingd lt 1 or not_defined pingd; done 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="38517">LU-8457</key>
            <summary>Pacemaker script to monitor LNet</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="1">Fixed</resolution>
                                        <assignee username="gabriele.paciucci">Gabriele Paciucci</assignee>
                                    <reporter username="gabriele.paciucci">Gabriele Paciucci</reporter>
                        <labels>
                            <label>lnet</label>
                            <label>pacemaker</label>
                    </labels>
                <created>Mon, 1 Aug 2016 13:00:53 +0000</created>
                <updated>Wed, 26 Apr 2017 11:07:30 +0000</updated>
                            <resolved>Wed, 26 Apr 2017 11:07:30 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="164629" author="gerrit" created="Thu, 1 Sep 2016 15:56:52 +0000"  >&lt;p&gt;Gabriele Paciucci (gabriele.paciucci@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22266&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22266&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8457&quot; title=&quot;Pacemaker script to monitor LNet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8457&quot;&gt;&lt;del&gt;LU-8457&lt;/del&gt;&lt;/a&gt; subject: Pacemaker script to monitor LNet&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8b1ee4646a31818f73dfc18c46f5d38cd48156b7&lt;/p&gt;</comment>
                            <comment id="183690" author="gerrit" created="Tue, 7 Feb 2017 06:12:52 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/22266/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/22266/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8457&quot; title=&quot;Pacemaker script to monitor LNet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8457&quot;&gt;&lt;del&gt;LU-8457&lt;/del&gt;&lt;/a&gt; pacemaker: Pacemaker script to monitor LNet&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9018f11cd5a1ab82353e79271163ef51db081e95&lt;/p&gt;</comment>
                            <comment id="183725" author="pjones" created="Tue, 7 Feb 2017 11:55:50 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                            <comment id="183740" author="gerrit" created="Tue, 7 Feb 2017 13:55:46 +0000"  >&lt;p&gt;Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25297&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25297&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8457&quot; title=&quot;Pacemaker script to monitor LNet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8457&quot;&gt;&lt;del&gt;LU-8457&lt;/del&gt;&lt;/a&gt; pacemaker: Update healthLNET to 0.99.4&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8594bde54d52a92452535c226ae9da21affc8f8d&lt;/p&gt;</comment>
                            <comment id="193514" author="gerrit" created="Wed, 26 Apr 2017 03:38:47 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25297/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25297/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8457&quot; title=&quot;Pacemaker script to monitor LNet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8457&quot;&gt;&lt;del&gt;LU-8457&lt;/del&gt;&lt;/a&gt; pacemaker: Update healthLNET to 0.99.4&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f5530a0faa24ad836a44bdd8d0ce86bf806fde87&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="44182">LU-9168</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzyj2n:</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>