https://github.com/peng0208/gops
配置管理,分布式定时任务
https://github.com/peng0208/gops
configuration-management cron golang job-scheduler
Last synced: 5 months ago
JSON representation
配置管理,分布式定时任务
- Host: GitHub
- URL: https://github.com/peng0208/gops
- Owner: peng0208
- License: mit
- Archived: true
- Created: 2017-11-01T00:59:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T06:14:33.000Z (over 5 years ago)
- Last Synced: 2025-02-23T01:03:55.730Z (8 months ago)
- Topics: configuration-management, cron, golang, job-scheduler
- Language: Go
- Homepage:
- Size: 416 KB
- Stars: 48
- Watchers: 5
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 运维作业工具
- WEB界面
- 配置文件管理
- 定时任务管理
## 功能简介
- WEB界面,操作便利,避免人工操作多台服务器的困难及风险。
- 多环境支持,集中管理多个不同环境。
- 配置文件管理,通过界面修改配置,由ETCD下发,实现管理多台服务器的配置文件
- 定时任务管理,基于TCP的RPC调用。通过界面管理linux定时任务,秒级执行,基于动态反馈负载均衡机制,实现均衡负载分布式调用,用来替代Linux自带的crontab工具## 安装
1. 克隆项目,`cd $GOPATH/src;git clone https://github.com/peng0208/gops.git`
1. 编译 `sh setup.sh`## 安装web
1. 克隆项目,`git clone https://github.com/peng0208/gops-frontend.git`
1. 进入项目目录,`npm install && npm run build`## 运行
1. 创建数据库,`gops/gops-doc/scheme.sql`
2. 编写配置文件
- gops_server: `gops/gops-doc/gops-server.conf`
- gops_client: `gops/gops-doc/gops-client.conf`
- nginx: `gops/gops-doc/nginx.conf`
3. `gops_server -c gops-server.conf`
4. `gops_client -c gops-client.conf`