Cybertinus

The database server is another server with Postgresql.


Pablo
----- Original Message -----
From: "Cybertinus" <[email protected]>
To: "user" <[email protected]>
Sent: Thursday, February 4, 2016 4:58:25 PM
Subject: Re: [owncloud-user] Owncloud pools of servers behind a load balancer

Hello Pablo,

What is your database configuration? Is this a shared server too? Or do 
you have an master-master setup running or something like that?

---
Kind regards,
Cybertinus

On 04-02-2016 20:16, Pablo Marques wrote:
> Hi Owncloud community
> 
> I am setting up a load balanced Owncloud with nginx.
> Two backend servers running 8.2.2 with shared NFS storage.
> Both servers are configured to use the same Redis server for memcache
> 
>  'memcache.local' => '\\OC\\Memcache\\Redis',
>  'memcache.distributed' => '\\OC\\Memcache\\Redis',
>  'memcache.locking' => '\\OC\\Memcache\\Redis',
>  'redis' =>
>  array (
>    'host' => '10.10.10.34',
>    'port' => '6379',
>    'timeout' => '0',
>    'dbindex' => '0',
>  ),
> 
> All works great except that if I disable a backend server, the user
> that happened to be on that backend server is forced to authenticate
> again.
> Isn't the user sessions stored and shared in Redis for both servers?
> 
> 
> How should I configure this setup to avoid user re-authentication on
> backend failure?
> 
> Regards
> 
> Pablo
> _______________________________________________
> User mailing list
> [email protected]
> http://mailman.owncloud.org/mailman/listinfo/user
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user


-- 
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to