tiup icon indicating copy to clipboard operation
tiup copied to clipboard

Support independent deployment of monitor

Open jacktd9 opened this issue 3 years ago • 1 comments

Feature Request

Is your feature request related to a problem? Please describe:

1.在使用 tiup 接管 ansible 时,用户可能某些组件未部署 monitor,或部分组件端口或路径不同,存在提前修复遗留或增加额外变更,以及被忽略了此种可能,大多数情况下均有发生 2.在 tiup upgrade 过程中不会检测该问题,所以在事中不能被发现,相对然而是一个好的行为 3.在 tiup 运维过程中,如果某些节点上因前期原因缺少监控 monitor 服务,在 reload 等操作过程中上会报错路径不存在,进而中断 4.事后 tiup 目前不支持独立部署 monitor ,无法独立修复 5.多套集群公用了某些集群,那么其中的 monitor 服务可能端口相同路径不同,在后面的维护中会出现其他问题

Describe the feature you'd like:

希望能支持独立部署监控 monitor 服务,以便灵活的使用和修复该常见问题

Why the featue is needed:

升级前事前人为检查存在很大的疏漏可能,尤其在多节点的集群上,然而 tiup import 或 upgrade 不会检测,在运维过程中又会报错,事后又不能通过工具做修复。 当提供了事后的独立部署 monitor 服务后,对于之前的问题,能有较好的解决方式,关闭之前服务,重新部署启动新的 monitor ,确保集群中均存在 monitor 监控

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

jacktd9 avatar Jul 14 '21 05:07 jacktd9

We'll provide a feature in v1.6.0 to forcefully deploy node_exporter and blackbox_exporter to all hosts. That would be a feature only available for clusters imported from tidb-ansible.

AstroProfundis avatar Jul 14 '21 06:07 AstroProfundis