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

请教VIP与RIP在同一台服务器上,不为REALSERVER建虚拟机,能否实现

请教一下,一台服务器配置3个IP,A做为VIP,B、C做为RIP,在B、C上运行两个服务进程,通过LVS能否实现?如何设置?
我配置如下,但不能工作,RIP指向其他机器则没问题。
ipvsadm -A -u 192.168.0.1:53 -s rr
ipvsadm -a -u 192.168.0.1:53 -r 192.168.0.2 -m
ipvsadm -a -u 192.168.0.1:53 -r 192.168.0.3 -m

eth0 Link encap:Ethernet HWaddr 00:15:17:5E:EE:34
inet addr:1192.168.0.1 Bcast:121.199.254.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe5e:ee34/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:264029 errors:0 dropped:0 overruns:0 frame:0
TX packets:42970 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17503965 (16.6 MiB) TX bytes:5902269 (5.6 MiB)
lo:0 Link encap:Local Loopback
inet addr:192.168.0.2 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1

lo:1 Link encap:Local Loopback
inet addr:192.168.0.3 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1

回复

  • 允许 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.