测试环境 系统 IP 软件 Centos8 192.168.248.80 lvs+keepalived Centos8 192.168.248.81 lvs+keepalived Centos8 192.168.248.100 Web server Centos8 192.168.248.101 W ...
分类:
其他好文 时间:
2021-06-02 17:50:07
阅读次数:
0
exchange_declare($exchange, $type, $passive = false, $durable = false, $auto_delete = true, $internal = false, $nowait = false, $arguments = array(), ...
分类:
其他好文 时间:
2021-05-24 15:51:32
阅读次数:
0
两大部分,一环境,二LVS规则 一、环境 1、两台服务器上安装httpd 服务 yum install httpd -y 2、开启服务,并设置为开机自启 systemctl start httpd systemctl enable httpd 3、新建页面 1)、在RS1 服务器上新建页面RS1 e ...
分类:
其他好文 时间:
2021-05-24 08:18:05
阅读次数:
0
读写分离负载均衡/集群消息队列Redis分布式缓存:本地缓存 分布式缓存分库分表 解决高并发的方法1.水平扩展:多来几台服务器2.垂直扩展 :立杆见影,但是有上限3.分布式:就是一台服务器 的事儿分成多台服务器协作完成集群:一台服务器做的事请,现在由多台服务器共同承载,每台服务器都是独立完成的集群— ...
分类:
其他好文 时间:
2021-05-24 05:16:23
阅读次数:
0
本地搭建,我们可以使用LVS+KEEPALIVED方式轻松实现Kubernetes中的Api-server的高可用。但是,阿里的ECS不能使用KEEPALIVED。因为VPC不支持组播,没组播VRRP拿什么周期发通告报文(224.0.0.18)。所以我们被迫只能使用阿里的 slb了,阿里官方答复因为 ...
JAVA: public final int numWaterBottles(int numBottles, int numExchange) { int re = numBottles, empty = numBottles; while (empty >= numExchange) { int ...
分类:
其他好文 时间:
2021-05-24 03:39:54
阅读次数:
0
转自:https://www.imooc.com/wenda/detail/456168 转自:https://blog.csdn.net/qlj324513/article/details/81541282 Nginx的优点:1、优点工作在OSI第7层,可以针对http应用做一些分流的策略2、Ng ...
分类:
其他好文 时间:
2021-05-24 00:26:39
阅读次数:
0
lvs: lvs:linux Virtual Server L4:Layer 4,四层交换,四层路由 lvs管理工具: ipvsadm/ipvs(让用户定义规则) ipvsadm:用户空间的命令行工具,用于管理集群服务;(即规则的增删查改) 支持TCP,UDP,AH,EST,AH_EST,SCTP等 ...
分类:
其他好文 时间:
2021-05-24 00:14:10
阅读次数:
0
配置lvs-dr环境 master配置文件 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_conne ...
分类:
其他好文 时间:
2021-04-27 14:56:45
阅读次数:
0
1、设置FullRowSelect 为true 2、添加SelectedIndexChanged事件 3、添加代码 ...