summaryrefslogtreecommitdiff
path: root/deploy_doc/deploy.md
blob: aa7c5738b8d44889e2206c88b284eb7cd5fe5a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1.交换板文件
  /opt/tsg/bin
  /opt/tsg/etc
  
  更新telegraf.conf的global tags, 本机sn.

2.计算板文件(4台)


3.服务
启动交换板crontab服务:
service crond start
chkconfig crond on
crontab -e, 输入以下内容:
* * * * * /opt/tsg/bin/tsg_update_tags
* * * * * sleep 10; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 20; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 30; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 40; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 50; /opt/tsg/bin/tsg_update_tags

修改后要执行: service crond restart