I think Mark has provided you the required guidance. You could also refer openstack networking-ovn documentation - https://docs.openstack.org/networking-ovn/latest/install/manual.html
Thanks Numan On Thu, Jun 28, 2018 at 1:26 AM Mark Michelson <mmich...@redhat.com> wrote: > On 06/26/2018 05:57 PM, Vasiliy Tolstov wrote: > > вт, 26 июн. 2018 г. в 23:24, Mark Michelson <mmich...@redhat.com>: > >> > >> On 06/19/2018 08:42 AM, Vasiliy Tolstov wrote: > >>> Hi! I'm try to run ovn in fedora 28. > >>> I have 3 hosts: > >>> gateway=controler 172.16.1.254 > >>> compute1 172.16.1.1 > >>> compute2 172.16.1.2 > >>> > >>> What services i need to enable on compute and on controller? > >> > >> On the controller, you should start the ovn-northd service in systemd: > >> `systemctl start ovn-northd` > >> If there are VMs on your controller node that you want to connect to the > >> overlay network, then you would also need to run the openvswitch and > >> ovn-controller services: > >> `systemctl start openvswitch` > >> `systemctl start ovn-controller` > >> > > > > Thanks, already do that. > > > >> On the compute nodes, you will want to start the openvswitch and > >> ovn-controller services. > >> `systemctl start openvswitch` > >> `systemctl start ovn-controller` > >> > > > > Yes, already have this. > > > >>> Also as i found, i need to enable listening ovn-northd on 172.16.1.254 > >>> and connect to it other nodes via port 6641 and 6642. How can i do > >>> that in fedora? > >> > >> This is done the same way in Fedora as in other distributions. On your > >> controller, you can set up a basic TCP listener on those ports by > running: > >> > >> ovn-nbctl set-connection ptcp:6641 > >> ovn-sbctl set-connection ptcp:6642 > >> > > > > Thanks! > > > >> (I recommend using SSL. You can learn more about this topic in the > >> ovn-nbctl and ovn-nb manpages) > >> > >> On your compute nodes, you can point those to your controller's port > >> 6642, by running > >> > >> ovs-vsctl set open_vswitch . > external_ids:ovn-remote=<controller_ip>:6642 > >> > > > > On this i have qeustion, i found in google that i need also specify > > external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" > > external_ids:ovn-encap-type="geneve,vxlan" > > > > Does i need this is all compute nodes? > > You will need external_ids:ovn-encap-type, but you don't need > external_ids:ovn-nb. I don't know what external_ids:ovn-nb does. > > > > >>> Also if my controller node have vm that i want to connect to internal > >>> ovn network what services i need to run additional on controller node > >>> and does it possible? > >> > >> This is a pretty broad topic, but I suggest that you look at the > >> following areas: > >> > >> * On logical switches, look up "localnet" ports. > >> * Look into the Gateway_Chassis table in the OVN northbound database, > >> and how to set these up on logical router ports. > >> > >> You can get more information in the ovn-nb manpage for both of these > >> topics. > >> > > > > Thanks for all answers! > > > > _______________________________________________ > discuss mailing list > disc...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss >
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss