计算板拆分为4个roles分别部署
This commit is contained in:
@@ -15,7 +15,10 @@ start_background_cmd(){
|
||||
#后台并发运行, 保证所有命令的开始运行时间基本一样,
|
||||
#且不会因某个命令网络拥塞、执行时间长等问题,阻塞while(1)主循环
|
||||
/opt/tsg/tsg-monitor/tsg_cluster_register > /dev/null &
|
||||
#nohup /opt/tsg/tsg-monitor/tsg_diagnose_background &
|
||||
|
||||
#mxn板只检测cpu, mem, disk等, 前台cli命令启用diagnose,
|
||||
#后台服务依靠oam snmp模块, 无需运行tsg_diagnose_background
|
||||
#/opt/tsg/tsg-monitor/tsg_diagnose_background &
|
||||
/opt/tsg/tsg-monitor/tsg_update_tags > /dev/null &
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user