当前集群版本是4.0.11,离线升级到5.0.1
已下载离线安装tar包
按照官网的方法,我应该是使用离线升级的方式。
当我检查集群健康状况的时候tiup cluster check tidb-okaydev --cluster
很多failed的状态,其中端口占用应该是正常的吧,集群是启动状态,对应端口肯定是up的。
Node Check Result Message
10.60.0.75 os-version Pass OS is CentOS Linux 7 (Core) 7.9.2009
10.60.0.75 cpu-cores Pass number of CPU cores / threads: 16
10.60.0.75 swap Fail swap is enabled, please disable it for best performance
10.60.0.75 memory Pass memory size is 31442MB
10.60.0.75 epoll-exclusive Fail epoll exclusive is not supported
10.60.0.75 disk Warn mount point / does not have ‘noatime’ option set
10.60.0.75 disk Warn mount point / does not have ‘noatime’ option set
10.60.0.75 listening-port Fail port 2379 is already in use
10.60.0.75 listening-port Fail port 2380 is already in use
10.60.0.75 listening-port Fail port 20160 is already in use
10.60.0.75 listening-port Fail port 20180 is already in use
10.60.0.75 listening-port Fail port 4000 is already in use
10.60.0.75 listening-port Fail port 10080 is already in use
10.60.0.75 limits Fail soft limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.75 limits Fail hard limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.75 limits Fail soft limit of ‘stack’ for user ‘tidb’ is not set or too low
10.60.0.75 sysctl Fail net.core.somaxconn = 128, should be greater than 32768
10.60.0.75 sysctl Fail net.ipv4.tcp_syncookies = 1, should be 0
10.60.0.75 sysctl Fail net.ipv4.tcp_tw_recycle = 1, should be 0
10.60.0.75 selinux Pass SELinux is disabled
10.60.0.75 thp Fail THP is enabled, please disable it for best performance
10.60.0.75 command Fail numactl not usable, bash: numactl: command not found
10.60.0.76 os-version Pass OS is CentOS Linux 7 (Core) 7.9.2009
10.60.0.76 cpu-cores Pass number of CPU cores / threads: 16
10.60.0.76 swap Fail swap is enabled, please disable it for best performance
10.60.0.76 memory Pass memory size is 31442MB
10.60.0.76 epoll-exclusive Fail epoll exclusive is not supported
10.60.0.76 disk Warn mount point / does not have ‘noatime’ option set
10.60.0.76 disk Warn mount point / does not have ‘noatime’ option set
10.60.0.76 listening-port Fail port 2379 is already in use
10.60.0.76 listening-port Fail port 2380 is already in use
10.60.0.76 listening-port Fail port 20160 is already in use
10.60.0.76 listening-port Fail port 20180 is already in use
10.60.0.76 listening-port Fail port 4000 is already in use
10.60.0.76 listening-port Fail port 10080 is already in use
10.60.0.76 limits Fail soft limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.76 limits Fail hard limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.76 limits Fail soft limit of ‘stack’ for user ‘tidb’ is not set or too low
10.60.0.76 sysctl Fail net.core.somaxconn = 128, should be greater than 32768
10.60.0.76 sysctl Fail net.ipv4.tcp_syncookies = 1, should be 0
10.60.0.76 sysctl Fail net.ipv4.tcp_tw_recycle = 1, should be 0
10.60.0.76 selinux Pass SELinux is disabled
10.60.0.76 thp Pass THP is disabled
10.60.0.76 command Fail numactl not usable, bash: numactl: command not found
10.60.0.78 os-version Pass OS is CentOS Linux 7 (Core) 7.9.2009
10.60.0.78 cpu-cores Pass number of CPU cores / threads: 16
10.60.0.78 swap Fail swap is enabled, please disable it for best performance
10.60.0.78 memory Pass memory size is 31442MB
10.60.0.78 epoll-exclusive Fail epoll exclusive is not supported
10.60.0.78 disk Warn mount point / does not have ‘noatime’ option set
10.60.0.78 disk Warn mount point / does not have ‘noatime’ option set
10.60.0.78 listening-port Fail port 2379 is already in use
10.60.0.78 listening-port Fail port 2380 is already in use
10.60.0.78 listening-port Fail port 20160 is already in use
10.60.0.78 listening-port Fail port 20180 is already in use
10.60.0.78 listening-port Fail port 4000 is already in use
10.60.0.78 listening-port Fail port 10080 is already in use
10.60.0.78 limits Fail soft limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.78 limits Fail hard limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.78 limits Fail soft limit of ‘stack’ for user ‘tidb’ is not set or too low
10.60.0.78 sysctl Fail net.core.somaxconn = 128, should be greater than 32768
10.60.0.78 sysctl Fail net.ipv4.tcp_syncookies = 1, should be 0
10.60.0.78 sysctl Fail net.ipv4.tcp_tw_recycle = 1, should be 0
10.60.0.78 selinux Pass SELinux is disabled
10.60.0.78 thp Pass THP is disabled
10.60.0.78 command Fail numactl not usable, bash: numactl: command not found
10.60.0.188 os-version Pass OS is CentOS Linux 7 (Core) 7.9.2009
10.60.0.188 cpu-cores Pass number of CPU cores / threads: 16
10.60.0.188 swap Fail swap is enabled, please disable it for best performance
10.60.0.188 memory Pass memory size is 32321MB
10.60.0.188 epoll-exclusive Fail epoll exclusive is not supported
10.60.0.188 disk Fail mount point /xdfapp does not have ‘nodelalloc’ option set
10.60.0.188 disk Warn mount point /xdfapp does not have ‘noatime’ option set
10.60.0.188 listening-port Fail port 3930 is already in use
10.60.0.188 listening-port Fail port 20170 is already in use
10.60.0.188 listening-port Fail port 20292 is already in use
10.60.0.188 listening-port Fail port 8234 is already in use
10.60.0.188 listening-port Fail port 8001 is already in use
10.60.0.188 listening-port Fail port 8223 is already in use
10.60.0.188 limits Fail soft limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.188 limits Fail hard limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.188 limits Fail soft limit of ‘stack’ for user ‘tidb’ is not set or too low
10.60.0.188 sysctl Fail net.core.somaxconn = 128, should be greater than 32768
10.60.0.188 sysctl Fail net.ipv4.tcp_tw_recycle = 1, should be 0
10.60.0.188 selinux Pass SELinux is disabled
10.60.0.188 thp Fail THP is enabled, please disable it for best performance
10.60.0.188 command Fail numactl not usable, bash: numactl: command not found
10.60.0.74 os-version Pass OS is CentOS Linux 7 (Core) 7.9.2009
10.60.0.74 cpu-cores Pass number of CPU cores / threads: 16
10.60.0.74 swap Fail swap is enabled, please disable it for best performance
10.60.0.74 memory Pass memory size is 32000MB
10.60.0.74 listening-port Fail port 9093 is already in use
10.60.0.74 listening-port Fail port 9094 is already in use
10.60.0.74 listening-port Fail port 8090 is already in use
10.60.0.74 listening-port Fail port 3000 is already in use
10.60.0.74 limits Fail soft limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.74 limits Fail hard limit of ‘nofile’ for user ‘tidb’ is not set or too low
10.60.0.74 limits Fail soft limit of ‘stack’ for user ‘tidb’ is not set or too low
10.60.0.74 sysctl Fail net.core.somaxconn = 128, should be greater than 32768
10.60.0.74 sysctl Fail net.ipv4.tcp_syncookies = 1, should be 0
10.60.0.74 sysctl Fail net.ipv4.tcp_tw_recycle = 1, should be 0
10.60.0.74 selinux Pass SELinux is disabled
10.60.0.74 thp Fail THP is enabled, please disable it for best performance
10.60.0.74 command Fail numactl not usable, bash: numactl: command not found
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。