为何不使用haproxy方式,作为老毛子Padavan的S-s负载均衡,省去麻烦的设置呢?
本帖最后由 chaoqun14 于 2019-8-7 00:19 编辑好了,教程来了,久等了,测试修改了配置之后稳定了许多,但是还是需要在优化一下
--------------------------------------------------------------------------------------------------
如果需要IPV6隧道免费高速翻Q的话可以借鉴
为何不使用 he ipv6 tunnel 翻Q上网呢,1080P真的无压力!!!!
分享几个免费自建的SS节点
免费分享几个自建的日本SS节点!~~~~~~~~~~~~
--------------------------------------------------------------------------------------------------
**** Hidden Message *****
所有详细负载,链接时间,流量,ping值,哪台服务器宕机了,一目了然
虽然我更新帖子的速度有点慢,但是出自于造福坛友的方向,不收币,你们扣分的,和喷的,就有点过了啊!~看看现在出的教程都是收币的。
有什么不懂的就更贴,一有时间我会慢慢回复的,谢谢加分,拒绝扣分,和谐社会,你我做起
# haproxy -f /opt/etc/haproxy.cfg
151/155338 (6198) : parsing : 'listen' cannot handle unexpected argument 'Raid'.
151/155338 (6198) : parsing : please use the 'bind' keyword for listening addresses.
151/155338 (6198) : parsing : character 'g is not permitted in server name 'Ļ3ǘՈ¡'.
151/155338 (6198) : parsing : character '»' is not permitted in server name 'IP»󔳃򷋿ںç.
151/155338 (6198) : Parsing : proxy 'S-S' has the same name as proxy 'S-S' declared at /opt/etc/haproxy.cfg:34.
151/155338 (6198) : parsing : 'listen' cannot handle unexpected argument 'Raid2'.
151/155338 (6198) : parsing : please use the 'bind' keyword for listening addresses.
151/155338 (6198) : parsing : character 'g is not permitted in server name 'Ļ3ǘՈ¡'.
151/155338 (6198) : parsing : character '»' is not permitted in server name 'ip»󔳃򷋿ںç.
151/155338 (6198) : Error(s) found in configuration file : /opt/etc/haproxy.cfg
151/155338 (6198) : Fatal errors found in configuration.
如何解决呢 本帖最后由 wyfabc 于 2017-11-19 07:49 编辑
灯大的Padavan 固件,最后一步不成功,请指点
# haproxy -f /opt/etc/haproxy.cfg
322/074830 (25010) : parsing : 'listen S-S' : invalid address: 'Raid' in 'Raid'
322/074830 (25010) : Parsing : proxy 'S-S' has same name as another proxy (declared at /opt/etc/haproxy.cfg:34).
322/074830 (25010) : parsing : 'listen S-S' : invalid address: 'Raid2' in 'Raid2'
322/074830 (25010) : Error(s) found in configuration file : /opt/etc/haproxy.cfg
322/074830 (25010) : config : missing timeouts for proxy 'S-S'.
| While not properly invalid, you will certainly encounter various problems
| with such a configuration. To fix this, please ensure that all following
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.
322/074830 (25010) : config : missing timeouts for proxy 'S-S'.
| While not properly invalid, you will certainly encounter various problems
| with such a configuration. To fix this, please ensure that all following
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.
322/074830 (25010) : Fatal errors found in configuration.
chaoqun14 发表于 2019-8-7 00:20
教程没有错,你的配置错了
大佬 终于盼到你回复啦 我的配置应该没错啊 我是按照您的教程配置复制过去的
改动的只有这一段
listen S-S Raid #服务器1
bind 0.0.0.0:6868
mode tcp
balance roundrobin#负载均衡算法
#weight: 服务器权重,数字越大分配到的请求数越高,rise 2: 两次检测正确认为服务器可用, fall 3: 三次失败认为服务器不可用,check: 接受定时健康检查,inter 2000: 检查频率
server HK1 xxxx.ml:10181 weight 90 rise 2 fall 3 check inter 2000 #可添加多个服务器下同
server HK2 bbbb.ml:10181 weight 50 rise 2 fall 3 check inter 2000 看看大佬的脚本 刚好需要 支持一下 什么东西来的?原版固件用啥做负载均衡? 顶顶顶顶顶顶顶顶顶顶多 感谢大佬 感谢分享 学习了谢谢了 所有详细负载,链接时间,流量,ping值,哪台服务器宕机了,一目了然
感谢分享
一直在找。试一试 一看就是觉得高端、大气、上档次!
谢谢大神分享! t/etc/haproxy.cfg 文件,清空里面内容,跟我的内容一起来,yes。 谢谢大神分享! 看看怎么样