摘要: 1、设置开机自启动,在/etc/rc.local中增加如下配置 su - gbase -c 'gcluster_services all start' su - gbase -c 'gcware_services all start' 2、如上述配置开机自启动未生效,可按如下方法排查 a):确认 / 阅读全文
posted @ 2025-08-11 10:02 CaoYuanPengPeng 阅读(22) 评论(0) 推荐(0)
摘要: 1、gn层查看engine status gncli -uroot - -e "show engine express status \G" >> engine_status.log 2、收集集群层的show full processlist和节点层的show full processlist。 3 阅读全文
posted @ 2025-08-04 09:15 CaoYuanPengPeng 阅读(16) 评论(0) 推荐(0)
摘要: parted /dev/sdb #目标盘符 mklabel gpt mkpart primary 0% 100% quit mkfs.xfs /dev/sdb1 #格式化磁盘为xfs mkdir /data #创建挂载目录 blkid #获取设备的uuid,使用UUID方式挂载磁盘可以避免磁盘漂移 阅读全文
posted @ 2025-07-30 15:32 CaoYuanPengPeng 阅读(23) 评论(0) 推荐(0)
摘要: 在/etc/inputrc中增加如下配置再次尝试安装 setenable-bracketed-paste off 阅读全文
posted @ 2025-07-30 15:14 CaoYuanPengPeng 阅读(10) 评论(0) 推荐(0)
摘要: red hat或centos采用非交互式的形式修改指定用户的密码 echo "123456" | passwd --stdin root suse类操作系统非交互式修改密码 echo "username:password" | chpasswd 阅读全文
posted @ 2025-07-30 15:00 CaoYuanPengPeng 阅读(28) 评论(0) 推荐(0)
摘要: 开启审计日志: SET GLOBAL audit_log =1; -- 开启日志功能,默认0; SET GLOBAL log_output = 'table'; -- 设置审计信息存储位置,默认file.为了方便查询,建议存储为表table. SET long_query_time = 1; -- 阅读全文
posted @ 2025-07-30 14:57 CaoYuanPengPeng 阅读(23) 评论(0) 推荐(0)
摘要: 只在部分节点执行: cexec data: 5-10 'date' 将文件推送到所有节点上: cpush data: 文件名 /home/gbase 阅读全文
posted @ 2025-07-30 14:56 CaoYuanPengPeng 阅读(29) 评论(0) 推荐(0)
摘要: sed -i "s/[gbasedump]/group_concat_max_len=10240\n[gbasedump]/g" /data/10.20.224.*/gnode/config/gbase_8a_gbase.cnf 阅读全文
posted @ 2025-07-30 14:55 CaoYuanPengPeng 阅读(10) 评论(0) 推荐(0)
摘要: ####################################测试磁盘性能 dd oflag=direct if=/dev/zero of=/data/1.dat bs=16k count=1966080 2> smal_wri.log dd iflag=direct if=/data/1 阅读全文
posted @ 2025-07-30 14:54 CaoYuanPengPeng 阅读(6) 评论(0) 推荐(0)
摘要: groupadd gbase;useradd -g gbase -m -d/home/gbase gbase 阅读全文
posted @ 2025-07-30 14:52 CaoYuanPengPeng 阅读(5) 评论(0) 推荐(0)