Sync two web servers [SESSION PROBLEM?]

danitfk

New member
Joined
Mar 14, 2014
Messages
4
Hello everyone ,

Is there anyone tried Web server replication [Apache] in directadmin ?
In a scenario We have two directadmin node with MariaDB master-master replication and Apache replication with Rsync (interval 30s) and DNS load balancing with RR method.

How We can prevent problems with session stuff ?

Grusse liebe
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,794
Location
A Coruña, Spain
You need to mantain the session's, i mean, if a user get redirected to SERVER A, he must keep "talk" to SERVER A and not get redirected on SERVER B during the session, or maybe, you would need to keep /tmp folder synced aswell

Regards
 

danitfk

New member
Joined
Mar 14, 2014
Messages
4
You need to mantain the session's, i mean, if a user get redirected to SERVER A, he must keep "talk" to SERVER A and not get redirected on SERVER B during the session, or maybe, you would need to keep /tmp folder synced aswell

Regards
So It will be helpful if We'll syncronized save session path directory with servers.

Thanks
 

Marwen

Verified User
Joined
Nov 7, 2003
Messages
147
Location
germany
Mount over NFS the save session path from Server A to Server B.
Or Mount from an another Server/Storage the save session path in Server A and Server B.
 
Top