On Fri, Apr 22, 2016 at 7:32 AM, Troy <jlzh...@jlzhang.cn> wrote: > Hi, Dear all, > > I want to use OVN in Ubuntu-14.04 without sandbox. > > In the topic before, Numan told me I should follow the OVN documents in > the Openstack at this- > > http://docs.openstack.org/developer/networking-ovn/deployment_integration_guide.html > But this document only tells something about openstack. > I just want to use OVN in Ubuntu and want it work like iptables. > I install the ovn and ovs in Ubuntu. And I can find the ovn command in > shell. > But I still cannot run any ovn cmd. When I run "ovn-controller", it showed: > > root@troy-PC:/usr/local/etc/openvswitch# ovn-controller > 2016-04-22T01:58:44Z|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: > connecting... > 2016-04-22T01:58:44Z|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: > connected > 2016-04-22T01:58:44Z|00003|main|INFO|OVN OVSDB remote not specified. > Waiting... > > How can I start the database(north-database and sorth-database) ? > Can anyone have any commands to run it correctly? > > I look forward your reply. > Best Regards, > Troy > > > > Hi Troy,
In order for you to start ovn youself, you need to do the below 1. Create initial ovn nb and sb dbs using ovsdb-tool $ovsdb-tool create /opt/stack/data/ovs/ovnnb.db /opt/stack/ovs/ovn/ovn-nb.ovsschema $ovsdb-tool create /opt/stack/data/ovs/ovnsb.db /opt/stack/ovs/ovn/ovn-sb.ovsschema Please change the path as per your wish. Refer this link for more information - https://github.com/openstack/networking-ovn/blob/master/devstack/plugin.sh#L193 2. Start ovsdb-servers. 3. Start ovn-northd and ovn-controller. Refer this link on how to start these services - https://github.com/openstack/networking-ovn/blob/master/devstack/plugin.sh#L259 The script file devstack/plugin.sh has answers for all your questions I guess :). Thanks Numan _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss