X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-ctl.8;h=8cbd3cf8e6fde4a8ff85cc1068b5443f8da2a376;hb=7d5735b3e4eaa63593f2e4836bbad6ccfba8af54;hp=6a1315f8844fa69bf02bcb0be65a1a1023e07b5d;hpb=7bb8f953527f8150dd5c2e50353a50ecd15e4427;p=openvswitch diff --git a/utilities/ovs-ctl.8 b/utilities/ovs-ctl.8 index 6a1315f8..8cbd3cf8 100644 --- a/utilities/ovs-ctl.8 +++ b/utilities/ovs-ctl.8 @@ -183,6 +183,37 @@ suppresses that behavior. 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. +. +.IP "\fBglibc\fR" +Enable GNU C library features designed to find memory errors. +.RE +. +.IP +By default, no wrapper is used. +. +.IP +Each of the wrappers can expose bugs in Open vSwitch that lead to +incorrect operation, including crashes. The \fBvalgring\fR and +\fBstrace\fR 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. The \fBglibc\fR wrapper is less +resource-intensive but still somewhat slows the daemons. +. .PP The following options control file locations. They should only be used if the default locations cannot be used. See \fBFILES\fR, below, @@ -198,6 +229,12 @@ Overrides the file name for the Unix domain socket used to connect to .IP "\fB\-\-db\-schema=\fIschema\fR" Overrides the file name for the OVS database schema. . +.IP "\fB\-\-extra-dbs=\fIfile\fR" +Adds \fIfile\fR as an extra database for \fBovsdb\-server\fR to serve +out. Multiple space-separated file names may also be specified. +\fIfile\fR should begin with \fB/\fR; if it does not, then it will be +taken as relative to \fIdbdir\fR. +. .SH "The ``stop'' command" . .PP @@ -370,6 +407,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" @@ -397,7 +435,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"