proxmox ovs and monitor traffic vm

RFS77

New Member
Jan 3, 2015
5
0
1
hi Gooday to every one


I'm new in proxmox and get confusion ,im just install proxmox 3.2 ver and create a ovs bridge as below


root@PR01:~# ovs-vsctl list-br
vmbr0
=================================================
Also create a vport1 and vport2 for each vm


But when im create a vm ,can't find the option select vport1 and 2 , just need to confirm ,
is promox support OSV work as virtual-BOX ?
If not , how can im create a port to separate each vm and create cacti to monitor each vm traffic.




root@PR01:~# ovs-vsctl show
79b13623-b540-4dad-ad35-80ec0212065c
Bridge "vmbr0"
Port "vmbr0"
Interface "vmbr0"
type: internal
Port "eth0"
Interface "eth0"
Port "vport1"
Interface "vport1"
Port "vport2"
Interface "vport2"
ovs_version: "2.3.0"


any one can confirm , thanks
 
Also create a vport1 and vport2 for each vm


But when im create a vm ,can't find the option select vport1 and 2 , just need to confirm ,
is promox support OSV work as virtual-BOX ?
If not , how can im create a port to separate each vm and create cacti to monitor each vm traffic.

Internal ports are not necessary in your case (you need them only in case of splitting VLANs and other special purposes).

Connect you virtual NICs in the VMs directly to your bridge:

Use Machine´s configuration, "Hardware" Tab and assign the bridge (vmbr0 in your case) to the Network Device. You can connect as many NICs as you like from any virtual machine to the same bridge.

Kind regards

Mr.Holmes
 
Note with thanks , able to bring up 2 linux vm .

But how can i monitor both vm server traffic separate with cacti or mrtg , since is ony vmbro interfaces 1 port is use , any reference link or doc i can go thru ?

thanks
 
But how can i monitor both vm server traffic separate with cacti or mrtg , since is ony vmbro interfaces 1 port is use , any reference link or doc i can go thru ?


Better than theory: Post both

Code:
ifconfig -a
ovs-vsctl show

when VMs are running and I´ll explain.
 
thanks . im run below cmd and can see below

root@PR01:~# ovs-vsctl del-port vmbr0 vport1
root@PR01:~# ovs-vsctl show
79b13623-b540-4dad-ad35-80ec0212065c
Bridge "vmbr0"
Port "vmbr0"
Interface "vmbr0"
type: internal
Port "eth0"
Interface "eth0"
Port "tap100i0"
tag: 1
Interface "tap100i0"
Port "tap101i0"
Interface "tap101i0"
ovs_version: "2.3.0"

and ifconfig -a // show below

ovs-system Link encap:Ethernet HWaddr 82:18:cc:3b:8f:8f
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


tap100i0 Link encap:Ethernet HWaddr 22:66:be:47:48:4d
inet6 addr: fe80::2066:beff:fe47:484d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1824 (1.7 KiB) TX bytes:468 (468.0 B)


tap101i0 Link encap:Ethernet HWaddr 02:31:c7:80:35:d2
inet6 addr: fe80::31:c7ff:fe80:35d2/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9147 errors:0 dropped:418 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:650 (650.0 B) TX bytes:604452 (590.2 KiB)

tap100i0 =vms1
tap101i0 =vms2 correct ? so every vm create ,will also create a tap00xx intefaces

then i need to get the mrtg snmp to get the data ,so im need to install a cacti server up fist.........
 
Thanks ,Appreciate you info , so is time to me crack my head for the smnp monitor

thanks , Salute to you
 
@RFS77
I was just reading this post.
I am using Munin to Monitor and if the Port already exist, Munin will find it and add a Graphic
have a nice day
vinc
 
Appreciate you guide Vinc , will install and trial , fist time i'm hear about Munin
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!