<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's look at the active/passive cases</div><div><br></div><div>Active case</div><div>1. You try to send a message to <peer1-ip>@<net></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 <peer1-ip>@<net></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&4 the peer block remains.</div><div><br></div><div>When you do a "lnetctl peer show" on the local net, what you'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. <<a href="mailto:faaland1@llnl.gov">faaland1@llnl.gov</a>> 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 "a node I've communicated with at some time".<br>
<br>
-Olaf<br>
<br>
________________________________________<br>
From: lustre-discuss <<a>lustre-discuss-bounces@lists.lustre.org</a>> on behalf of Faaland, Olaf P. <<a>faaland1@llnl.gov</a>><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's perspective, e.g. without requiring transit through a lustre router.   But that seems not to be true on a node I'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>