<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Peter,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I’m not sure I understand the situation you’re trying to describe.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Consider 2 servers (S1, S2) connected to 2 routers (R1, R2) on 1 LNET (N1)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>and clients connect to the routers via another LNET (N2).   Normally both R1<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>and R2 carry traffic between any/all clients on N2 and either server.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If (say) R1 fails, clients on N2 will see communications failures when they<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>attempt to send to either of the servers via R1 and stop using it.  Similarly, both<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>servers will see communications failures when they attempt to send to any client<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>via R1 and they too will stop using it.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Meanwhile, clients will time out RPCs that were affected by the failure of R1<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>and try to reconnect – first using the affected OST’s current NID, then trying<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>the failover NID.  When they successfully reconnect, they will find that S1’s<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>OSTs are still the “same ones” as before and therefore just resend the failed RPCs.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>LNET running on both clients and servers will continue to avoid routing traffic<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>through R1, however they will try to ping R1 occasionally so that they notice<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>when it comes back and can start to reuse it.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If (say) S1 fails concurrently with R1, clients reconnecting after RPCs have<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>timed out will only reconnect successfully to the failover OST NIDs and<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>discover that they need to participate in recovery.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>For all this to work smoothly, we require (a) multiple routers between N1 and N2<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>to ensure communications between clients and servers can continue in the face of<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>router failures.   We also need router failure to be detected relatively promptly to<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>minimize the number of reconnection attempts the clients make.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='color:#1F497D'>Cheers,<br>                   Eric <o:p></o:p></span></p></blockquote><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> lustre-devel-bounces@lists.lustre.org [mailto:lustre-devel-bounces@lists.lustre.org] <b>On Behalf Of </b>Peter Braam<br><b>Sent:</b> 27 September 2011 1:47 PM<br><b>To:</b> lustre-devel@lists.lustre.org<br><b>Subject:</b> [Lustre-devel] question about failover<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Greetings -<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The general question is how do router failures and server failover interact?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>My suspicion is that is it necessary for the routing topology and server topology to be such that server failures one wants to recover from always leave working servers connected to the router, so that at least some traffic makes it through that router, and it won't be declared failed also.  Is that right?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>As an example, point to point connections between two routers and a singe failover pair are to be avoided, because it becomes impossible to distinguish server and router failures.  Is that a rule that is generally followed?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Peter<o:p></o:p></p></div><pre>______________________________________________________________________<o:p></o:p></pre><pre>This email may contain privileged or confidential information, which should only be used for the purpose for which it was sent by Xyratex. No further rights or licenses are granted to use such information. If you are not the intended recipient of this message, please notify the sender by return and delete it. You may not use, copy, disclose or rely on the information contained in it.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Internet email is susceptible to data corruption, interception and unauthorised amendment for which Xyratex does not accept liability. While we have taken reasonable precautions to ensure that this email is free of viruses, Xyratex does not accept liability for the presence of any computer viruses in this email, nor for any losses caused as a result of viruses.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Xyratex Technology Limited (03134912), Registered in England & Wales, Registered Office, Langstone Road, Havant, Hampshire, PO9 1SA.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>The Xyratex group of companies also includes, Xyratex Ltd, registered in Bermuda, Xyratex International Inc, registered in California, Xyratex (Malaysia) Sdn Bhd registered in Malaysia, Xyratex Technology (Wuxi) Co Ltd registered in The People's Republic of China and Xyratex Japan Limited registered in Japan.<o:p></o:p></pre><pre>______________________________________________________________________<o:p></o:p></pre><pre> <o:p></o:p></pre><pre><o:p> </o:p></pre></div></div></body></html>