OpenVZ Forum - RDF feed
type: channel
items: [IPVS] try to install ipvs into VE

[IPVS] try to install ipvs into VE
type: item
description: Hi, I am trying to set up an ipvs server into a VE. I'am following the wiki: But it's not enough. To do that, i set up a network configuration like this: On ipvs VE = VE1, I configure a veth device with mac address: NETIF=" ifname=eth0,mac=00:0C:29:CA:90:9B,host_ifname=veth170002.0,h ost_mac=00:0C:29:3F:6D:E0 " On hardware node, i configured a bridge device: vzbr0 Link encap:Ethernet HWaddr 00:0C:29:3F:XX:XX inet addr:XX.XX.XX.XX Bcast:XX.XX.XX.XX Mask:255.255.252.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:178105 errors:0 dropped:0 overruns:0 frame:0 TX packets:30025 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11312394 (10.7 MiB) TX bytes:2568442 (2.4 MiB) with interfaces: brctl show bridge name bridge id STP enabled interfaces vzbr0 8000.000c293f6de0 no veth170002.0 bond0.1031 and bond0.1031 bond0.1031 Link encap:Ethernet HWaddr 00:1B:78:79:XX:XX inet6 addr: fe80::21b:78ff:fe79:d114/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:931247 errors:0 dropped:0 overruns:0 frame:0 TX packets:975025 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:115739325 (110.3 MiB) TX bytes:100705549 (96.0 MiB) I switch on the capa NET_ADMIn on VE. The same for applicative VE= VE2. I added a VIP on lo mode. XX.XX.XX.1 I installed a ipvs server onton VE1. And my rules is loaded: IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP XX.XX.XX.1:ldap rr -> XX.XX.XX.XX:ldap Route 1 0 0 So, VE1 is listening on VIP on HME interface, like eth0. On my VE2, i'am listening on port 389 on VIP. But, I 'm not available to do a telnet on VIP:389 since another HWN [root@HWN ~]# telnet XX.XX.XX.1 389 Trying XX.XX.XX.1... telnet: connect to address XX.XX.XX.1:389 Connection refused My keepalived conf: global_defs { notification_email { mail@mail.com } notificati…
creator: skyangel
date: 2011-03-21T10:10:53-00:00