LVS管理平台使用手册(第一版)[原创] 不指定

root , 2009/12/23 09:53 , LVS , 评论(9) , 阅读(1349) , Via 本站原创
      为了更好管理、维护LVS平台,本人基于Django+certmaster+func开发了一套管理平台,主要功能模块分为性能图表、数据中心、虚拟IP池、主机管理、监控模块等功能,基本上是按F5-LTM管理平台思路来设计,下面只要对这几大块功能进行说明。
1、性能图表
功能说明:以小时、日、星期、月、年的图表展示LVS SERVER、VIP、SERVER等流量情况,效果图如下:
点击在新窗口中浏览此图片
Tags: ,

Load Balancing & QoS with HAProxy 不指定

root , 2009/11/23 10:40 , Haproxy , 评论(0) , 阅读(297) , Via 本站原创
点击在新窗口中浏览此图片
A brand new Rails/Merb app you put together over a weekend, a pack of Mongrels, a reverse proxy (like Nginx), and you're up and running. Well, almost, what about that one request that tends to run forever, often forcing the user to double check their internet connection? Response time is king, and you always want to make sure that your site feel snappy to the user. Did you know that Flickr optimizes all of their pages to render in sub 250ms?
When you're fighting with response times, the worst thing you can possibly do is queue up another request behind an already long running process. Not only does the first request take forever, but everyone else must wait in line for it to finish as well! To mitigate the problem HAProxy goes beyond a simple round-robin scheduler, and implements a very handy feature: intelligent request queuing!
点击在新窗口中浏览此图片
.................................
更多http://www.igvita.com/2008/05/13/load-balancing-qos-with-haproxy/
Tags:

配置java数据库连接池的郁闷事 不指定

root , 2009/11/05 00:23 , JAVA , 评论(0) , 阅读(279) , Via 本站原创
故障现象
在数据库帐号密码没有问题,但应用死活连不上MSSQL数据库,日志报校验错误。

处理步骤
1、更换了MS官方的驱动换成开源的jtds-1.2.jar包问题依旧。
2、写了一个简单的jsp测试文件能正常连接数据库,晕。可以确定帐号、密码、MSSQL服务没有问题。
3、查看连接池配置,发现密码域串含有"&"号,在XML中是属于转义符,更个密码,连接成功:)
注:在XML中“&”号需要转成“&;”
Tags:
1、安装jdk
sudo apt-get install sun-java6-jdk
2、安装Eclipse
sudo apt-get install eclipse
3、安装pydev
下载:http://downloads.sourceforge.net/project/pydev/pydev/Pydev%201.5.0/org.python.pydev.feature-1.5.0.1251989166.zip?use_mirror=ncu并解压
运行Eclipse->Help->software update->Find and install->search for new features to install->new local site..->选择解压目录,搞定。
4、sudo apt-get install eclipse-cdt
新建一个C++工程:
file-->new-->project-->C++-->managed make C++ project (选这个不用自己写make file)
代码提示:
启动Eclipse.进入:Windows-->Preferences-->C/C++找到Environment。增加两个变量:
CPLUS_INCLUDE_PATH: /usr/include/c++/4.3.3
C_INCLUDE_PATH: /usr/include

用jar更新包中的类文件 不指定

root , 2009/10/26 00:20 , JAVA , 评论(0) , 阅读(375) , Via 本站原创
大多数的jar包的创建、更新都在Eclipse中去完成了,今天在Linux没有Eclipase的环境,还是乖乖用命令行了。
jar文件:/home/resin.jar
需更新包中com/caucho/server/port/Port.class类文件
方法1
jar uf resin.jar com/caucho/server/port/Port.class
要求是必须知道jar包的结构要非常熟悉,可以使用:jar tf resin.jar来查看。

方法2
解压resin.jar->覆盖相应类文件->再打包(jar cvf resin.jar com)

jar详细用法
用法:jar {ctxu}[vfm0Mi] [jar-文件] [manifest-文件] [-C 目录] 文件名 ...
选项:
-c 创建新的存档
-t 列出存档内容的列表
-x 展开存档中的命名的(或所有的〕文件
-u 更新已存在的存档
-v 生成详细输出到标准输出上
-f 指定存档文件名
-m 包含来自标明文件的标明信息
-0 只存储方式;未用ZIP压缩格式
-M 不产生所有项的清单(manifest〕文件
-i 为指定的jar文件产生索引信息
-C 改变到指定的目录,并且包含下列文件:
Tags:
分页: 9/42 第一页 上页 4 5 6 7 8 9 10 11 12 13 下页 最后页 [ 显示模式: 摘要 | 列表 ]