Blogs

错误说明

错误 显示为:
ip_vs_sync.c:In function 'sync_thread';
ip_vs_sync.c:687:structure has no member named 'sigmask_lock'
ip_vs_sync.c:689:too many arguments to function 'recalc_sipending_Rfb6af58d'

VMware 上总出错(请教章博士!!!)

我在VMware上想用LVS
对应版本如下
Linux-2.4.20-8
linux-2.4.20-ipvs-1.0.9.patch
在执行make modules时 总是出错,不知道为什么,我已经试了很多遍了,依然不知道怎么解决

请章博士指点

最好详细指点一下安装和配置LVS的过程

静态链接openssl库

在Linux上缺省select的最大句柄数为1024。为突破这个限制,需要修改在一些头文件中__FD_SETSIZE的大小,例如,将 /usr/include/linux/posix_types.h 和 /usr/include/bits/typesizes.h 中__FD_SETSIZE的值改为8192。然后需要重新编译使用select的函数库和应用程序。不过,Linux 2.4和2.6的内核不需要重新编译。

由于我们的程序用到openssl,而openssl中用到select,所以我们需要重新rebuild openssl rpm。为了使得部署更简单一些(不想在每个平台上安装重新编译openssl rpm),我们可以考虑应用程序静态链接这个openssl库。

著名网络协议分析工具Ethereal更名为Wireshark

刚在网上看到Ethereal更名为Wireshark,尽管这是一个月以前的事。

June 7, 2006

The world's most popular network protocol analyzer has a new home!

Gerald Combs, the creator of the Ethereal® network protocol analyzer, has accepted a position with CACE Technologies. CACE is best known for the popular WinPcap packet capture library.

Along with the move comes a new name for the project: Wireshark.

This site (http://www.wireshark.org/) is the new home of the project. We look forward to continuing our success as world-class network protocol analyzer under the new name, and we welcome you to join us.

LVS-按照帖子配置~~还是没成功

版本2.6.9.
配置如下:
# 打开前端机器的 ip_forward , 这个是 LVS 需要的
echo 1 > /proc/sys/net/ipv4/ip_forward
# 添加一个位于公网 IP 80 端口的虚拟服务, 负载均衡协议是 weighted lease connection
ipvsadm -A -t 10.0.0.10:80 -s wlc
# 添加后端 IP 们, -g 表明使用的是 direct routing 模式
ipvsadm -a -t 10.0.0.10:80 -r 10.0.0.12 -g
ipvsadm -a -t 10.0.0.10:80 -r 10.0.0.13 -g
ipvsadm -a -t 10.0.0.10:80 -r 10.0.0.14 -g

后端机器上面

# 打开 ip_forward
echo 1 > /proc/sys/net/ipv4/ip_forward
# 防止后端机器应答虚拟 IP 的 arp 信息

不是很会哦,呵呵!

没什么时间,也不允许啦。

我做了一个lvs但是有个小问题,就是能不能让用户第一次访问哪台的时候,在访问的时候还是访

我做了一个lvs但是有个小问题,就是能不能让用户第一次访问哪台的时候,在访问的时候还是访问这一台机器,我设置的lvs就是来回的轮训访问。如何设置啊?

lvs如何实现邮件集群

各位好:
我是初次学习lvs,还摸不到一点头脑,那位能够告诉我该如何安装及配置?我想做邮件服务器的集群。

最好是傻瓜型的那种。

多谢!

lvs的虚拟ip不能访问apache中的虚拟主机

我的两台机器既是rs也vs,其中一台2.6内核,另一台2.4内核
在服务器使用2天以后vs就自动不转发给一台rs了,我怀疑是ip_forword没设置成 "0"的缘故.
这几天又出问题,我们要增加一个apache虚拟主机,但通过虚拟ip始终访问的apache默认的服务,访问不了第二个\第三个虚拟主机!我设置主机hosts访问正常,那也就是虚拟主机设置正常.

我搞了半天没弄明天,不知道谁碰到过这样问题.

在链接时库的顺序问题

今天用GNU autotools编译原来的程序时,碰到一大堆undefined reference的链接错误。

/home/wensong/devel/dragon/services/ExpireRegistrations.hxx:14: undefined
 reference to `CThreadIf::CThreadIf()'
../services/libservices.a(StunService.o)(.text+0x12): In function
 `StunService::StunService(Service const&)':
/home/wensong/devel/dragon/services/StunService.cxx:17: undefined reference to
 `CThreadIf::CThreadIf(int)'
../services/libservices.a(StunService.o)(.text+0x3b):/home/wensong/devel/dragon
/services/StunService.cxx:17: undefined reference to `vtable for CThreadIf'

页面

Subscribe to RSS - Blog
randomness