社区版4.0 如何单独停止obagent服务,有命令吗,还是只能keill 掉

【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】obagent
【 使用版本 】社区版4.0
【问题描述】我想单独停掉 obagent服务 ,没找到命令,是否可以直接用kill 杀死进程
【问题现象及影响】
我想单独停掉 obagent服务 ,没找到命令,是否可以直接用kill 杀死进程


这个 看了 没?

obd cluster stop --help 可以查看一下帮助命令

Usage: obd cluster stop <deploy name> [options]

Options:
  -s SERVERS, --servers=SERVERS
                        List of servers to be stoped. Multiple servers are
                        separated with commas.
  -c COMPONENTS, --components=COMPONENTS
                        List of components to be stoped. Multiple components
                        are separated with commas.

-s指定指定的是需要在停哪个主机,yaml文件里对应server的name, -c指定的是需要操作的组件的名字。

这个没看到 我用的是 社区4.0版本的,所有的都是一个配置文件,启动也是一个命令全部启动的 没用单独的配置文件

obd cluster stop/start ${deploy_name} -s xxx -c yyy

跟是几个配置文件没有关系,只要跟deploy 的时指定的deploy_name一致即可。

嗯嗯 谢谢 已经根据你提供的,命令解决了