MySQL常用的权限操作

添加用户 SQL指令如下: CREATE USER '用户名'@'主机' IDENTIFIED BY '密码'; 例如,要创建在所有主机登录、密...

December 18, 2019 · 2 min

IPVS connection timeout issue

Issue When TCP session is idle for more than 15 mins (900 secs), IPVS connection times out and gets cleared from the connection table. There are two different timeouts — one for IPVS and another one for TCP. Default IPVS timeout value: ipvsadm -l --timeout Timeout (tcp tcpfin udp): 900 120 300 Default TCP timeout value: tcp_keepalive_time = 7200 (seconds) tcp_keepalive_intvl = 75 (seconds) tcp_keepalive_probes = 9 (number of probes) When IPVS timesout, it clears the connection from the table....

September 15, 2018 · 1 min

让LVS更持久

原文转载自 Lvs Persistence 综述 今天遇到了一个问题,客户端psql在连接Greenplum时,静置一段时间后(大约15分钟),随便敲一条select * from x...

September 15, 2018 · 6 min

如何删除repo不为none但tag为none的镜像

在docker中,一个镜像的所有标记(TAG)都被删除,而镜像仍然还在时,我们称之为dangling状态。这种镜像,在通过docker ima...

March 14, 2018 · 2 min

搭建Registry服务并突破端口封锁的那些坑

参照Docker的官方文档,搭建一套Docker Registry服务,对于很多人来讲是很容易的一件事情。为什么我要单独拿出来说,这个过程又遇...

March 2, 2018 · 5 min

Docker镜像托管的几种形式

相比用过Docker的人,一定知道Docker的镜像。Docker的镜像地址分三类: Docker官方维护的镜像,镜像地址格式是仓库:标签。典...

March 1, 2018 · 2 min