MySQL Replication, 主从和双主配置MySQL的Replication是一种多个MySQL的数据库做主从同步的方案,特点是异步,广泛用在各种对MySQL有更高性能,更高可靠性要求的场合。与之对应的另一个技术是同步的MySQL Cluster,但因为比较复杂,使用者较少。下图是MySQ...
分类:
数据库 时间:
2014-10-23 12:11:20
阅读次数:
226
用给自己记录用defmonitor_work_1(content):dict_1={‘service‘:‘rdc_monitor‘,‘checkpoint‘:‘rdc_monitor_log‘,‘title‘:content,‘content‘:content,‘cluster‘:‘public‘,‘grade‘:‘2‘}params=urllib.urlencode(dict_1)urllib.urlopen(‘http://alert.sae.sina.com.cn/new/‘,params)
分类:
Web程序 时间:
2014-10-21 19:49:41
阅读次数:
168
It is very easy to install a Spark cluster (Standalone mode). In my example, I used three machines. All machines run a OS of ubuntu 12.04 32bit. One m...
分类:
其他好文 时间:
2014-10-21 17:20:33
阅读次数:
192
This paper proposed a new cluster idea. The idea is that the cluster center is characterrized by a higher density than their neighbors and by a relati...
分类:
其他好文 时间:
2014-10-19 11:25:21
阅读次数:
172
公司测试环境,使用两台服务器部署了mysql cluster。因为公司机房经常会断电,导致每次服务器重启后,都要手动重启一遍各种服务器,否则无法进行测试,非常麻烦。所以结合之前在网上看到了监控脚本,整理...
分类:
数据库 时间:
2014-10-16 16:47:03
阅读次数:
477
什么是Redis集群 集群是独立服务器关于分布式与容错实现的一个子集。在集群之中没有中心节点与代理节点,设计的主要目的之一就是线性可伸缩的扩展(即随意增删节点)。集群为了保证数据的一致性而牺牲容错性,所以当网络故障和节点发生故障时这个系统会尽力去保证数据的一致性和有效性。(这里我们认为节点故障是网....
分类:
其他好文 时间:
2014-10-16 00:25:51
阅读次数:
300
Redis集群环境:och163/och164/och165在执行如下脚本时报错:./src/redis-trib.rb create 10.1.253.163:6379 10.1.253.164:6379 10.1.253.165:6379/usr/lib/ruby/gems/1.8/gems/....
分类:
其他好文 时间:
2014-10-15 14:56:10
阅读次数:
277
集群搭建步骤1、创建多个节点;2、为每个节点指派槽,并将多个节点连接起来,组成一个集群;3、当集群数据库的16384个槽都有节点在处理时,集群进入上线状态;要求:搭建一个包含6个节点的Redis集群,其中三个主节点,三个从节点,每个主节点都有一个从节点注:在极端情况下,如果将16384个槽都指派给一...
分类:
其他好文 时间:
2014-10-15 11:53:00
阅读次数:
325
在单机Redis中介绍过Redis的复制特性以及Redis Sentinel和twemproxy,其中:复制:可以创建指定服务器的复制品,这些复制品可以用户扩展系统处理读请求的能力;Redis Sentinel:可以在复制特性的基础上,通过监视主从服务器并在主服务器故障时执行自动故障转移来保证系统的...
分类:
其他好文 时间:
2014-10-14 15:21:18
阅读次数:
235
FAT:Filesytemerror(/dev/sda1)fat_get_clusterinvalidclusterchain(i_pos8450498)Filesystemhasbeensetread-onlyfat_free_clusterdeletingFATentrybeyondEOF
分类:
其他好文 时间:
2014-10-13 21:12:17
阅读次数:
475