略去导航.
主页
The image verification code you entered is incorrect.

lvs heartbeat ldirectord ipvsadm的几个不明白的地方

问题一:
在ipvsadm中可以用-s来指定算法,在ldirectord.cf中也可以scheduler来指定算法,那如果我两个指定的算法不同,会用那一个呢?比如说ipvsadm -s wlc 而,ldirectord.cf为scheduler=wrr
会用那一个呢?
问题二:
同理,在ipvsadm中可以用-p来指定持久时间,ldirectord.cf里也可以用persistent来指定持久时间
那以那一个为准呢?
问题三:
假如调度算法为wlc,持久时间为600秒,之前A服务器有100个连接,B服务器也是有100个连接,后来,B服务器变为50个连接,A服务器还是100个连接,现在又有一个连接过来,是持久到A服务器上的,按持久性来说,它应是连接加A服务器的,可是接wlc来说,他应连接到B服务器上去的,那以那一个为准呢?
问题四:
也是最主要的,lvs+ipvsadm+hearbeat+ldirectord+tomcat 我想问一问怎样保存http过来的session

回复

  • 允许 HTML标签: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 行和段被自动切分。
  • 你可以用[inline:xx] 标记来内嵌显示上传的文件或者图片。
更多格式化选项信息 Captcha Image: you will need to recognize the text in it.
Please type in the letters/numbers that are shown in the image above.