Commit Graph

338 Commits

Author SHA1 Message Date
zsx
4fc5db521c add global lib for all master's tools 2018-01-24 15:10:00 +08:00
zsx
d384dce04e master_guard: add all info for version 2018-01-23 19:46:45 +08:00
zsx
ea244a6673 master & master tools can display the version of all services 2018-01-23 18:57:29 +08:00
zsx
fc0b189189 master_ctld: don't save all information by default 2018-01-19 10:24:55 +08:00
zsx
78beb49c5d acl_master: don't save some log information 2018-01-19 10:16:14 +08:00
zsx
f63a1d9408 master_ctld.cf: just listen 127.0.0.1:8290 by default 2018-01-19 09:53:12 +08:00
zsx
e9606ac8bc acl_ifconf_search can match TCP/UDP/UNIX domain socket addr automaticly 2018-01-16 13:55:55 +08:00
zsx
e7adfbb169 bugfix: fixed bugs in acl_ifconf.c's acl_ifconf_search and acl_udp_server.c 2018-01-16 11:43:35 +08:00
zsx
c9a11e6a29 acl_master: remove ACL_MASTER_SERV:command avoding misusing it, just using path 2018-01-05 10:40:05 +08:00
zsx
7213e116e3 service_guard: store date in redis with human-readable format 2018-01-04 18:19:00 +08:00
zsx
622c9d76e3 modify service_guard's configure 2018-01-04 15:37:20 +08:00
zsx
1c12b4f4b5 master's tools: add service_guard for managing all master_guards 2018-01-04 15:13:48 +08:00
zsx
6e119b3842 use the json struct same with service_guard/json 2018-01-04 15:11:37 +08:00
zsx
d3eb31424f master_guard: using some function in daemon/json 2018-01-04 11:10:24 +08:00
zsx
a2104bfba8 compiling error on CS6.4 2018-01-03 23:23:04 +08:00
zsx
009e895d41 add master_guard in master/tools 2018-01-03 23:06:27 +08:00
zsx
dc21d58218 master: add lost item named start in service_list.cpp 2018-01-03 18:59:37 +08:00
root
01be5a98c6 acl_udp_server: can exit gracefully 2018-01-03 02:54:53 +08:00
zsx
461afed4c7 Makefile_fiber.in: -lfiber should be after -lacl 2017-12-27 17:07:06 +08:00
zsx
92fdf8b1d4 redis builder: all commands support auth. 2017-12-27 10:26:06 +08:00
zsx
434c2a2970 master: when master can't bind one addr master maybe crash for one object been freed before. 2017-12-25 16:30:34 +08:00
zsx
b7c42290f7 master: master can't restart service when updating service command by master_ctl command 2017-12-22 16:07:32 +08:00
zsx
43e3aeee3c master: fixed bugs in master when reload services 2017-12-22 14:56:59 +08:00
zsx
4f0e2cc8dd feature: master can bind udp with unix domain path 2017-12-12 19:18:33 +08:00
zsx
fa113a12e7 acl stream and servers support UNIX domain socket in UDP packet mode 2017-12-10 22:23:37 +08:00
zsx
e65bdd10bf master: using acl_ifconf_search in service_sock & service_udp 2017-12-10 11:27:18 +08:00
zsx
01fcb0356e services's configure files update 2017-12-08 10:20:27 +08:00
zsx
b5ba4057db charset: changed main.cf's charset from gbk to utf-8 2017-12-08 09:50:22 +08:00
zsx
a5b15ee15b master: changed service_throttle_time from 60 to 10 in main.cf 2017-12-05 15:19:29 +08:00
zsx
318a2af3e7 master_ctld.conf add internal IP list 2017-12-03 23:53:46 +08:00
ruki
a65c0a3484 add some xmake.lua for app 2017-12-01 09:10:16 +08:00
ruki
987385ea6e add xmake.lua 2017-11-30 10:04:15 +08:00
zsx
41d76c8a04 master: can start service with extname of command 2017-11-21 17:40:25 +08:00
zsx
a8d8f40b52 master: can start & restart one service with different extname that maybe be used for different service version 2017-11-21 16:46:39 +08:00
zsx
be83030d8d master: add master_config command to get master's configure info. 2017-11-21 12:43:34 +08:00
zhengshuxin
b2b6521a75 compiling error on CentOS6.x 2017-11-16 11:37:57 +08:00
zhengshuxin
3e5a449310 master: upgrade version 2017-11-13 09:51:41 +08:00
zhengshuxin
65b1bb2162 master: update vertion to 2.0 2017-11-13 09:37:54 +08:00
zhengshuxin
e86ae675ae master: kill&stop one child with the specified configure file. 2017-11-12 20:41:16 +08:00
zhengshuxin
d4fb931056 code style format 2017-11-12 18:32:08 +08:00
zhengshuxin
8c70aae5fa master: master should not fork child process after starting service failed. 2017-11-12 18:27:27 +08:00
zhengshuxin
ef7e4495ac master: can start services specified in configure file. 2017-11-12 00:20:15 +08:00
zhengshuxin
48f00140a4 master_ctl: add waiting timeout arg of one command 2017-11-07 13:33:33 +08:00
zhengshuxin
e7800ce7c9 master_ctl: support using readline optional. 2017-11-07 13:25:54 +08:00
zhengshuxin
76889c5b35 master: supporting start service with absolute path 2017-11-07 11:54:12 +08:00
zhengshuxin
b7c6384b1e fixed one compiling error 2017-10-27 14:15:42 +08:00
zhengshuxin
db886f9d62 master: all server template support waiting the service starting status 2017-10-27 11:38:10 +08:00
zhengshuxin
bc4f60a2d3 acl_master: when starting services remotely, users can wait the result of the services' starting status or not. 2017-10-27 00:00:41 +08:00
zhengshuxin
0060ea9487 add service status type header 2017-10-26 22:00:14 +08:00
zhengshuxin
b998731976 building: modify Makefiles to build more quickly on multi-cores CPU 2017-10-10 10:19:59 +08:00
zhengshuxin
0f08451aa6 master: format c++ code style. 2017-09-24 21:10:28 +08:00
zhengshuxin
73fdae6530 acl_master's manage: restructure manage web module 2017-09-22 18:05:34 +08:00
zhengshuxin
7f41de209f modify protocol.md 2017-09-19 15:45:08 +08:00
zhengshuxin
7335f2a449 add master's web protocol in markdown file 2017-09-19 15:40:01 +08:00
zhengshuxin
dbea17b59d add configure items into server templates' configures 2017-09-11 22:34:56 +08:00
zhengshuxin
32dede69de add reload_timeout into main.cf of acl_master 2017-09-11 14:28:22 +08:00
zsx
cb1c642461 build ok for Macosx 2017-07-17 17:53:56 +08:00
zhengshuxin
5101ef3cc6 reload timeout can be set in acl_master 2017-09-10 17:54:07 +08:00
zhengshuxin
f17a0cd32e modify configure content of server templates used by wizard 2017-09-10 17:39:51 +08:00
zhengshuxin
5f3c319078 master can wait for the callback from children after reloading the specific service's children 2017-09-09 23:05:33 +08:00
zhengshuxin
a67e6a6338 sighup's result status from children can be got by acl_master 2017-09-09 00:30:39 +08:00
zhengshuxin
3d406e7277 init_conf_str_vars in master_params.cpp has memory leak when master reload configure. 2017-09-06 22:03:27 +08:00
zhengshuxin
965ecddd16 remove watchdog from master's main.cpp 2017-09-06 13:31:12 +08:00
zhengshuxin
025a9b29f2 make master's reload safety 2017-09-06 13:19:49 +08:00
zhengshuxin
296d5a995d master can wait until the children exited 2017-09-05 23:47:48 +08:00
zhengshuxin
3d02c72328 all master templates support handling SIGTERM signal. 2017-09-05 10:58:55 +08:00
zhengshuxin
dd9eed4698 compiling acl ok on FreeBSD 2015-12-13 10:15:00 +08:00
zsxxsz
4afb237dd9 fixed compiling error by vc 2017-09-02 09:42:11 +08:00
zhengshuxin
5291cd0c7a test only 2017-09-01 18:59:42 +08:00
zhengshuxin
25d33da4de when acl was installed into system by using rpm, the logger's compiling warn wasn't useful. 2017-09-01 17:43:12 +08:00
zhengshuxin
7fbebad954 make master more safety for invalid configue in app service. 2017-08-11 12:15:00 +08:00
zhengshuxin
c3bf4f6b1b add some values in get_bool_ent 2017-08-11 11:38:44 +08:00
zhengshuxin
fe44b078fc TCP_FASTOPEN can be used by setting the master_fastopen item in servers' configure files 2017-08-10 11:46:02 +08:00
zhengshuxin
1915852bd9 SO_REUSEPORT can be used in master server framework by setting configure item 2017-08-10 11:35:52 +08:00
zhengshuxin
b48627f168 add -ldl in some Makefile.in 2017-08-07 12:04:56 +08:00
zhengshuxin
e40c8bfb1a add -ldl in app's Makefile 2017-08-07 11:29:19 +08:00
zhengshuxin
b0b08bf3ef put master_ctl into rpm package. 2017-08-01 13:41:36 +08:00
zhengshuxin
6075440fb2 add main.cf into master/daemon/ path 2017-07-31 14:14:33 +08:00
zhengshuxin
d0024f25e7 for build rpm packing 2017-07-31 14:10:40 +08:00
zhengshuxin
c61af177c6 for build rpm 2017-07-31 14:00:04 +08:00
zhengshuxin
d0b71fb3a4 add master_ctld to rpm package. 2017-07-31 13:51:34 +08:00
zsxxsz
40a571f0fb fixed compiling error on windows. 2017-07-25 22:24:50 +08:00
zhengshuxin
9629b2ca1d make the output of master_ctl looks more beautiful:) 2017-07-24 22:42:11 +08:00
zhengshuxin
b8237e011b add starting time in master management protocol. 2017-07-24 16:06:29 +08:00
zhengshuxin
75443ef214 remove readline dependence by master_ctld 2017-07-24 09:34:13 +08:00
zhengshuxin
738f1c7124 move master_dispatch to master/tools/ directory. 2017-07-23 08:43:02 +08:00
zhengshuxin
e77c3bdfcd changed check_disabled to enabled 2017-07-23 08:25:35 +08:00
zhengshuxin
93b3250ca5 add methods that get configure path 2017-07-22 21:32:21 +08:00
zhengshuxin
8506208468 optimize some codes. 2017-07-22 19:42:19 +08:00
zhengshuxin
bc1d01b069 combine all actions into one. 2017-07-22 18:08:23 +08:00
zhengshuxin
072b9b7812 modify master_ctl 2017-07-21 17:25:35 +08:00
zhengshuxin
fc3970d0b4 all commands of master management are ok! 2017-07-21 15:38:28 +08:00
zhengshuxin
9ff0659332 fixed one compiling warning in gcc7.1.0 2017-07-21 12:26:52 +08:00
zhengshuxin
0b431ee4e8 add service restart web interface in acl_master and master's tools 2017-07-21 12:17:02 +08:00
zhengshuxin
93350e7f86 change list command json format for managing acl_master 2017-07-21 11:57:23 +08:00
zhengshuxin
e8721ebfa9 make master_ctl's output looks beautiful. 2017-07-21 10:14:20 +08:00
zhengshuxin
4222f4618d delete tmp file. 2017-07-21 10:08:33 +08:00
zhengshuxin
1fce66afd5 make master_ctl's output looking more beautiful with different colors. 2017-07-21 09:37:13 +08:00
zhengshuxin
385c53892a add master_ctld which can control acl_master in service's mode. 2017-07-20 23:26:51 +08:00
zhengshuxin
1eeb4cca42 add users's acl. 2017-07-17 21:37:32 +08:00