上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: 1.安装elasticsearch useradd elasticsearch passwd elasticsearch tar zxf elasticsearch-7.12.1-linux-x86_64.tar.gz -C /home/elasticsearch/ chown -R elastic 阅读全文
posted @ 2021-05-19 18:03 wanghongwei-dev 阅读(323) 评论(0) 推荐(0)
摘要: #! /bin/sh used=`free -m | awk 'NR==2' | awk '{print $3}'` free=`free -m | awk 'NR==2' | awk '{print $4}'` echo " " >> /var/log/memory.log date >> /va 阅读全文
posted @ 2021-05-12 21:51 wanghongwei-dev 阅读(242) 评论(0) 推荐(0)
摘要: 集群安装 1、准备软件源,选择一个安装版本(所有节点安装)备注:Ceph-CSI需要N版及以上版本,版本请参照阿里云开源镜像站https://mirrors.aliyun.com/ceph/ cat >/etc/yum.repos.d/ceph.repo<<EOF [ceph] name=ceph 阅读全文
posted @ 2021-04-30 21:22 wanghongwei-dev 阅读(252) 评论(0) 推荐(0)
摘要: LVS持久连接的三种模型: 1、PCC 将某个客户的所用访问请求在超时时间内都定向到同一台server上 基于客户端的持久连接 2、PPC 将某个客户的某个服务访问请求在超时时间内都定向到同一台server上 基于会话的端口持久连接 3、Netfilter Mark 基于防火墙标志的持久连接(将多个 阅读全文
posted @ 2021-04-29 16:54 wanghongwei-dev 阅读(116) 评论(0) 推荐(0)
摘要: 一:轮询调度(Round-Robin Scheduling) 轮询调度(Round Robin Scheduling)算法就是以轮询的方式依次将请求调度不同的服务器,即每次调度执行i = (i + 1) mod n,并选出第i台服务器。算法的优点是其简洁性,它无需记录当前所有连接的状态,所以它是一种 阅读全文
posted @ 2021-04-29 16:39 wanghongwei-dev 阅读(256) 评论(0) 推荐(0)
摘要: LVS Server # 外网IP:10.10.10.1 内网IP:172.25.25.3 vim /etc/sysctl.conf net.ipv4.ip_forward = 1 sysctl -p iptables -t nat -I POSTROUTING -s 172.25.25.0/24 阅读全文
posted @ 2021-04-28 19:26 wanghongwei-dev 阅读(64) 评论(0) 推荐(0)
摘要: LVS Server # VIP(虚拟IP):172.25.25.200 DIP(转发者IP/内网IP):172.25.25.3 [root@localhost ~]# cd /etc/sysconfig/network-scripts [root@localhost network-scripts 阅读全文
posted @ 2021-04-28 19:01 wanghongwei-dev 阅读(90) 评论(0) 推荐(0)
摘要: Keepalived配置文件 ! Configuration File for keepalived global_defs { notification_email { wanghongwei-dev@example.com } notification_email_from Alexandre. 阅读全文
posted @ 2021-04-27 17:39 wanghongwei-dev 阅读(51) 评论(0) 推荐(0)
摘要: Keepalived 配置文件说明 ! Configuration File for keepalived #全局定义模块 global_defs { notification_email { #报警邮件 root@localhost } notification_email_from Alexan 阅读全文
posted @ 2021-04-27 17:37 wanghongwei-dev 阅读(96) 评论(0) 推荐(0)
摘要: HAProxy配置文件 global log 127.0.0.1 local2 info chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 20480 nbproc 8 user haproxy group haproxy da 阅读全文
posted @ 2021-04-27 17:11 wanghongwei-dev 阅读(56) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页