dbaspace
(dbaspace)
1
tiup部署集群,怎么独立部署监控服务,
配置文件:
monitored:
- host: 172.16.0.29
blackbox_exporter_port: 9115
提示错误:
Error: Failed to parse topology file scale-out.yaml (topology.parse_failed)
caused by: yaml: unmarshal errors:
line 2: cannot unmarshal !!seq into spec.MonitoredOptions
Please check the syntax of your topology file scale-out.yaml and try again.
怎么独立指定监控服务部署呢?
1 个赞
Lucien
( Lucien)
2
看报错的意思是语法错误,需要一下你调用的配置文件 scale-out.yaml 文件看看是不是语法格式有问题,yaml 语法是缩进比较严格的语法格式。
1 个赞
dbaspace
(dbaspace)
3
这个配置文件 不管怎么编辑抖提示caused by: yaml: unmarshal errors 这个问题
1 个赞
monitored
配置的是 exporter(不是 prometheus/grafana/alertmanager)
exporter 每个节点上都会部署,拓扑文件里不需要指定 host 列表。也不能指定 host 列表,因为 TiUP 不认识这样的格式。正确的 monitored
配置是类似这样的:
monitored:
node_exporter_port: 9100
blackbox_exporter_port: 9115
不过这跟你说的独立部署监控服务是两码事吧
1 个赞
dbaspace
(dbaspace)
6
我是想对某个节点部署 blackbox_exporter 指定到一个目录的
1 个赞
dbaspace
(dbaspace)
7
目前遇到:
1、集群怎么重复滚 类似anslibe-play rolling_update…
2、滚失败了怎么滚单点服务,是否有类似ansible过程:ansible-play deploy.yml -t pd -l ip
集群滚动清单:
部分成功部分失败
1 个赞
dbaspace
(dbaspace)
8
这个怎么改都不可以 ,一直提示caused by: yaml: unmarshal errors
1 个赞
这个问题刚才回复过了啊,仔细看一下,你的写法有问题, tiup 不支持
1 个赞
你可能理解错了,这样的配置是所有节点都生效的,为啥说鸡肋呢
1 个赞
dbaspace
(dbaspace)
12
tiup部署是快,限制也多,条条框框也多,现在就是一个节点的监控有问题,删除了 怎么恢复了呢?
拓扑文件没变化的话,用 tiup reload 一下,是不是就会恢复回来了
dbaspace
(dbaspace)
14
集群部分节点已经更新到最新版本了 你说的那根不行的 ,,,这个重新滚动集群版本问题,找到解决办法
system
(system)
关闭
15
此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。