PHP Sessions - Redis fails if one of the server is turned off

14 views
Skip to first unread message

Nuthan Kumar

unread,
Jun 22, 2017, 10:37:20 AM6/22/17
to Redis DB
Hi, 

We have configured loadbalancer, configured session save handler via redis servers on both the webservers.
session.save_path 'tcp://10.140.0.4:6379,tcp://10.140.0.2:6379'

The problem is, when one of the redis server fails, the web server fails. 

Is there anything else that needs to be changed in session save_path? Is the above configuration correct for clustering?

Thanks,
Nuthan.

Reply all
Reply to author
Forward
0 new messages