Hi ,

I have configured openvswitch(1.4) in centos-6.2 along with KVM. I have created two VM's , on VM1 and VM2 i have installed web server and database server respectively. I have followed below steps :

ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth1 trunks=5,11

ovs-vsctl del-port vnet0
ovs-vsctl add-port br0 vnet0 tag=5
ovs-vsctl del-port vnet1
ovs-vsctl add-port br0 vnet1 tag=11
ovs-vsctl set interface eth1 other-config:enable-vlan-splinters=true

Vnet0 is the interface for VM1
Vnet1 is the interface for VM2

But i am facing a problem , when my webserver(VM1) access the database server(vm2) then my web application becomes slow. if the same webserver use the database which is outside the openvswitch lan , then web application becomes fast. Also check the ifconfig output , i don't know why eth1 has different sub interfaces.

[root@ovirth2 openvswitch-1.5.0]# ifconfig
eth0      Link encap:Ethernet  HWaddr 60:EB:69:DC:51:4E
inet addr:169.144.106.37 Bcast:169.144.106.63 Mask:255.255.255.192
          inet6 addr: fe80::62eb:69ff:fedc:514e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30953 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56059 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2425019 (2.3 MiB)  TX bytes:77930442 (74.3 MiB)
          Memory:96220000-96240000

eth1      Link encap:Ethernet  HWaddr 60:EB:69:DC:51:4F
          inet6 addr: fe80::62eb:69ff:fedc:514f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3921 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:257438 (251.4 KiB)  TX bytes:1404 (1.3 KiB)
          Memory:96200000-96220000

eth1.5    Link encap:Ethernet  HWaddr 60:EB:69:DC:51:4F
          inet6 addr: fe80::62eb:69ff:fedc:514f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:193 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8824 (8.6 KiB)  TX bytes:468 (468.0 b)

eth1.11   Link encap:Ethernet  HWaddr 60:EB:69:DC:51:4F
          inet6 addr: fe80::62eb:69ff:fedc:514f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0


I have configured the debug logs also and getting the below messages :

Aug 21 11:20:39 ovirth2 ovs-vswitchd: 00037|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate Aug 21 11:20:39 ovirth2 ovs-vswitchd: 00038|ofproto_dpif|WARN|bridge br0: dropping VLAN 0 packet received on port eth1 not configured for trunking VLAN 0 Aug 21 11:21:39 ovirth2 ovs-vswitchd: 00039|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate Aug 21 11:21:39 ovirth2 ovs-vswitchd: 00040|ofproto_dpif|WARN|bridge br0: dropping VLAN 0 packet received on port eth1 not configured for trunking VLAN 0 Aug 21 11:22:39 ovirth2 ovs-vswitchd: 00041|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate Aug 21 11:22:39 ovirth2 ovs-vswitchd: 00042|ofproto_dpif|WARN|bridge br0: dropping VLAN 0 packet received on port eth1 not configured for trunking VLAN 0 Aug 21 11:23:39 ovirth2 ovs-vswitchd: 00043|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate Aug 21 11:23:39 ovirth2 ovs-vswitchd: 00044|ofproto_dpif|WARN|bridge br0: dropping VLAN 0 packet received on port eth1 not configured for trunking VLAN 0 Aug 21 11:24:39 ovirth2 ovs-vswitchd: 00045|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate Aug 21 11:24:39 ovirth2 ovs-vswitchd: 00046|ofproto_dpif|WARN|bridge br0: dropping VLAN 0 packet received on port eth1 not configured for trunking VLAN 0 Aug 21 11:25:39 ovirth2 ovs-vswitchd: 00600|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate Aug 21 11:25:39 ovirth2 ovs-vswitchd: 00601|ofproto_dpif|WARN|bridge br0: dropping VLAN 0 packet received on port eth1 not configured for trunking VLAN 0 Aug 21 11:26:39 ovirth2 ovs-vswitchd: 02186|ofproto_dpif|WARN|Dropped 3 log messages in last 60 seconds (most recently, 30 seconds ago) due to excessive rate


Any idea how to solve this problem. Thanks in advance.

Regards
Pradeep Kumar
Ericsson










_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to