Loading

摘要: 阿里官方给出的性能指标 顺序读 测试命令 fio -directory=/var/lib/data -direct=1 -iodepth=1 -thread -ioengine=libaio -randrepeat=0 -bs=4k -size=4G -group_reporting -rw=rea 阅读全文
posted @ 2021-11-18 16:19 亚里士多智 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 测试方法:根据阿里云NAS官方文档进行测试 测试对象:性能型NAS,总容量1PB,已使用27.49GB(计算吞吐量时按30GB计算) 随机读IOPS测试 测试命令 fio -numjobs=1 -iodepth=128 -direct=1 -ioengine=libaio -sync=1 -rw=r 阅读全文
posted @ 2021-11-18 16:18 亚里士多智 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 官方部署文档地址:https://www.percona.com/doc/kubernetes-operator-for-pxc/kubernetes.html 一、部署方式 示例在k8s集群(至少3个节点)中部署Percona XtraDB Cluster集群 clone项目 git clone 阅读全文
posted @ 2021-11-18 16:15 亚里士多智 阅读(388) 评论(0) 推荐(0) 编辑
摘要: GitHub Action 是 GitHub 于 2018 年 10 月推出的一个 CI\CD 服务。 官方文档:https://docs.github.com/cn/actions CI\CD 持续集成(Continuous Integration) 持续交付(Continuous Deliver 阅读全文
posted @ 2021-07-19 17:30 亚里士多智 阅读(136) 评论(0) 推荐(0) 编辑
摘要: JumpServer 是符合 4A 的专业运维安全审计系统。 前提条件 已部署docker Jumpserver 对外需要开放 80 443 和 2222 端口 服务器、数据库、redis 等依赖组件请勿使用弱口令密码 MySQL准备 docker run -d --restart=always - 阅读全文
posted @ 2021-07-12 09:50 亚里士多智 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 前提条件 已部署docker 已部署grafana 需要开放 3000 9100 和 9090 端口 启动node-exporter docker run --name node-exporter -d \ --restart=always \ -p 9100:9100 \ -v "/proc:/h 阅读全文
posted @ 2021-07-12 09:47 亚里士多智 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 编写systemd文件 $ sudo vi /etc/systemd/system/iptables-import.service # /etc/systemd/system/iptables-import.service [Unit] Description=Iptables rules impo 阅读全文
posted @ 2021-07-12 09:45 亚里士多智 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 本文档对于docker环境下并不适用,docker环境的iptables持久化请参考https://www.cnblogs.com/wiseo/p/15000745.html 添加iptables规则后使用以下命令进行规则持久化 sudo iptables-save > /home/<用户名>/ip 阅读全文
posted @ 2021-07-09 13:40 亚里士多智 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 编译环境 执行编译操作环境如下 #操作系统 CentOS Linux release 7.4.1708 (Core) #docker版本 Version: 19.03.5 编译过程 Dockerfile FROM centos:7 WORKDIR /usr/local/gm-openresty # 阅读全文
posted @ 2021-07-02 17:20 亚里士多智 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 问题现象 docker容器起来以后,查看9100端口监听情况,如下图: $ ss -lntp State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 *:22 *:* users:(("sshd",pid=1151, 阅读全文
posted @ 2021-06-30 17:29 亚里士多智 阅读(869) 评论(0) 推荐(0) 编辑