- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 最强lvs总结
LVS的全称Linux vitual system, linux vitual server是由目前阿里巴巴的著名工程师章文嵩博士开发的一款开源软件。LVS工作在一台server上提供Directory(负载均衡器)的功能,本身并不提供服务,只是把特定的请求转发给对应的realserver(真正提供服务的主机),从而实现集群环境中的负载均衡。LVS的核心组件ipvs工作在kernel中,是
2017-05-26 18:09:42 5929 1
原创 lvs主备同步脚本
#!/bin/bash# 本脚本用于在188上互相同步主备LVS的keepalived.conf配置文件# 维护人: 方冲 2015/09/01# 更新主备网卡识别问题# 更新网卡识别问题 添加匹配参数"/"# 2015/10/21 解决bug:在过滤优先级时出现/r字符 使用tr解决function push_lvs(){ local mode=$1
2017-05-26 18:07:59 616
原创 文件系统优化
## /etc/fstab# Created by anaconda on Thu Dec 1 18:05:43 2016## Accessible filesystems, by reference, are maintained under '/dev/disk'# See man pages fstab(5), findfs(8), mount(8) and/or bl
2017-05-26 17:59:16 410
原创 kipmi0进程导致CPU使用率过高
touch /var/lock/subsys/localecho 10 >/sys/module/ipmi_si/parameters/kipmid_max_busy_us
2017-05-26 17:58:11 2675
原创 lvs 网卡多队列
#!/bin/bash# wrote by Owen wang# 2015/07/27# 平均绑定CPU到网卡多个队列上,避免单核CPU跑满的问题# IPMI CPU高[ -f /sys/module/ipmi_si/parameters/kipmid_max_busy_us ] && echo 10 >/sys/module/ipmi_si/parameters/ki
2017-05-26 17:56:51 574
原创 linux 系统硬件优化
/etc/do_some_checks.sh#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full
2017-05-26 17:56:03 348
原创 lua防盗链记录
nginx.confworker_processes 1;error_log logs/error.log debug;events { worker_connections 102400;}http { include mime.types; default_type application/octet-stream;
2017-05-26 16:47:26 1017
转载 http状态码
200表示正常0k,这个是地球人都知道的了。301 Moved Permanently 表示客户请求的文档在其他地方,新的URL在Location头中给出,浏览器应该自动地访问新的URL。304 Not Modified:客户端有缓冲的文件并发出了一个条件性的请求(一般是提供If-Modified-Since头表示客户只想比指定日期更新的文档)。服务器告诉客户,原来缓冲的文档还可以
2017-05-10 12:02:54 263
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人