【 TiDB 使用环境】/测试/ Poc
【 TiDB 版本】7.2
参照文档 TiDB 软件和硬件环境建议配置 | PingCAP 文档中心 在单机上模拟部署生产环境集群。
在执行
tiup cluster deploy milkyway v7.2.0 tidb-topology.yaml --user tidb -p时报如下错误。请问这个问题如何解决
tidb-topology.yaml的配置如下:
global:
user: “tidb”
ssh_port: 22
deploy_dir: “/data/tidb/deploy”
data_dir: “/data/tidb/data”
monitored:
node_exporter_port: 9100
blackbox_exporter_port: 9115
server_configs:
tidb:
log.slow-threshold: 300
tikv:
readpool.storage.use-unified-pool: false
readpool.coprocessor.use-unified-pool: true
pd:
replication.enable-placement-rules: true
replication.location-labels: [“host”]
tiflash:
logger.level: “info”
pd_servers:
- host: 127.0.0.1
tidb_servers:
- host: 127.0.0.1
tikv_servers:
-
host: 127.0.0.1
port: 20160
status_port: 20180
config:
server.labels: { host: “logic-host-1” } -
host: 127.0.0.1
port: 20161
status_port: 20181
config:
server.labels: { host: “logic-host-2” } -
host: 127.0.0.1
port: 20162
status_port: 20182
config:
server.labels: { host: “logic-host-3” }
tiflash_servers:
- host: 127.0.0.1
monitoring_servers:
- host: 127.0.0.1
grafana_servers:
- host: 127.0.0.1
【资源配置】
- Detect CPU Arch Name
- Detecting node xxx.xxx.xxx.xxx Arch info … Error
Error: failed to fetch cpu-arch or kernel-name: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@xxx.xxx.xxx.xxx:22’ {ssh_stderr: We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c “uname -m”}, cause: Process exited with status 1