Hi,
   
    I am trying to execute the ovs-vswitchd with DPDK (dpdk-1.7.1). But getting 
OVS-database connection refused while creating  a bridge with 
datapath_type="netdev" .  

OVS version:   Latest Clone from Git (2-3 days back)

Here are the steps which I followed : 

####################################################

#  sysctl -w vm.nr_hugepages=2000

#  mkdir -p /mnt/huge

#  mount -t hugetlbfs hugetlbfs /mnt/huge

#  modprobe uio

#  insmod $DPDK_BUILD/kmod/igb_uio.ko

#  $DPDK_DIR/tools/dpdk_nic_bind.py --force --bind=igb_uio eth0

#  mkdir -p /usr/local/etc/openvswitch

#  mkdir -p /usr/local/var/run/openvswitch

#  rm /usr/local/etc/openvswitch/conf.db

#   cd $OVS_DIR

#   ./ovsdb/ovsdb-tool create /usr/local/etc/openvswitch/conf.db \
             ./vswitchd/vswitch.ovsschema
   
#   ./ovsdb/ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \
          --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
          --private-key=db:Open_vSwitch,SSL,private_key \
          --certificate=Open_vSwitch,SSL,certificate \
          --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --pidfile --detach
        ```

#   ./utilities/ovs-vsctl --no-wait init
    ```
#   export DB_SOCK=/usr/local/var/run/openvswitch/db.sock

#   ./vswitchd/ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile 
--detach

#   `ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev`
      
     ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed 
(connection refused)

####################################################################

Please feel free to correct me if I missed any steps to execute or did 
something wrong. 

Please suggest how to proceed further.  

Thanks & Regards
Arkajit Ghosh
Mailto: arkajit.gh...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
Business Solutions
Consulting
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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

Reply via email to