<div dir="ltr"><div>Hi Olaf,</div><div>A peer block on a local node is always created whenever you either try to communicate with it or it tries to communicate with you. So let&#39;s look at the active/passive cases</div><div><br></div><div>Active case</div><div>1. You try to send a message to &lt;peer1-ip&gt;@&lt;net&gt;</div><div>2. Lnet creates a peer block to identify that peer</div><div>3. OPTION 1: The message succeeds and you receive a response. Peer block remains.<br></div><div>4. OPTION 2: The message fails. Although you have not received a response that peer block remains</div><div><br></div><div>Passive case</div><div>1. You receive a message from &lt;peer1-ip&gt;@&lt;net&gt;</div><div>2. Lnet creates a peer block to identify that peer</div><div>3. OPTION 1: Response succeeds. peer block remains<br></div><div>4. OPTION 2: Response fails. In both 3&amp;4 the peer block remains.</div><div><br></div><div>When you do a &quot;lnetctl peer show&quot; on the local net, what you&#39;re seeing is the set of peers since the startup of LNet which you either tried to communicate with or they tried to communicate with you, irregardless of success.</div><div><br></div><div>Question: Are you having problems with the fact that peers remain even after the physical node has gone away (or potentially peer blocks which have been created due to erroneous operations - bad config, etc)?</div><div><br></div><div>thanks</div><div>amir<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Aug 2020 at 16:00, Faaland, Olaf P. &lt;<a href="mailto:faaland1@llnl.gov">faaland1@llnl.gov</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">FWIW, I now think an lnet peer is just &quot;a node I&#39;ve communicated with at some time&quot;.<br>
<br>
-Olaf<br>
<br>
________________________________________<br>
From: lustre-discuss &lt;<a>lustre-discuss-bounces@lists.lustre.org</a>&gt; on behalf of Faaland, Olaf P. &lt;<a>faaland1@llnl.gov</a>&gt;<br>
Sent: Wednesday, August 26, 2020 11:53 AM<br>
To: <a>lustre-discuss@lists.lustre.org</a><br>
Subject: [lustre-discuss] definition of a peer<br>
<br>
Hi All,<br>
<br>
What is the definition of an lnet peer (in Lustre 2.12 and in master, if the definition has changed over time)?<br>
<br>
I had believed it was a node that could be communicated with directly from LNet&#39;s perspective, e.g. without requiring transit through a lustre router.   But that seems not to be true on a node I&#39;m looking at.<br>
<br>
thanks,<br>
-Olaf<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a>lustre-discuss@lists.lustre.org</a><br>
<a rel="noreferrer">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a>lustre-discuss@lists.lustre.org</a><br>
<a rel="noreferrer">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div>