Hi, Numan. So, I have do the same step as ovn-ctl manpage+some additional step in https://github.com/ovn-org/ovn-fake-multinode/blob/master/ovn_cluster.sh#L337
But when I try to shutdwon 1 node(the first node) , all cluster goes down. Below is the step i used to create cluster: ``` server1: 10.40.40.10 server2: 10.40.40.11 server2: 10.40.40.12 /usr/share/ovn/scripts/ovn-ctl --db-nb-addr=10.40.40.10 \ --db-sb-addr=10.40.40.10 \ --db-nb-cluster-local-addr=10.40.40.10 --db-nb-cluster-local-proto=tcp \ --db-sb-cluster-local-addr=10.40.40.10 --db-sb-cluster-local-proto=tcp \ restart_ovsdb sudo /usr/share/ovn/scripts/ovn-ctl --db-nb-addr=10.40.40.11 \ --db-sb-addr=10.40.40.11 \ --db-nb-cluster-local-addr=10.40.40.11 --db-nb-cluster-remote-addr=10.40.40.10 \ --db-sb-cluster-local-addr=10.40.40.11 --db-sb-cluster-remote-addr=10.40.40.10 \ --db-nb-cluster-local-proto=tcp --db-sb-cluster-local-proto=tcp \ --db-nb-cluster-remote-proto=tcp --db-sb-cluster-remote-proto=tcp \ restart_ovsdb sudo /usr/share/ovn/scripts/ovn-ctl --db-nb-addr=10.40.40.12 \ --db-sb-addr=10.40.40.12 \ --db-nb-cluster-local-addr=10.40.40.12 --db-nb-cluster-remote-addr=10.40.40.10 \ --db-sb-cluster-local-addr=10.40.40.12 --db-sb-cluster-remote-addr=10.40.40.10 \ --db-nb-cluster-local-proto=tcp --db-sb-cluster-local-proto=tcp} \ --db-nb-cluster-remote-proto=tcp --db-sb-cluster-remote-proto=tcp \ restart_ovsdb sudo /usr/share/ovn/scripts/ovn-ctl --db-nb-addr=10.40.40.10 --db-nb-create-insecure-remote=yes --db-sb-addr=10.40.40.10 --db-sb-create-insecure-remote=yes --db-nb-cluster-local-addr=10.40.40.10 --db-sb-cluster-local-addr=10.40.40.10 --ovn-northd-nb-db=tcp: 10.40.40.10:6641,tcp:10.40.40.11:6641,tcp:10.40.40.12:6641 --ovn-northd-sb-db=tcp:10.40.40.10:6642,tcp:10.40.40.11:6642,tcp: 10.40.40.12:6642 start_northd sudo /usr/share/ovn/scripts/ovn-ctl --db-nb-addr=10.40.40.11 --db-nb-create-insecure-remote=yes --db-sb-addr=10.40.40.11 --db-sb-create-insecure-remote=yes --db-nb-cluster-local-addr=10.40.40.11 --db-sb-cluster-local-addr=10.40.40.11 --db-nb-cluster-remote-addr=10.40.40.10 --db-sb-cluster-remote-addr=10.40.40.10 --ovn-northd-nb-db=tcp: 10.40.40.10:6641,tcp:10.40.40.11:6641,tcp:10.40.40.12:6641 --ovn-northd-sb-db=tcp:10.40.40.10:6642,tcp:10.40.40.11:6642,tcp: 10.40.40.12:6642 start_northd sudo /usr/share/ovn/scripts/ovn-ctl --db-nb-addr=10.40.40.12 --db-nb-create-insecure-remote=yes --db-nb-cluster-local-addr=10.40.40.12 --db-sb-addr=10.40.40.12 --db-sb-create-insecure-remote=yes --db-sb-cluster-local-addr=10.40.40.12 --db-nb-cluster-remote-addr=10.40.40.10 --db-sb-cluster-remote-addr=10.40.40.10 --ovn-northd-nb-db=tcp: 10.40.40.10:6641,tcp:10.40.40.11:6641,tcp:10.40.40.12:6641 --ovn-northd-sb-db=tcp:10.40.40.10:6642,tcp:10.40.40.11:6642,tcp: 10.40.40.12:6642 start_northd ``` On Mon, Oct 12, 2020, 11:20 Popoi Zen <alter...@gmail.com> wrote: > Thanks Numan, I will try that. > > > > On Thu, Oct 8, 2020 at 11:43 PM Numan Siddique <num...@ovn.org> wrote: > >> On Thu, Oct 8, 2020 at 9:00 PM Popoi Zen <alter...@gmail.com> wrote: >> > >> > Hi, is there any reference to create clustered OVN on active-active >> mode? Because there is no active-active HA guide found on documentation. >> >> Hi, >> >> For active-active, you need to deploy OVN ovsdb-servers in the raft >> cluster. Please see the man page ovn-ctl [1]for >> more details. >> >> There is one example here - >> >> https://github.com/ovn-org/ovn-fake-multinode/blob/master/ovn_cluster.sh#L337 >> >> [1] - https://www.ovn.org/support/dist-docs/ovn-ctl.8.html >> >> Thanks >> Numan >> >> > ____ >> >> > _______________________________________________ >> > 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