1,如何区别FAT12 FAT16和FAT32区分FAT12,FAT16,FAT32的主要依据是该分区上cluster的个数(注意:第一个cluster是以cluster2开始计数的)。FAT32的RootDirSectors大小始终为0TotSec=BPB_TotSec32DataSec = To...
分类:
其他好文 时间:
2014-11-01 23:05:43
阅读次数:
329
cluster的注册表和单机的注册表是不一样的,cluster注册表在cluster的每个node上都能看到,数据是同步的,...
分类:
其他好文 时间:
2014-10-30 22:41:35
阅读次数:
223
Oracle 11G R2 RAC增加了scan ip功能,在11.2之前,client链接数据库的时候要用vip,假如你的cluster有4个节点,那么客户端的tnsnames.ora中就对应有四个主机vip的一个连接串,如果cluster增加了一个节点,那么对于每个连接数据库的客户端都需要修改这...
分类:
数据库 时间:
2014-10-30 22:29:05
阅读次数:
219
1.安装heartbeat下载需要的源:wgetftp://mirror.switch.ch/pool/1/mirror/scientificlinux/6rolling/x86_64/os/Packages/epel-release-6-5.noarch.rpm2.安装heartbeat:yum-yinstallheartbeat*3.配置heartbeat3.1.拷贝模板配置文件:cp/usr/share/doc/heartbeat-3.0.4/ha.cf/e..
分类:
其他好文 时间:
2014-10-30 19:24:48
阅读次数:
177
【题目】
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ha...
分类:
编程语言 时间:
2014-10-30 17:02:57
阅读次数:
249
上次已经做过了WildFly+mod_cluster配置集群+负载均衡的说明,并且我们可以部署应用完成负载均衡的访问,但最近的一个问题又出现了,就是我们常用的ROOT应用(项目的根应用),因为很多时候我们会将门户网站之类的配置到根路径以便访问。但是这样的话,我们通过访问mod_cluster_manager并没有看到/出现在负载均衡的服务器Context中,所以无法对根路径的项目进行负载均衡访问。...
分类:
其他好文 时间:
2014-10-30 15:22:52
阅读次数:
202
Kubernetes是Google开源的容器集群管理系统。它构建于docker技术之上,为容器化的应用提供资源调度、部署运行、服务发现、扩容缩容等整一套功能,本质上可看作是基于容器技术的mini-PaaS平台。本文旨在梳理Kubernetes的架构、概念及基本工作流,并且通过运行一个简单的示例应用来介绍如何使用Kubernetes。...
分类:
Web程序 时间:
2014-10-30 01:55:32
阅读次数:
284
本文接上文介绍atlas的安装配置,以及借助keepalive软件实现altas的ha,避免由于atlas故障,导致数据库服务中断的情况出现:一:环境介绍Atlas主:192.168.1.12/24Atlas从:192.168.1.81/24Atlasvip:192.168.1.230/24Atlaswrite:master:192.168.1.225/24Slave1:192.168.1.226..
分类:
数据库 时间:
2014-10-29 19:36:01
阅读次数:
853
本篇文档主要解决2个问题:1. centos5通过yum安装的master版本肯定低于centos6安装的minion,所以必须升级salt-master2. zeromq版本太低会报这个错2014-10-29 14:36:04,597 [salt.master ][WARNING ] You ha...
分类:
其他好文 时间:
2014-10-29 18:33:13
阅读次数:
197
前提:使用阿里巴巴的JSON包String json = ""; //JSON字符串Map map = JSON.parseObject(json, Map.class);//遍历 Map 使用迭代器Iterator it = map.keySet().iterator();while(it.ha....
分类:
Web程序 时间:
2014-10-29 10:47:19
阅读次数:
130