Closed shenlijungg closed 5 years ago
If you want to modify the configuration of TiKV, you can modify tidb-ansible/conf/tikv.yml
, then execute ansible-playbook rolling_update.yml --tags=tikv
drainer_mysql_drainer.toml ansible-playbook rolling_update.yml --l drainerhost? @liubo0127
The drainer is a single point service, you need to stop the service first, then update the configuration, and finally start the service.If you want to modify the configuration of drainer1(alias in inventory.ini) the steps are as follows:
ansible-playbook stop_drainer.yml -l drainer1
ansible-playbook deploy_drainer.yml -l drainer1
ansible-playbook start_drainer.yml -l drainer1
thanks @liubo127
1 :Configure tikv.toml in tidb-ansible? 需要在中控上新建tikv.toml,操作上直接重启,还是需要 执行? ansible-playbook stop.yml -l kvip ansible-playbook bootstrap.yml -l kvip ansible-playbook deploy.yml -l kvip ansible-playbook start.yml -l kvip
2 :Configure tikv.toml in tikv server/conf/tikv.toml? vi tikv.toml
ansible-playbook stop.yml -l kvip ansible-playbook start.yml -l kvip