lxgi&

导航

2016年4月28日 #

lvs-keepalived故障记录

摘要: 上图中1与2、3不同,可能会导致端口不同,尽量配置1、2、3相同 阅读全文

posted @ 2016-04-28 17:57 lxgi& 阅读(398) 评论(0) 推荐(0) 编辑

2016年2月16日 #

pt_table_checksum对检查表的chunk大小的限制

摘要: 02-16T10:22:38 Skipping table xoxdb.tb_valuelog because on the master it would be checksummed in one chunk but on these replicas it has too many rows: 阅读全文

posted @ 2016-02-16 11:43 lxgi& 阅读(1083) 评论(1) 推荐(0) 编辑

2016年1月15日 #

MHA的在线切换后的一些总结(mha方案来自网络)

摘要: mha方案来自:http://www.cnblogs.com/xuanzhi201111/p/4231412.htmlMHA的在线切换192.168.2.131 [root bin]$ masterha_master_switch --conf=/etc/masterha/app1.cnf --ma... 阅读全文

posted @ 2016-01-15 14:52 lxgi& 阅读(1219) 评论(0) 推荐(0) 编辑

关于mha手动切换的一些记录(mha方案来自网络)

摘要: mha方案出自:http://www.cnblogs.com/xuanzhi201111/p/4231412.html当主服务器故障时,人工手动调用MHA来进行故障切换操作,具体命令如下:先停MHA Manager:192.168.2.131 [root ~]$ masterha_stop --c... 阅读全文

posted @ 2016-01-15 14:29 lxgi& 阅读(1072) 评论(0) 推荐(0) 编辑

2016年1月12日 #

mha报错

摘要: 用命令检查集群复制状态:masterha_check_repl --conf=/etc/masterha/app1.cnf报错如下:Tue Jan 12 09:25:51 2016 - [info] Checking replication health on 192.168.200.27..Tue... 阅读全文

posted @ 2016-01-12 15:10 lxgi& 阅读(803) 评论(0) 推荐(0) 编辑

2015年12月7日 #

mysql mHA manager 状态修改

摘要: 启动:nohup masterha_manager --conf=/etc/masterha/app1.cnf --remove_dead_master_conf --ignore_last_failover /var/log/masterha/app1/manager.log 2>&1 &检查状... 阅读全文

posted @ 2015-12-07 19:16 lxgi& 阅读(532) 评论(0) 推荐(0) 编辑

2015年11月18日 #

lvs DR模式下vip的端口无法telnet

摘要: 错误介绍:在lvs配置文件中新添加一个vip ,并添加一个virtual_server,添加两个realserver,配置文件都是复制,结果证明没问题,当时的效果是vip的端口telnet不了过程:发现realserver上相应端口的netstat显示为“192.168.200.27:60003”,... 阅读全文

posted @ 2015-11-18 18:45 lxgi& 阅读(3028) 评论(0) 推荐(0) 编辑

2015年10月30日 #

页面超慢,zabbix却没报警

摘要: 故障背景:网站页面打开速度非常慢排查过程:1.一开始用vmstat 看到procs下的r值稳定在5、6,由于这台服务器是12核24线程,并且cpu的wa很大,说明系统很轻松,肯定不会报警了,那为什么页面打开会这么慢呢?[root@app_sz nginx]# vmstat 2procs ------... 阅读全文

posted @ 2015-10-30 17:04 lxgi& 阅读(1677) 评论(0) 推荐(0) 编辑

2015年10月10日 #

ngixn编译安装时,pcre的处理

摘要: nginx编译时pcre会提示找不到libpcre.so.1./configure --hlep--without-pcre disable PCRE library usage 不使用pcre --with-pcre force PCRE libr... 阅读全文

posted @ 2015-10-10 16:50 lxgi& 阅读(3512) 评论(0) 推荐(0) 编辑

编译nginx时,编译参数注意点

摘要: --prefix=/usr/local/nginx-1.3.1 有利于统一放置nginx的所有文件,方便管理,强烈建议设置--with-http_stub_status_module 支持统计,也有利于监控系统用来监控nginx的性能--with-http_ssl_module 支持ssl加密... 阅读全文

posted @ 2015-10-10 16:11 lxgi& 阅读(368) 评论(0) 推荐(0) 编辑