Sign InTry Free

Upgrade TiFlash Nodes

Before the upgrade, make sure that the cluster is started. To upgrade TiFlash nodes, take the following steps:

  1. Back up the tidb-ansible folder:

    mv tidb-ansible tidb-ansible-bak
    
  2. Download tidb-ansible that corresponds to the tag of TiDB v3.1:

    git clone -b $tag https://github.com/pingcap/tidb-ansible.git
    
  3. Download binary:

    ansible-playbook local_prepare.yml
    
  4. Edit the inventory.ini file.

  5. Rolling upgrade TiFlash:

    ansible-playbook rolling_update.yml --tags tiflash
    
  6. Rolling upgrade the TiDB monitoring component:

    ansible-playbook rolling_update_monitor.yml
    
Download PDFRequest docs changes
Was this page helpful?
Open Source Ecosystem
TiDB
TiKV
TiSpark
Chaos Mesh
© 2022 PingCAP. All Rights Reserved.