On Wednesday 31 August 2016 02:42 AM, Andy Zhou wrote:


On Thu, Aug 25, 2016 at 6:48 AM, <[email protected] <mailto:[email protected]>> wrote:

    This patch adds support to start_ovsdb() function in ovn-ctl to
    start the
    ovn db servers in standby mode. This can be done in the following ways
    1. Use parameters --ovn-nb-sync-from-addr and
    --ovn-sb-sync-from-addr to
       set the addresses of the master server.
    2. Create files $etcdir/ovnnb-master.conf and
    $etcdir/ovnsb-master.conf
       with the tcp url of the master servers.

    If --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr is used, it
    will
    overwrite the contents in the $etcdir/*.conf and use that server
    as the
    master.

    Additional functions to promote a standby server to master and demote
    master server to standby mode are also added in this patch

    Signed-off-by: Babu Shanmugam <[email protected]
    <mailto:[email protected]>>


In the context of OVSDB HA, we have been calling the ovsdb-server pair as active/backup. It would be nice if we can avoid using another term "master". I have no strong preference
for "active", just want to avoid using another term.

I will change it in the next revision.

It seems that if demote_ovssb() is followed by restart_ovsdb(), the role switching
won't be respected. true?
You are right Andy. I will fix this too.

Thank you
Thanks.

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to