X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-ctl.8;h=c730778d5fa665eb7f9d9fc3ed0dea45e4271e3a;hb=341c4e59f50a842a2974d06e448a57af372a7edd;hp=658cbd6ba5e92fa75ca6e436a5fa86ccc6071c80;hpb=a685eb5a760579f0fe45cf5e5fe8db93468cb91d;p=openvswitch diff --git a/utilities/ovs-ctl.8 b/utilities/ovs-ctl.8 index 658cbd6b..c730778d 100644 --- a/utilities/ovs-ctl.8 +++ b/utilities/ovs-ctl.8 @@ -179,8 +179,34 @@ suppresses that behavior. . .IP "\fB\-\-ovsdb\-server\-priority=\fIniceness\fR" .IQ "\fB\-\-ovs\-vswitchd\-priority=\fIniceness\fR" -Sets the \fBnice\fR(1) level used for \fBovsdb\-server\fR and -\fBovs\-vswitchd\fR, respectively. Both default to \fB\-10\fR. +.IQ "\fB\-\-ovs\-brcompatd\-priority=\fIniceness\fR" +Sets the \fBnice\fR(1) level used for each daemon. All of them +default to \fB\-10\fR. +. +.IP "\fB\-\-ovsdb\-server\-wrapper=\fIwrapper\fR" +.IQ "\fB\-\-ovs\-vswitchd\-wrapper=\fIwrapper\fR" +.IQ "\fB\-\-ovs\-brcompatd\-wrapper=\fIwrapper\fR" +. +Configures the specified daemon to run under \fIwrapper\fR, which is +one of the following: +. +.RS +.IP "\fBvalgrind\fR" +Run the daemon under \fBvalgrind\fR(1), if it is installed, logging to +\fIdaemon\fB.valgrind.log.\fIpid\fR in the log directory. +. +.IP "\fBstrace\fR" +Run the daemon under \fBstrace\fR(1), if it is installed, logging to +\fIdaemon\fB.strace.log.\fIpid\fR in the log directory. +.RE +. +.IP +By default, no wrapper is used. +. +.IP +Wrappers greatly slow daemon operations so they should not be used in +production. They also produce voluminous logs that can quickly fill +small disk partitions. . .PP The following options control file locations. They should only be @@ -261,11 +287,15 @@ reloads the kernel module and restarts the OVS daemons (including .IP 6. Restores the kernel configuration state that was saved in step 3. . -.PP -The steps above are often enough to hot-upgrade a new kernel module -with only a few seconds of downtime. DHCP is a common problem: if the -ISC DHCP client is running on an OVS internal interface, then it will -have to be restarted after completing the above procedure. +.IP 7. +Checks for daemons that may need to be restarted because they have +packet sockets that are listening on old instances of Open vSwitch +kernel interfaces and, if it finds any, prints a warning on stdout. +DHCP is a common example: if the ISC DHCP client is running on an OVS +internal interface, then it will have to be restarted after completing +the above procedure. (It would be nice if \fBovs\-ctl\fR could restart +daemons automatically, but the details are far too specific to a +particular distribution and installation.) . .PP \fBforce\-kmod\-reload\fR internally stops and starts OVS, so it @@ -282,8 +312,8 @@ from other errors that may occur when running the \fBstart\fR command. . .PP By default the \fBload\-kmod\fR command attempts to load the -openvswitch_mod kernel module. If the \fB\-\-brcompat\fR option is -specified then the brcompat_mod kernel module is also loaded. +openvswitch kernel module. If the \fB\-\-brcompat\fR option is +specified then the brcompat kernel module is also loaded. . .SH "The ``enable\-protocol'' command" . @@ -365,6 +395,7 @@ that it runs. \fBovs\-ctl\fR will add the \fIsbindir\fR and . .IP "\fBOVS_LOGDIR\fR" .IQ "\fBOVS_RUNDIR\fR" +.IQ "\fBOVS_DBDIR\fR" .IQ "\fBOVS_SYSCONFDIR\fR" .IQ "\fBOVS_PKGDATADIR\fR" .IQ "\fBOVS_BINDIR\fR" @@ -392,7 +423,7 @@ process ID. The OVS database schema used to initialize the database (use \fB\-\-db\-schema to override this location). . -.IP "\fIsysconfdir\fB/openvswitch/conf.db\fR" +.IP "\fIdbdir\fB/conf.db\fR" The OVS database (use \fB\-\-db\-file\fR to override this location). . .IP "\fIrundir\fB/openvswitch/db.sock\fR"