Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] Problems with persistent connections

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


carnificated at hotmail

Jul 1, 2008, 8:44 AM

Post #1 of 3 (336 views)
Permalink
[lvs-users] Problems with persistent connections

Hi Folks, firstly sorry for my poor english, rsrsrs. I'm having the following problem: I have six web servers and two machines as balanceadores load (a master and backup). I have some web applications that when are used have the following problem, when users logon they are redirected to the screen logon.
This is because the new requests are redirected to other servers that has no history of the sessions of users, then I added the attribute "persistent = 300" (tested with other major and minor TIMES), solving this problem but creating another:the home page does not load, someone knows how to solve?

PS.: Follows the guidelines from site: http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster

virtual=192.168.6.240:80 real=192.168.6.2:80->192.168.6.7:80 gate fallback=127.0.0.1:80 gate service=http request="index.html" receive="Test Page" scheduler=rr (tested with other algorithms) persistent=600 netmask=255.255.255.255 protocol=tcp checktype=negotiate


Adriano Moura Macedo
_________________________________________________________________
Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos!
http://www.amigosdomessenger.com.br
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Jul 1, 2008, 9:02 AM

Post #2 of 3 (316 views)
Permalink
Re: [lvs-users] Problems with persistent connections [In reply to]

On Tue, 1 Jul 2008, Adriano Moura Macedo wrote:

> Hi Folks, firstly sorry for my poor english, rsrsrs. I'm
> having the following problem: I have six web servers and
> two machines as balanceadores load (a master and backup).
> I have some web applications that when are used have the
> following problem, when users logon they are redirected to
> the screen logon. This is because the new requests are
> redirected to other servers that has no history of the
> sessions of users, then I added the attribute "persistent
> = 300" (tested with other major and minor TIMES), solving
> this problem but creating another:the home page does not
> load, someone knows how to solve?

persistence creates a lot of problems. Your setup
redirecting connections to the screen logon (which I don't
understand) seems to be part of the problem.

> PS.: Follows the guidelines from site:
> http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster

didn't know about this.

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


hudsonfas at gmail

Jul 2, 2008, 6:30 AM

Post #3 of 3 (302 views)
Permalink
Re: [lvs-users] Problems with persistent connections [In reply to]

Hey, guys

I have the same problem, that is,

I Followed the guideline:
http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster

1. SITUATION ONE: (I don´t use PERSISTENT = 300 in ldirectord.cf)

and when the users (in yours browsers) access (redirect by load
balance) pages with session controller(user/password), your
requisitions are redirecting to any www servers, always ....

Why? established a connection browser <--> www server, it should not
remain until the closing of the browser?


2. SITUATION TWO: (Now I´m using PERSISTENT = 300 in ldirectord.cf)

Now, SOME users (in browser) receive a blank page,
when they are accessing pages with session controller (user/password).


This is the problem I am having with the ldirector (ultramonkey)!!


Hudson FAS



Joseph Mack NA3T escreveu:
> On Tue, 1 Jul 2008, Adriano Moura Macedo wrote:
>
>> Hi Folks, firstly sorry for my poor english, rsrsrs. I'm
>> having the following problem: I have six web servers and
>> two machines as balanceadores load (a master and backup).
>> I have some web applications that when are used have the
>> following problem, when users logon they are redirected to
>> the screen logon. This is because the new requests are
>> redirected to other servers that has no history of the
>> sessions of users, then I added the attribute "persistent
>> = 300" (tested with other major and minor TIMES), solving
>> this problem but creating another:the home page does not
>> load, someone knows how to solve?
>
> persistence creates a lot of problems. Your setup
> redirecting connections to the screen logon (which I don't
> understand) seems to be part of the problem.
>
>> PS.: Follows the guidelines from site:
>> http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster
>
> didn't know about this.
>
> Joe
>




_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.