This is a follow up patch to document the systemd behavior including
the change introduced by the "rhel-systemd: Restart openvswitch
service if a daemon crashes", still under review.
Signed-off-by: Eelco Chaudron
---
rhel/README.RHEL.rst | 33 +
1 file changed, 33 insertions(+)
diff --git a/rhel/README.RHEL.rst b/rhel/README.RHEL.rst
index afccf17..a299799 100644
--- a/rhel/README.RHEL.rst
+++ b/rhel/README.RHEL.rst
@@ -296,6 +296,39 @@ DPDK NIC port:
OVS_OPTIONS="bond_mode=active-backup"
HOTPLUG=no
+
+===
+Red Hat systemd integration
+===
+
+The RPM packages for Open vSwitch provide support for systemd integration. It's
+recommended to use the openvswitch.service to start and stop the Open vSwitch
+daemons. The below table shows systemd's behavior:
+
+=== == == ==
=== ===
+ - Process Statussystemctk <>
status
+--- -
--
+Action ovs-vswitch ovsdb-server openvswitch
ovs-vswitchdovsdb-server
+=== == == ==
=== ===
+systemctl start openvswitch*startedstartedactive, exited
active, running active, running
+crash of vswitchd crash, started re-started active, exited
active, running active, running
+crash of ovsdb re-started crash, started active, exited
active, running active, running
+systemctl restart openvswitch re-started re-started active, exited
active, running active, running
+systemctl restart ovs-vswitchd re-started re-started active, exited
active, running active, running
+systemctl restart ovsdb-server re-started re-started active, exited
active, running active, running
+systemctl stop openvswitch stoppedstoppedinactive, dead
inactive, dead inactive, dead
+systemctl stop ovs-vswitchd stoppedstoppedinactive, dead
inactive, dead inactive, dead
+systemctl stop ovsdb-server stoppedstoppedinactive, dead
inactive, dead inactive, dead
+systemctl start ovs-vswitchd* startedstartedinactive, dead
active, running active, running
+systemctl start ovsdb-server* not startedstartedinactive, dead
inactive, dead active, running
+=== == == ==
=== ===
+
+
+\* These commands where executed when no Open vSwitch related processes where
+running. All other commands where executed when Open vSwitch was successfully
+running.
+
+
Reporting Bugs
--
--
2.7.4
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev