percona XtraDB Cluster介绍及使用(二)
安装说明 Centos系统安装参考 http://www.percona.com/doc/percona-xtradb-cluster/5.6/howtos/cenots_howto.html
node #1 CentOS release 6.5 (Final) hostname: cz-cluster1 IP: 10.0.21.5 node #2 CentOS release 6.5 (Final)...
MongoDB使用及规范介绍
安装部署说明 1. 软件获取
不做源码编译, 采用二进制格式安装(解压即可用)。软件可从官方下载 http://www.mongodb.org/downloads
2. 安装条件
主机环境应该为RAID10级别,如果硬盘不够可降级为RAID1或RAID5级别(RAID0不安全)。 RAID卡型号选取带有Cache功能的卡,如DELL的H700或H710P。
资源限制: 对应启动文件的参数, ulimit -n 值需大于 最大连接数+mongodb数据文件数, 暂定ulimit -n 16384
3. 安装方式
可以采用Binary方式安装,比如2.4.10版本,升级高版本需做好相关测试;Binary解压后的目录即为MongoDB的basedir目录, 单独存放于不同于数据文件所在的分区(比如/opt/目录)。数据目录不必初始化,...
nat转发出网
通过 iptables/ip6tables 的 nat 转发可以实现内网主机访问公网目的, 转发的主机需要和内网主机互通,需要可以访问公网网络.
IPv4 设置
1.转发机上加一条nat转发
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth1 -j...
percona XtraDB Cluster介绍及使用(一)
http://www.percona.com/software/percona-xtradb-cluster #software http://www.percona.com/doc/percona-xtradb-cluster/5.6/ #refernce page http://dev.mysql.com/doc/relnotes/mysql/5.6/en/index.html #5.6 relaese notes https://launchpad.net/percona-xtradb-cluster #bug跟踪 http://galeracluster.com/documentation-webpages/index.html #galera cluster ref doc. http://galeracluster.com/documentation-webpages/limitations.html #与MySQL Server的不同
...Gearman使用及介绍
Gearman介绍 Gearman 为通用的应用程序框架提供了一种和其它机器或进程协同工作的机制, 允许并行的执行任务, 均衡负载处理, 也可以在多个编程语言中实现相互的函数调用。Gearman适用于很多应用, 从高可用站点到数据库replication事件的传输都可以适用到。在分布式处理交互中, Gearman是一个不错的选择。
官网: http://gearman.org/ 工程: https://launchpad.net/gearmand/+download 协议: http://gearman.org/protocol/
Gearman工作机制 见下图: 
Gearman通过三部分组件来实现与应用程序之间的交互,分别为Client, Worker和Job...
Mongodb cacti monitor plugins
Mongodb cacti monitor plugins: download from : https://github.com/arstercz/mongodb-cacti-plugins
require and features:
1. require mongo client command should be find by...
MySQL table is marked as crashed and last repair failed
1.Problem description. One table in my database was crashed, and automatic repair of the MySQL system failed. error message occured when I use desc table:
...文件句柄资源占用过多导致xtrabackup备份失效
详见: https://bugs.launchpad.net/percona-xtrabackup/+bug/1183322 系统句柄资占用过多(too many open file)引起的备份失效.
xtrabackup version 2.1.6 for Percona Server 5.1.70 unknown-linux-gnu (x86_64) (revision id: 702) xtrabackup: uses...