It _should_ be possible to use multiple memcached servers as session storage 
for your PHP sessions. One memcached goes on each of your Icinga Web 2 
instances. I used memcached for PHP sessions before and its a common use case, 
but never tried it with Icinga Web 2.

I found a good article about it here: 
https://www.digitalocean.com/community/tutorials/how-to-share-php-sessions-on-multiple-memcached-servers-on-ubuntu-14-04
 
<https://www.digitalocean.com/community/tutorials/how-to-share-php-sessions-on-multiple-memcached-servers-on-ubuntu-14-04>

The same would also work with redis.

Maybe you can try it out and give us some feedback :-)


> On 24 Feb 2017, at 14:17, Peter Eckel <li...@eckel-edv.de> wrote:
> 
> Hi Luca, 
> 
>> Of course you’d have problems during an actual failover (one backend fails 
>> or you manually take it out of the pool) but it should be a minor issue.
> 
> that's exactly the issue I'm trying to solve. My other solution (keeping the 
> sessions directory in sync) is quite clumsy, and I'm looking for the perfect 
> solution. 
> 
> Cheers, 
> 
>  Peter.
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to