启停服务
1. 管理节点上cdcloud服务的启动与停止
在第一次启动clup时,需要先把clupmdb数据库启动起来
s - clupmdb
pg_ctl start
因为前面已经将clup配置成了systemd的服务,所以可以用systemctl命令检查服务是否启动及是否正常
使用systemctl命令启停
在管理节点上用以下命令检查clup服务是否启动
systemctl status clup
如果没有启动则用以下命令启动
systemctl start clup
停止clup服务
systemctl stop clup
手动启停
启动服务
/opt/clup/bin/clupserver start
停止服务
/opt/clup/bin/clupserver stop
2. 每台物理机上clup-agent服务的启动与停止
使用systemctl命令启停
检查clup-agent是否启动
systemctl status clup-agent
启动clup-agent
systemctl start clup-agent
停止clup-agent
systemctl stop clup-agent
手动启停
启动agent
/opt/clup-agent/bin/clup-agent start
停止agent
/opt/clup-agent/bin/clup-agent stop
目录