2023年11月8日

OpenStack基础——KVM迁移

摘要: # 迁移命令nova live-migration --block-migrate $虚机uuid $目的宿主机名 # 迁移状态查看nova show $虚机uuid | grep hypervisor_hostname # 迁移失败最新时间会有error信息nova instance-action 阅读全文

posted @ 2023-11-08 09:18 gkhost 阅读(228) 评论(0) 推荐(0)

2023年11月7日

Linux基础——3节点keepalived配置多instance部署

摘要: 一、节点信息: 节点 主机IP 备注 keepalived-1 192.168.100.1 MASTER节点 priority 200 auth_pass Keepalived123 keepalived-2 192.168.100.2 BACKUP节点 priority 150 auth_pass 阅读全文

posted @ 2023-11-07 14:35 gkhost 阅读(732) 评论(0) 推荐(0)

2023年11月6日

Linux基础-xfs设备修复

摘要: xfs文件系统,使用命令 xfs_repair -L /dev/md0修复, 一般情况修复后均可挂载, 但是如果磁盘有问题,或者阵列出问题时此种修复可能会失败,挂载时依然要求格盘,只能进行格盘了。 参考:https://blog.csdn.net/weixin_38642722/article/de 阅读全文

posted @ 2023-11-06 17:32 gkhost 阅读(1043) 评论(0) 推荐(0)

Linux基础-查看dm的映射关系

摘要: 一、查看当前dm映射关系 sudo lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}' 二、查看主机所有lvs dmsetup info 三、对比dm设备和lsblk(MAJ:MIN 阅读全文

posted @ 2023-11-06 17:30 gkhost 阅读(649) 评论(0) 推荐(0)

Linux基础-内存碎片化问题sys指标升高

摘要: 一、sys指标异常升高 实例内部署的业务偶然出现响应时间过长或者系统调用时间过长,系统的sys指标也会相应的增高,伙伴系统会缺少高阶内存(order大于3的内存),其中从第4列开始,每一列对应伙伴系统的不同order空闲内存。 cat /proc/buddyinfo 二、可能原因 Linux系统在长 阅读全文

posted @ 2023-11-06 17:24 gkhost 阅读(131) 评论(0) 推荐(0)

2023年10月17日

Linux基础——tmpfs挂载到root目录

摘要: 1、(卸载/tmp目录前,请备份/tmp目录下重要数据)查看/tmp目录的挂载情况 df -h 卸载/tmp目录 umount -lf /tmp 2、关闭tmp挂载及tmpfiles相关服务 关闭自动挂载/tmp目录服务 systemctl disable tmp.mount systemctl s 阅读全文

posted @ 2023-10-17 16:17 gkhost 阅读(1014) 评论(0) 推荐(0)

Linux基础——IPV6内核参数配置

摘要: 一、检查内核配置是否启动ipv6 net.ipv6.conf.bond0.forwarding = 1 net.ipv6.conf.bond0.disable_ipv6 = 0 net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.default.forwar 阅读全文

posted @ 2023-10-17 16:11 gkhost 阅读(1185) 评论(0) 推荐(0)

linux基础——修复系统bonding模块

摘要: 卸载模块 [root@localhost network-scripts]# modprobe -r bonding 查看模块 [root@localhost network-scripts]# lsmod | grep bonding 绑定模块 [root@localhost network-sc 阅读全文

posted @ 2023-10-17 16:08 gkhost 阅读(365) 评论(0) 推荐(0)

2023年3月7日

Mysql三种部署方式

摘要: 阅读全文

posted @ 2023-03-07 16:21 gkhost 阅读(80) 评论(0) 推荐(0)

2022年11月11日

Linux基础——内核排查过程

摘要: 根因: (内核BUG)BUG:unable to handle kernel NULL pointer dereference at 0000000000000019,代码调用函数assign_irq_vector报错,通过升级内核版本进行修复。 解决办法: 内核代码bug问题,参考红帽官网,通过内 阅读全文

posted @ 2022-11-11 23:36 gkhost 阅读(612) 评论(0) 推荐(0)

导航