TIEM 填加主机资源报错:
这个$PATH 是在哪里配置的:
failed, exec: “tiup”: executable file not found in $PATH
添加主机的文件模板信息中填写的是tidb用户
tidb用户下本地的$PATH和目标主机的$PATH:
PATH=/home/tidb/.tiup/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/tidb/.tiup/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/tidb/.local/bin:/home/tidb/bin:/opt/maria10.1/bin:/home/tidb/.tiup/bin
[tidb@jian ~]$ which tiup
~/.tiup/bin/tiup