【文件属性】:
文件名称:vagrant-redis-sentinel:Redis和哨兵的游乐场
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-17 09:28:34
Puppet
无业游民前哨
这是在Vagrant中创建的小型Redis游乐场。
要运行haproxy,请安装haproxy软件包,启用haproxy绑定任何TCP端口( setsebool -P haproxy_connect_any 1 )并设置haproxy.cfg
defaults REDIS
mode tcp
timeout connect 4s
timeout server 30s
timeout client 30s
frontend ft_redis
bind *:6380 name redis
default_backend bk_redis
backend bk_redis
option tcplog
option tcp-check
tcp-check send PING\r\n
tcp-check expect string +PONG
tcp-ch
【文件预览】:
vagrant-redis-sentinel-master
----.gitignore(122B)
----Vagrantfile(1KB)
----hiera()
--------common.yaml(37B)
----.gitmodules(205B)
----README.md(820B)
----hiera_config.yaml(127B)
----manifests()
--------site.pp(1KB)
----modules()
--------redis()
--------stdlib()