[ovs-discuss] issues in configuring sfflow

Ben Pfaff blp at nicira.com
Thu Nov 1 06:04:00 UTC 2012


You need to either install Open vSwitch by very carefully reading and
following the instructions in INSTALL or INSTALL.Linux, or to use an OVS
installation provided by a distribution such as Debian.  Then you can
use sFlow.

On Wed, Oct 31, 2012 at 11:46:47PM -0500, gandhi mathi wrote:
> Hi Ben Pfaff,
>   My aim is to configure sFlow of ovs in mininet. Can it be possible? I
> have downloaded the mininet VM image in my laptop with windows 7 OS and
> working on it. In mininet the ovs is pre installed right? Then what are the
> things I need to take care before going to configure sFlow on it. What do
> you  mean by prepackaged installation?
> Thanks !
> Gandhi
> 
> 
> On 31 October 2012 22:45, Ben Pfaff <blp at nicira.com> wrote:
> 
> > You didn't create the database.
> >
> > Are you carefully following the installation instructions?  If you can't
> > follow them accurately, then perhaps you should use a prepackaged
> > installation.
> >
> > On Wed, Oct 31, 2012 at 10:34:58PM -0500, gandhi mathi wrote:
> > > Hi Ben Pfaff,
> > >    Thank you for your reply.
> > > I tried to start ovsdb-server by shell script as follows:
> > >
> > > #!/usr/bin/sh
> > >
> > > ovsdb-server /usr/local/etc/openvswitch/conf.db
> > > --remote=punix:/usr/local/var/run/openvswitch/db.soc
> > > --remote=db:Open_vSwitch,manager_options --private-key=db:SSL,private_key
> > > --certificate=db:SSL,certificate --bootstrap-ca-cert=db:SSL,ca_cert
> > > --pidfile --detach --log-file
> > >
> > >
> > > But it is giving the error message as :
> > >
> > > Oct 31 12:26:28|00001|vlog|INFO|opened log file
> > > /usr/local/var/log/openvswitch/o
> > >
> > > vsdb-server.log
> > >
> > > ovsdb-server: I/O error: open: /usr/local/etc/openvswitch/conf.db failed
> > > (No suc
> > >                                                 h file or directory)
> > >
> > >
> > >
> > > Thanks
> > > Gandhi
> > >
> > >
> > >
> > > On 31 October 2012 21:57, Ben Pfaff <blp at nicira.com> wrote:
> > >
> > > > On Wed, Oct 31, 2012 at 08:40:09PM -0500, gandhi mathi wrote:
> > > > > In my project I am  using mininet to create networks and while I am
> > > > trying
> > > > >  to configure the sflow in the ovs,by using a shell script, I am
> > getting
> > > > > the error as:
> > > > > Oct 31
> > > > >
> > > >
> > 11:00:34|00005|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock:
> > > > > connection attempt failed (No such file or directory)
> > > >
> > > > Either ovsdb-server isn't running or it's listening on a different
> > > > socket.  You should be able to figure out which.
> > > >
> >


More information about the discuss mailing list