chaoqun14 发表于 2016-9-12 17:40

为何不使用haproxy方式,作为老毛子Padavan的S-s负载均衡,省去麻烦的设置呢?

本帖最后由 chaoqun14 于 2019-8-7 00:19 编辑

好了,教程来了,久等了,测试修改了配置之后稳定了许多,但是还是需要在优化一下

--------------------------------------------------------------------------------------------------

如果需要IPV6隧道免费高速翻Q的话可以借鉴
为何不使用 he ipv6 tunnel 翻Q上网呢,1080P真的无压力!!!!
分享几个免费自建的SS节点

免费分享几个自建的日本SS节点!~~~~~~~~~~~~

--------------------------------------------------------------------------------------------------

**** Hidden Message *****








所有详细负载,链接时间,流量,ping值,哪台服务器宕机了,一目了然

















虽然我更新帖子的速度有点慢,但是出自于造福坛友的方向,不收币,你们扣分的,和喷的,就有点过了啊!~看看现在出的教程都是收币的。



有什么不懂的就更贴,一有时间我会慢慢回复的,谢谢加分,拒绝扣分,和谐社会,你我做起











guilove 发表于 2018-6-1 16:03

# 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:26

本帖最后由 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.

szkorman 发表于 2019-8-7 09:30

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

huangxd 发表于 2023-2-16 11:32

看看大佬的脚本

Yzh97 发表于 2022-9-4 00:36

刚好需要 支持一下

yu9zhou 发表于 2022-7-13 09:59

什么东西来的?原版固件用啥做负载均衡?

cyf1990427 发表于 2022-7-12 16:26

顶顶顶顶顶顶顶顶顶顶多

weilaizhixin123 发表于 2022-7-8 09:49

感谢大佬

disth 发表于 2022-7-8 08:53

感谢分享

mebenny 发表于 2022-7-7 10:44

学习了谢谢了

cnncn 发表于 2022-6-5 13:34

所有详细负载,链接时间,流量,ping值,哪台服务器宕机了,一目了然

JLOuO 发表于 2022-3-13 17:31

感谢分享

jiao1yin2he3 发表于 2021-11-9 13:53

一直在找。试一试

jinjin110 发表于 2021-10-28 22:57

一看就是觉得高端、大气、上档次!

oannie 发表于 2021-9-19 12:00


谢谢大神分享!

AnkeyVeronin 发表于 2021-8-9 20:05

t/etc/haproxy.cfg 文件,清空里面内容,跟我的内容一起来,yes。

iamsam 发表于 2021-8-1 13:19

谢谢大神分享!

rad 发表于 2021-7-29 10:41

看看怎么样
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 为何不使用haproxy方式,作为老毛子Padavan的S-s负载均衡,省去麻烦的设置呢?