Issues with New TiDB Deployment, Please Help

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 新人tidb部署问题,大家帮帮忙看看

| username: TiDBer_gypkMA1c

Deploying TiDB on a virtual platform, an error occurred indicating that the disk check failed. It is an SSD disk, formatted as EXT4 with the required parameters according to the deployment requirements. Is there anything else that needs to be set up?
fatal: [10.137.100.114]: FAILED! => {“changed”: false, “msg”: “fio: randread iops of tikv_data_dir disk is too low: 646 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues.”}
fatal: [10.137.100.115]: FAILED! => {“changed”: false, “msg”: “fio: randread iops of tikv_data_dir disk is too low: 572 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues.”}
fatal: [10.137.100.116]: FAILED! => {“changed”: false, “msg”: “fio: randread iops of tikv_data_dir disk is too low: 593 < 40000, it is strongly recommended to use SSD disks for TiKV and PD, or there might be performance issues.”}

| username: 啦啦啦啦啦 | Original post link

The fio disk performance test failed. You can skip the check when installing the test cluster, but for production, it’s better to use a better machine.

| username: TiDBer_gypkMA1c | Original post link

It’s in production, so it’s not easy to skip. It’s deployed on a virtual cloud platform, so there shouldn’t be any performance issues.

| username: 啦啦啦啦啦 | Original post link

The difference in IOPS is quite significant.

| username: TiDBer_gypkMA1c | Original post link

Yeah, I’m also puzzled. Why is there such a big difference? Is there something wrong? :joy:

| username: 啦啦啦啦啦 | Original post link

Let the company’s infrastructure department check if there is an IOPS limit or test if the hardware performance is just that poor.

| username: TiDBer_gypkMA1c | Original post link

I asked the virtual platform person to check, and they said there is no IOPS limit.

| username: TiDBer_gypkMA1c | Original post link

I used fio for testing, and the IOPS are sufficient.
Disk stats (read/write):
sdb: ios=339118/144466, merge=0/39, ticks=1142752/51090, in_queue=1193819, util=99.97%

| username: tidb狂热爱好者 | Original post link

You can force the deployment. You can also deploy on a separate disk by purchasing a local hard drive for each machine.

| username: buddyyuan | Original post link

By default, disk performance is not checked. Did you add the --enable-disk option?

| username: 近墨者zyl | Original post link

Please provide the command for installing TiUP.

| username: TiDBer_gypkMA1c | Original post link

An error occurred while initializing the system environment with ansible-playbook bootstrap.yml.

| username: TiDBer_gypkMA1c | Original post link

I referred to 使用 TiDB Ansible 部署 TiDB 集群 | PingCAP 归档文档站
document to deploy V3.0
and encountered an error when initializing the system environment.

| username: nexustar | Original post link

Use a newer version and deploy directly with tiup.

| username: TiDBer_gypkMA1c | Original post link

Which version is good to use now, and is it compatible with the lower version? Because I still need to use a lower version, that’s why I want to install an old version. There are only three hosts.

| username: OnTheRoad | Original post link

Just use tiup to install the new version. It seems that version 5.4 is more commonly used in production.

| username: neilshen | Original post link

How about changing the virtual device node from “SCSI Controller” to “NVMe Controller” and then testing fio again?

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.