您的位置:首页 > 数据库 > Redis

分布式架构学习之:使用Redis3.0集群实现Tomcat集群的Session共享

luckykapok918 2017-05-22 16:00 23 查看


















Redis.properties

# redis hosts ex: 127.0.0.1:6379, 127.0.0.2:6379, 127.0.0.2:6380, ....

redis.hosts=192.168.1.111:7111,192.168.1.112:7112,192.168.1.113:7113,192.168.1.114:7114,192.168.1.115:7115,192.168.1.116:7116

# Redis Password

redis.password=

# set true to enable redis cluster mode

redis.cluster.enabled=true



标签: