master_ctld: add UNIX domain listening avoiding be blocked by iptables

This commit is contained in:
zsx 2018-02-22 10:09:35 +08:00
parent a1d56b6d82
commit a5e17f408d
3 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,7 @@ service master_ctld {
# 172.25.*.*:8290, 172.26.*.*:8290, 172.27.*.*:8290, \ # 172.25.*.*:8290, 172.26.*.*:8290, 172.27.*.*:8290, \
# 172.28.*.*:8290, 172.29.*.*:8290, 172.30.*.*:8290, \ # 172.28.*.*:8290, 172.29.*.*:8290, 172.30.*.*:8290, \
# 172.31.*.*:8290 # 172.31.*.*:8290
master_service = 127.0.0.1:8290 master_service = 127.0.0.1:8290, master_ctld@unix
# 服务监听为域套接口 # 服务监听为域套接口
# master_service = aio_echo.sock # master_service = aio_echo.sock

View File

@ -63,7 +63,8 @@ service master_guard
# trigger_delay_usec = 5000 # trigger_delay_usec = 5000
# trigger_daemon_timeout = 1800 # trigger_daemon_timeout = 1800
master_ctld = 127.0.0.1:8290 # master_ctld = 127.0.0.1:8290
master_ctld = {install_path}/var/public/master_ctld@unix
guard_manager = master.qiyi.domain:8390 guard_manager = master.qiyi.domain:8390
# guard_manager = 127.0.0.1:8390 # guard_manager = 127.0.0.1:8390
} }

View File

@ -1,7 +1,7 @@
Summary: The powerful c/c++ library and server framework Summary: The powerful c/c++ library and server framework
Name: acl-libs Name: acl-libs
Version: 3.3.0 Version: 3.3.0
Release: 73 Release: 74
Group: System/Libs Group: System/Libs
License: IBM License: IBM
URL: http://cdnlog-web.qiyi.domain URL: http://cdnlog-web.qiyi.domain
@ -83,6 +83,9 @@ fi
%changelog %changelog
* Thu Feb 22 2018 zhengshuxin@qiyi.com 3.3.0-74-20180222.10
- master_ctld: add UNIX domain listening avoiding be blocked by iptables.
* Mon Feb 12 2018 zhengshuxin@qiyi.com 3.3.0-73-20180212.15 * Mon Feb 12 2018 zhengshuxin@qiyi.com 3.3.0-73-20180212.15
- master_ctld: support GET for checking port if service is aliving - master_ctld: support GET for checking port if service is aliving