I am trying to setup an oven bridge between non-clustered hosts for private inter-hosts networking but reading the ovn doc on incus, I can’t figure out how to setup the ovn-central database. Reading the code I can figure how the ovn-host is setup without the shell commands but I cannot find out for the ovn-central.
OVN between non-clustered hosts isn’t going to work well with Incus.
Incus expects to own the OVN deployment and be in control of all virtual switches, routers and ports. You can’t have one standalone Incus create a network and port and another Incus put instances on it.
Now for OVN on IncusOS, the way this works is that IncusOS runs both OVS and the OVN controller (ovn-host). The control plane (ovn-central) should be run in containers or VMs, possibly on the same cluster, just so long as they’re not themselves running on an OVN network.
For my test cluster, I have a single container running ovn-central which works fine, but for production environments we’re looking at stateless OCI images for the various OVN components so we could run those in HA mode across a cluster.
Is there an alternative for a private link like ovn for non-clustered incus (on IncusOS ) ?
You can define a bridge on one server and then attach instances from another server onto that. Either physically connecting the two through a dedicated NIC or a VLAN on a shared NIC, or by doing it through a VXLAN or GRE tunnel.
I’d say for ease of use, a multicast VXLAN tunnel is likely the easiest way to achieve that.