[tidb@tidbser1 ~]$ tiup cluster show-config test-cluster
tiup is checking updates for component cluster ...
Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.9.4/tiup-cluster /home/tidb/.tiup/components/cluster/v1.9.4/tiup-cluster show-config test-cluster
global:
user: tidb
ssh_port: 22
ssh_type: builtin
deploy_dir: /u01/deploy
data_dir: data
os: linux
arch: amd64
monitored:
node_exporter_port: 9100
blackbox_exporter_port: 9115
deploy_dir: /u01/deploy
data_dir: /u01/deploy/data
log_dir: /u01/deploy/log
server_configs:
tidb:
alter-primary-key: false
binlog:
enable: true
ignore-error: false
write-timeout: 15s
compatible-kill-query: false
enable-streaming: false
host: 0.0.0.0
lease: 45s
log:
disable-timestamp: false
expensive-threshold: 10000
file:
log-rotate: true
max-backups: 0
max-days: 0
max-size: 300
format: text
level: info
query-log-max-len: 2048
slow-threshold: 300
lower-case-table-names: 2
max-index-length: 3072
oom-action: log
opentracing:
enable: false
reporter:
buffer-flush-interval: 0
local-agent-host-port: ""
log-spans: false
queue-size: 0
rpc-metrics: false
sampler:
max-operations: 0
param: 1.0
sampling-refresh-interval: 0
sampling-server-url: ""
type: const
performance:
cross-join: true
feedback-probability: 0.05
force-priority: NO_PRIORITY
max-procs: 0
pseudo-estimate-ratio: 0.8
query-feedback-limit: 1024
run-auto-analyze: true
stats-lease: 3s
stmt-count-limit: 5000
tcp-keep-alive: true
pessimistic-txn:
enable: true
max-retry-count: 256
ttl: 30s
prepared-plan-cache:
capacity: 100
enabled: false
memory-guard-ratio: 0.1
proxy-protocol:
header-timeout: 5
networks: ""
run-ddl: true
security:
cluster-ssl-ca: ""
cluster-ssl-cert: ""
cluster-ssl-key: ""
ssl-ca: ""
ssl-cert: ""
ssl-key: ""
server-version: ""
socket: ""
split-table: true
status:
report-status: true
store: tikv
tikv-client:
commit-timeout: 41s
grpc-connection-count: 16
grpc-keepalive-time: 10
grpc-keepalive-timeout: 3
token-limit: 1000
txn-local-latches:
capacity: 2048000
enabled: false
tikv:
raftstore:
raftdb-path: ""
sync-log: true
rocksdb:
wal-dir: ""
security:
ca-path: ""
cert-path: ""
key-path: ""
server:
labels:
host: tikv1
pd:
enable-prevote: true
initial-cluster-state: new
lease: 3
log:
level: info
namespace-classifier: table
replication:
location-labels:
- zone
- host
max-replicas: 2
schedule:
leader-schedule-limit: 4
max-pending-peer-count: 16
max-snapshot-count: 3
max-store-down-time: 30m
merge-schedule-limit: 8
region-schedule-limit: 4
replica-schedule-limit: 8
split-merge-interval: 1h
tolerant-size-ratio: 5.0
security:
cacert-path: ""
cert-path: ""
key-path: ""
tso-save-interval: 3s
tiflash: {}
tiflash-learner: {}
pump:
gc: 2
heartbeat-interval: 2
security:
ssl-ca: ""
ssl-cert: ""
ssl-key: ""
drainer:
detect-interval: 10
syncer:
db-type: file
disable-dispatch: false
ignore-schemas: INFORMATION_SCHEMA,PERFORMANCE_SCHEMA,mysql
ignore-txn-commit-ts: []
safe-mode: false
to:
dir: /u01/deploy/drainer/binlog
txn-batch: 20
worker-count: 16
cdc: {}
grafana: {}
tidb_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 4000
status_port: 10080
deploy_dir: /u01/deploy
log_dir: /u01/deploy/log
arch: amd64
os: linux
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 4001
status_port: 10081
deploy_dir: /u01/deploy2
log_dir: /u01/deploy2/log
arch: amd64
os: linux
tikv_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 20161
status_port: 20181
deploy_dir: /u01/deploy2
data_dir: /u01/deploy2/data
log_dir: /u01/deploy2/log
arch: amd64
os: linux
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 20160
status_port: 20180
deploy_dir: /u01/deploy
data_dir: /u01/deploy/data
log_dir: /u01/deploy/log
arch: amd64
os: linux
tiflash_servers: []
pd_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
name: pd_tidbser1
client_port: 2381
peer_port: 2382
deploy_dir: /u01/deploy2
data_dir: /u01/deploy2/data.pd
log_dir: /u01/deploy2/log
arch: amd64
os: linux
- host: 192.168.40.62
ssh_port: 22
imported: true
name: pd_PD1-1
client_port: 2379
peer_port: 2380
deploy_dir: /u01/deploy
data_dir: /u01/deploy/data.pd
log_dir: /u01/deploy/log
arch: amd64
os: linux
pump_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 8250
deploy_dir: /u01/deploy/pump
data_dir: /u01/deploy/pump/data.pump
log_dir: /u01/deploy/pump/log
arch: amd64
os: linux
drainer_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 8249
deploy_dir: /u01/deploy/drainer
data_dir: /u01/deploy/drainer/data.drainer
log_dir: /u01/deploy/drainer/log
config:
initial-commit-ts: 0
arch: amd64
os: linux
monitoring_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 9090
deploy_dir: /u01/deploy
data_dir: /u01/deploy/prometheus2.0.0.data.metrics
log_dir: /u01/deploy/log
external_alertmanagers: []
storage_retention: 30d
arch: amd64
os: linux
grafana_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
port: 3000
deploy_dir: /u01/deploy
arch: amd64
os: linux
username: admin
password: admin
anonymous_enable: false
root_url: ""
domain: ""
alertmanager_servers:
- host: 192.168.40.62
ssh_port: 22
imported: true
web_port: 9093
cluster_port: 9094
deploy_dir: /u01/deploy
data_dir: /u01/deploy/data.alertmanager
log_dir: /u01/deploy/log
arch: amd64
os: linux
1.使用 tiup cluster import -d /home/tidb/tidb-ansible导入到tiup后,使用tiup命令查看报这个警告
2.目前tidb集群只部署在一台服务器上面
3.如何处理这个报错呢