Archive for June, 2007

Red Hat® Global File System

篇:2
关键字:RedHat,Linux,GFS,Global File System.NFS
原文来自于资深市场经理Subbu Krishnamurthy发表于RedHat Magazine 的系列文章. 我做适用性摘选, 涉及到Red Hat® Global File System (GFS),Red Hat Cluster Suite (CS)等.
Red Hat Enterprise Linux® 4版本附加中为Linux企业应用而做的 Red Hat Cluster Suite (CS),Red Hat® Global File System (GFS),Distributed Lock Manager (DLM) 套件在Red Hat Enterprise Linux® 4在大部分人从网络下载到的四张CD中是找不到的, 如为学习之用大家也可从RedHat RHN中得到或使用CentOS .
GFS (is not Google FS(GFS)和CS 解决了一些关键应用中的高可用性与数据共享存储难题. 虽然商业解决方案如Oracle,HP等也有类似的HA解决方案,也有NFS的简洁操作Shared Storaged方式;但从花费及效率上而言都不及RedHat 的这一套整体解决套件( 毕竟你用的是它的OS嘛).

参考资料:  http://h18026.www1.hp.com/solutions/enterprise/highavailability/linux/serviceguard/index.html
http://h18022.www1.hp.com/solutions/enterprise/highavailability/linux/serviceguard/rhgfs/index.html

高性能网络传输调优

Operating System (Alphabetical) (Click for additional info)
RFC1191 Path MTU Discovery
RFC1323 Support
Default maximum socket buffer size
Default TCP socket buffer size
Default UDP socket buffer size
Applications (if any) which are user tunable
RFC2018 SACK Support

FreeBSD
Yes
Yes
256kB
32kB
40kB
None
Yes
 

Linux 2.4 and 2.6
Yes
Yes
64kB
32kB 
32kB(?)
None
Yes

Mac OS X
Yes
Yes
256kB
32kB
42kB (receive)
ftp (for a terminal shell)
Yes!
as of 10.4.6

Sun Solaris 10
Yes
Yes
1MB TCP, 256kB UDP
48kB
8kB
Unknown
Yes

Windows XP
Yes […]

love

月光明亮, 照得恋人凄凉;
再犯的错误怎可能换的另一个胸膛的温暖, 爱的寂想, 破镜重圆是天方妄想.

rebuild autobench rpm package

简洁为美,看不懂者请自主寻找参考资料
1. #wget -c http://www.xenoclast.org/autobench/downloads/autobench-2.1.1.tar.gz
2. #cp autobench-2.1.1.tar.gz /usr/src/redhat/SOURCES/autobench.tar.gz
3. #vi autobench/Makefile
search install.clean,
install: crfile sesslog
mkdir -p $(BINDIR) $(ETCDIR) $(MANDIR)
perl -pi -e ’s/my \$$MASTER_CONFIG =.*$$/my \$$MASTER_CONFIG = “$$ENV{AB_CFG}”;/’ autobench
cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR)
cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR)
cp autobench.conf $(ETCDIR)

4. #gcc -O2 -Wall -o crfile crfile.c
#gcc -O2 -Wall -o sesslog sesslog.c
5. […]

Reverse Proxy

Nginx (”engine x”) is a high-performance HTTP server and reverse proxy

install_nginxconf.txt
nginxconf.txt
nginx-phpconf.txt
nginx.txt

参考文献:
《Nginx WiKi 》
《High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx 》
《Looking For Optimal Solution: Benchmark Results Summary and Findings 》