[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] load balancing question(s)
From:       Matt Nicholson <sjoeboo () sjoeboo ! com>
Date:       2009-02-05 15:34:57
Message-ID: 15da49710902050734l5f2c943fv532e547a54d0a112 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Correct, I have, right now, the following:

Access01 => Load Balances to Access02,03 (and itself)

Access02,03 => Forward Connections to Access01, so that any direct connects
get re-roued via the load balancer, and also to get the right session info.

Now, when I connect to 01, it all seems to go well, and if it load balances
to itself, I get a session just fine. However, if it tried to load balance
to the other 2 hosts, I basically times out. I see nothing on 02,03 in
nxserver.log, but in my /var/log/secure, I can see my user getting
authenticated.

If i connect to access02 or 03, it forwards the connection to 01, which load
balances, and, once again, if it load balances to itself, works fine, but to
the other 2 hosts, it just hangs (client says negotiating link parameters
for a few minutes, then timesout.).

Any particular ports/firewall openings I need to know about? I was assuming
this was all over ssh.

I feel like I'm so close, but so far away! Any help would be great!

Matthew Nicholson
nicholson@eps.harvard.edu
Harvard University
FAS IT Research Computing
Dept. Of Earth and Planetary Science


On Thu, Feb 5, 2009 at 9:40 AM, Clive Eisen <clive@hildebrand.co.uk> wrote:

> >
> > I can't figure out what the problem might be. All systems are
> > identical (hardware, software, NX versions, etc), and all of them
> > work if i connect directly (after load balancing/forwarding has been
> > disabled, of course).
> >
> > Also (and this is secondary), as I understood the Forwarding part, I
> > should be able to connect to one of these (02 and 03) systems, and
> > they will forward me back to 01, where i get load balanced, and then
> > sent along back to one of them for a "real" session. Is this right,
> > or an I mistaken?
> >
> You are AIUI mistaken
>
> You can't mix direct and load balanced connections
>
> Always connect to host0
>
> Load balance from there to
>
> host1-hostxxx
>
>
> At least that's what I do and it works fine - and indeed it breaks if
> someone 'nxs' direct to a host.
>
> It may be that host0 can also be in the list - I haven't tried as I
> dont want/need that
>
> At least this is my experience.
>
> --
> Clive
> ________________________________________________________________
>     Were you helped on this list with your FreeNX problem?
>    Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>         Don't forget to check the NX Knowledge Base:
>                 http://www.nomachine.com/kb/
>
> ________________________________________________________________
>       FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
>      https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>

[Attachment #5 (text/html)]

Correct, I have, right now, the following:<br><br>Access01 =&gt; Load Balances to \
Access02,03 (and itself)<br><br>Access02,03 =&gt; Forward Connections to Access01, so \
that any direct connects get re-roued via the load balancer, and also to get the \
right session info.<br>

<br>Now, when I connect to 01, it all seems to go well, and if it load balances to \
itself, I get a session just fine. However, if it tried to load balance to the other \
2 hosts, I basically times out. I see nothing on 02,03 in nxserver.log, but in my \
/var/log/secure, I can see my user getting authenticated. <br>

<br>If i connect to access02 or 03, it forwards the connection to 01, which load \
balances, and, once again, if it load balances to itself, works fine, but to the \
other 2 hosts, it just hangs (client says negotiating link parameters for a few \
minutes, then timesout.).<br> <br>Any particular ports/firewall openings I need to \
know about? I was assuming this was all over ssh. <br><br>I feel like I&#39;m so \
close, but so far away! Any help would be great! <br><br clear="all">Matthew \
Nicholson<br> <a href="mailto:nicholson@eps.harvard.edu" \
target="_blank">nicholson@eps.harvard.edu</a><br>Harvard University<br>FAS IT \
Research Computing<br>Dept. Of Earth and Planetary Science<br>

<br><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 9:40 AM, Clive Eisen <span \
dir="ltr">&lt;<a href="mailto:clive@hildebrand.co.uk" \
target="_blank">clive@hildebrand.co.uk</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">

<div>&gt;<br>
&gt; I can&#39;t figure out what the problem might be. All systems are<br>
&gt; identical (hardware, software, NX versions, etc), and all of them<br>
&gt; work if i connect directly (after load balancing/forwarding has been<br>
&gt; disabled, of course).<br>
&gt;<br>
&gt; Also (and this is secondary), as I understood the Forwarding part, I<br>
&gt; should be able to connect to one of these (02 and 03) systems, and<br>
&gt; they will forward me back to 01, where i get load balanced, and then<br>
&gt; sent along back to one of them for a &quot;real&quot; session. Is this \
right,<br> &gt; or an I mistaken?<br>
&gt;<br>
</div>You are AIUI mistaken<br>
<br>
You can&#39;t mix direct and load balanced connections<br>
<br>
Always connect to host0<br>
<br>
Load balance from there to<br>
<br>
host1-hostxxx<br>
<br>
<br>
At least that&#39;s what I do and it works fine - and indeed it breaks if<br>
someone &#39;nxs&#39; direct to a host.<br>
<br>
It may be that host0 can also be in the list - I haven&#39;t tried as I<br>
dont want/need that<br>
<br>
At least this is my experience.<br>
<br>
--<br>
Clive<br>
________________________________________________________________<br>
 &nbsp; &nbsp; Were you helped on this list with your FreeNX problem?<br>
 &nbsp; &nbsp;Then please write up the solution in the FreeNX Wiki/FAQ:<br>
<br>
<a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" \
target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
 <br>
 &nbsp; &nbsp; &nbsp; &nbsp; Don&#39;t forget to check the NX Knowledge Base:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a \
href="http://www.nomachine.com/kb/" \
target="_blank">http://www.nomachine.com/kb/</a><br> <br>
________________________________________________________________<br>
 &nbsp; &nbsp; &nbsp; FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org" \
target="_blank">FreeNX-kNX@kde.org</a><br>  &nbsp; &nbsp; &nbsp;<a \
href="https://mail.kde.org/mailman/listinfo/freenx-knx" \
target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br> \
________________________________________________________________<br> \
</blockquote></div><br>



________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
  
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic