[ovs-dev] [PATCH v2 0/4] OCF script for OVN DB servers

bschanmu at redhat.com bschanmu at redhat.com
Fri Sep 16 11:15:05 UTC 2016


v1 -> v2:
 - Fixed a logical problem in the OCF script as suggested by
   Andrew Beekhof <abeekhof at redhat.com>
 - Changed start_northd in ovn-ctl to look for DB parameters in a
   file and not start the DB server if present.

This patch contains changes required to run a pacemaker resource agent
to manage OVN db servers in active/standby mode in a HA cluster.

Babu Shanmugam (4):
  ovn: ovn-ctl support for HA ovn DB servers
  ovn: OCF script for OVN OVSDB servers
  ovn: Add ovn db servers ocf script in fedora packager
  ovn: Add ovndb servers ocf script in debian packager

 debian/automake.mk              |   2 +
 debian/ovn-common.install       |   1 +
 debian/ovn-common.postinst      |  24 +++++
 debian/ovn-common.postrm        |  23 +++++
 ovn/utilities/automake.mk       |   6 +-
 ovn/utilities/ovn-ctl           | 173 ++++++++++++++++++++++++++++++------
 ovn/utilities/ovndb-servers.ocf | 192 ++++++++++++++++++++++++++++++++++++++++
 rhel/openvswitch-fedora.spec.in |   8 ++
 8 files changed, 402 insertions(+), 27 deletions(-)
 create mode 100644 debian/ovn-common.postinst
 create mode 100644 debian/ovn-common.postrm
 create mode 100755 ovn/utilities/ovndb-servers.ocf

-- 
1.9.1




More information about the dev mailing list