<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" -->
<rss version="0.92">
<channel>
	<title>亿顺之家</title>
	<link>http://www.etop.biz/blog</link>
	<description>亿顺软件的博客网志，走近我们的产品、技术和文化</description>
	<lastBuildDate>Fri, 29 Aug 2008 07:59:11 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>根据IP反查绑定的域名</title>
		<description>通常都是通过域名找IP，下面的网站提供了根据IP反查绑定的域名的功能。

租虚拟主机的朋友可以用它来看看那些网站和自己是邻居。

http://www.myipneighbors.com/ </description>
		<link>http://www.etop.biz/blog/2008-08-29/113</link>
			</item>
	<item>
		<title>在金色碧蓝的海边享受热带沙滩的乐趣-公司的碧海金沙旅行游记</title>
		<description>前阵子大家都忙的挺辛苦，所以这次的海边活动也就充满了放松的气氛-沙滩游泳，吃海鲜，踏浪，捉螃蟹，当然，还有晚上的诈金花，哈哈！

第一天，到了奉贤的海边，这是个海边的小村镇，有很多星级宾馆和海鲜小吃。



我们住的宾馆，挺干净的



下午立即去了碧海金沙浴场享受沙滩的生活





那边的夕阳很美



大家都玩开心，直到傍晚才恋恋不舍得离开



 

 第二天上午，阳光明媚，一想去海边踏浪捉螃蟹，所有人的情绪都HIGH起来了。





 

真的有螃蟹啊！

 

兴致很高







 

越过泥泞的道路，螃蟹，我们来了！





哈哈，活捉！







黄泥螺



大海！





  </description>
		<link>http://www.etop.biz/blog/2008-08-24/107</link>
			</item>
	<item>
		<title>Heartbeat + DRBD + Linux 高可用集群指南 二</title>
		<description>DRBD 的安装和配置。
目前流行的Linux中只有Centos有预编译好的安装包和对应内核。
如果不想用Centos可以选择从源码安装。DRBD有两种安装模式：直接编译进内核，作为一个可加载的内核模块编译。 无论哪种方式都是有些痛苦的 – 解决各种依赖，准备内核源码树。我是根据官方文档http://www.drbd.org/users-guide/s-build-from-source.html 一步一安装的。依赖的软件或库make, gcc, the glibc development libraries, 和 flex。GCC必须和你编译内核使用的是同一版本。

本文使用的是Centos
1.    准备分区
在两台机器上划分等大的分区供DRBD使用。不要格式化也不要mount.我使用的是/dev/hda2
2.    安装
只要一行命令；
Yum install DRBD
3.    配置IP地址和主机名。
我的/etc/hosts 文件内容如下

127.0.0.1        localhost.localdomain        localhost
192.168.0.113        jack.etop.biz            jack
192.168.0.114        rose.etop.biz            rose


4.    配置
[teddy@jack]$ vim /etc/drbd.conf
drbd.conf内容如下：

global {
usage-count yes;
}
common {
syncer { rate 40M;}
protocol C;
}
resource r0 {
on jack {
device    /dev/drbd1;
disk      /dev/hda2;
address   192.168.0.114:7789;
meta-disk ...</description>
		<link>http://www.etop.biz/blog/2008-08-09/81</link>
			</item>
	<item>
		<title>安装progress10.1b</title>
		<description>一个诡异的需求, 拿来的iso都是大写文件, 需要弄成小写的

先 zip起来, 然后unzip的时候 -L就使用了小写解压, 幸好没有去写什么垃圾shell, 否则又浪费时间, 总算第一步过关, 看到自符安装界面了. </description>
		<link>http://www.etop.biz/blog/2008-08-08/79</link>
			</item>
	<item>
		<title>关于自定义自己的drupal theme</title>
		<description>http://drupal.org/project/zen

http://drupal.org/project/basic

各有各的好处, 但是绝对不要自己从头写起, 也不要试图修改garland...经验所得 </description>
		<link>http://www.etop.biz/blog/2008-08-07/78</link>
			</item>
	<item>
		<title>打印控件</title>
		<description>http://www.laputac.com/tech/

http://www.meadroid.com/scriptx/ </description>
		<link>http://www.etop.biz/blog/2008-07-31/77</link>
			</item>
	<item>
		<title>Grade Your Website</title>
		<description>Website Grader is a free seo tool that measures the marketing effectiveness of a website. It provides a score that incorporates things like website traffic, SEO, social popularity and other technical factors. It also provides some basic advice on how the website can be improved from a marketing perspective.

http://www.websitegrader.com/ </description>
		<link>http://www.etop.biz/blog/2008-07-12/76</link>
			</item>
	<item>
		<title>Heartbeat + DRBD + Linux 高可用集群指南 一</title>
		<description>本周花了不少时间研究HA集群，在忘记以前赶紧记录下来。 顺便鄙视一下redhatEL，不厚道, 搞了个yum但又不能用。

维持最长的系统正常运行时间对随需应变计算的成功来说越来越重要。不幸的是，很多现成即用（off-the-shelf）的高可用性（high availability，HA）解决方案 价格昂贵，而且需要专门的硬件。

本文介绍的是HA 服务的廉价替代方案－－Heartbeat + DRBD + Linux实现一个双节点的高可用集群。假设该HA集群上提供的服务为apache和mysql.  当主节点出现故障时，自动的通过备份节点继续提供服务。

高可用性的概念
高可用性 是在系统、组件或者应用程序发生故障时快速恢复基本服务的系统管理策略。其目的是最大程度地减少服务中断，而不是容错。用来解决关键商务操作的系统执行故障的最常见解决方案是，使用另一个系统来等待并接管出故障的系统的负载，使商务操作继续进行下去。

HA集群构架



HA可以由两台数据同步的linux节点结成， 两个节点通过冗余的私有的物理连接进行数据同步和节点状态监视。

软件组件

	Heartbeat

名为 High-Availability Linux 的开源项目的目标是，通过社区开发努力提供一个提升 Linux 可靠性（reliability）、 可用性（availability）和可服务性（serviceability）（RAS）的群集解决方案。Linux-HA 项目得到了广泛的应用，是很多有 趣的高可用性解决方案的重要组成部分。

heartbeat 是可以从 Linux-HA 项目 Web 站点公开获得的软件包之一。它提供了所有 HA 系统所需要的基本功能，比如 启动和停止资源、监测群集中系统的可用性、在群集中的节点间转移共享 IP 地址的所有者等。它通过串行线、以太网接口 或者同时使用二者来监测特定服务（或多个服务）的健康状况。当前版本支持两节点配置，使用专门的 heartbeat“pings”来检查 服务的状态和可用性。

	DRBD

DRBD 是由LINUX内核模块和相关脚本而构成，用以构建高可用性的集群。其实现方式是通过网络来镜像整个设备。您可以把它看作是一种网络RAID. DRBD 负责接收数据，把数据写到本地磁盘，然后发送给另一个主机。另一个主机再将数据存到自己的磁盘中。

	Linux   什么 ！ 不知道是什么东东？ 赶快去做几个俯卧撑吧。

硬件

两台普通x86架构的PC机，双网卡，交叉网线。 如果只是为了测试评估，可以使用虚拟机模拟。

待续。。。。。 </description>
		<link>http://www.etop.biz/blog/2008-07-07/73</link>
			</item>
	<item>
		<title>MYSQL High Availability 解决方案对比</title>
		<description>MYSQL High Availability 高可用解决方案对比. http://dev.mysql.com/doc/refman/5.1/en/ha-overview.html




Requirements


MySQL Replication


MySQL Replication + Heartbeat


MySQL Heartbeat + DRBD


MySQL Cluster




Availability


 


 


 


 




Automated IP failover


No


Yes


Yes


No




Automated database failover


No


No


Yes


Yes




Typical failover time


User/script-dependent


Varies


&#60; 30 seconds


&#60; 3 seconds




Automatic resynchronization of data


No


No


Yes


Yes




Geographic redundancy support


Yes


Yes


Yes, when combined with MySQL Replication


Yes, when combined with MySQL Replication




Scalability


 


 


 


 




Built-in load balancing


No


No


No


Yes




Supports Read-intensive applications


Yes


Yes


Yes, ...</description>
		<link>http://www.etop.biz/blog/2008-07-01/72</link>
			</item>
	<item>
		<title>Cluster introduction</title>
		<description>A cluster is two or more computers (called nodes or members) that work together to perform a task. There are four major types of clusters:


	Storage
	High availability
	Load balancing
	High performance


Storage clusters provide a consistent file system image across servers in a cluster, allowing the servers to simultaneously read and write to a ...</description>
		<link>http://www.etop.biz/blog/2008-06-28/71</link>
			</item>
</channel>
</rss>
