• TiDB集群销毁删除


    [tidb@mysql-host1 ~]$ tiup cluster destroy tidb-test
    tiup is checking updates for component cluster ...
    Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.9.0/tiup-cluster /home/tidb/.tiup/components/cluster/v1.9.0/tiup-cluster destroy tidb-test
    
      ██     ██  █████  ██████  ███    ██ ██ ███    ██  ██████
      ██     ██ ██   ██ ██   ██ ████   ██ ██ ████   ██ ██
      ██  █  ██ ███████ ██████  ██ ██  ██ ██ ██ ██  ██ ██   ███
      ██ ███ ██ ██   ██ ██   ██ ██  ██ ██ ██ ██  ██ ██ ██    ██
       ███ ███  ██   ██ ██   ██ ██   ████ ██ ██   ████  ██████
    
    This operation will destroy tidb v5.4.0 cluster tidb-test and its data.
    Are you sure to continue?
    (Type "Yes, I know my cluster and data will be deleted." to continue)
    : Yes, I know my cluster and data will be deleted.
    Destroying cluster...
    + [ Serial ] - SSHKeySet: privateKey=/home/tidb/.tiup/storage/cluster/clusters/tidb-test/ssh/id_rsa, publicKey=/home/tidb/.tiup/storage/cluster/clusters/tidb-test/ssh/id_rsa.pub
    + [Parallel] - UserSSH: user=tidb, host=10.0.0.11
    + [Parallel] - UserSSH: user=tidb, host=10.0.0.11
    + [Parallel] - UserSSH: user=tidb, host=10.0.0.11
    + [Parallel] - UserSSH: user=tidb, host=10.0.0.11
    + [Parallel] - UserSSH: user=tidb, host=10.0.0.11
    + [Parallel] - UserSSH: user=tidb, host=10.0.0.11
    + [ Serial ] - StopCluster
    Stopping component alertmanager
            Stopping instance 10.0.0.11
            Stop alertmanager 10.0.0.11:9093 success
    Stopping component grafana
            Stopping instance 10.0.0.11
            Stop grafana 10.0.0.11:3000 success
    Stopping component prometheus
            Stopping instance 10.0.0.11
            Stop prometheus 10.0.0.11:9090 success
    Stopping component tidb
            Stopping instance 10.0.0.11
            Stop tidb 10.0.0.11:4000 success
    Stopping component tikv
            Stopping instance 10.0.0.11
            Stop tikv 10.0.0.11:20160 success
    Stopping component pd
            Stopping instance 10.0.0.11
            Stop pd 10.0.0.11:2379 success
    Stopping component node_exporter
            Stopping instance 10.0.0.11
            Stop 10.0.0.11 success
    Stopping component blackbox_exporter
            Stopping instance 10.0.0.11
            Stop 10.0.0.11 success
    + [ Serial ] - DestroyCluster
    Destroying component alertmanager
            Destroying instance 10.0.0.11
    Destroy 10.0.0.11 success
    - Destroy alertmanager paths: [/pingcap/data/tidb-data/alertmanager-9093 /pingcap/data/tidb-deploy/alertmanager-9093/log /pingcap/data/tidb-deploy/alertmanager-9093 /etc/systemd/system/alertmanager-9093.service]
    Destroying component grafana
            Destroying instance 10.0.0.11
    Destroy 10.0.0.11 success
    - Destroy grafana paths: [/pingcap/data/tidb-deploy/grafana-3000 /etc/systemd/system/grafana-3000.service]
    Destroying component prometheus
            Destroying instance 10.0.0.11
    Destroy 10.0.0.11 success
    - Destroy prometheus paths: [/pingcap/data/tidb-data/prometheus-8249 /pingcap/data/tidb-deploy/prometheus-8249/log /pingcap/data/tidb-deploy/prometheus-8249 /etc/systemd/system/prometheus-9090.service]
    Destroying component tidb
            Destroying instance 10.0.0.11
    Destroy 10.0.0.11 success
    - Destroy tidb paths: [/pingcap/data/tidb-deploy/tidb-4000/log /pingcap/data/tidb-deploy/tidb-4000 /etc/systemd/system/tidb-4000.service]
    Destroying component tikv
            Destroying instance 10.0.0.11
    Destroy 10.0.0.11 success
    - Destroy tikv paths: [/etc/systemd/system/tikv-20160.service /pingcap/data/tidb-data/tikv-20160 /pingcap/data/tidb-deploy/tikv-20160/log /pingcap/data/tidb-deploy/tikv-20160]
    Destroying component pd
            Destroying instance 10.0.0.11
    Destroy 10.0.0.11 success
    - Destroy pd paths: [/pingcap/data/tidb-data/pd-2379 /pingcap/data/tidb-deploy/pd-2379/log /pingcap/data/tidb-deploy/pd-2379 /etc/systemd/system/pd-2379.service]
    Destroying monitored 10.0.0.11
            Destroying instance 10.0.0.11
    Destroy monitored on 10.0.0.11 success
    Clean global directories 10.0.0.11
            Clean directory /pingcap/data/tidb-deploy on instance 10.0.0.11
            Clean directory /pingcap/data/tidb-data on instance 10.0.0.11
    Clean global directories 10.0.0.11 success
    Delete public key 10.0.0.11
    Delete public key 10.0.0.11 success
    Destroyed cluster `tidb-test` successfully
  • 相关阅读:
    进制转换
    01背包基础
    6-14 Inspector s Dilemma uva12118(欧拉道路)
    9-4 Unidirectional TSP uva116 (DP)
    8-4 奖品的价值 uva11491(贪心)
    9-1 A Spy in the Metro uva1025 城市里的间谍 (DP)
    8-3 Bits Equalizer uva12545
    8-2 Party Games uva1610 (贪心)
    自动发邮件功能
    窗口截图.py
  • 原文地址:https://www.cnblogs.com/zhouwanchun/p/16646281.html
Copyright © 2020-2023  润新知