[ovs-dev] [PATCH ovn] docs: Specify the ovsdb-server command with database, pid and logfile.
Numan Siddique
numans at ovn.org
Thu Jan 28 08:26:48 UTC 2021
On Thu, Jan 28, 2021 at 12:13 PM <numans at ovn.org> wrote:
>
> From: xieyanker <xjsisnice at gmail.com>
>
> Submitted-at: https://github.com/ovn-org/ovn/pull/69
> Signed-off-by: xieyanker <xjsisnice at gmail.com>
Thanks for the PR. I applied this patch to master.
Numan
> ---
> Documentation/intro/install/general.rst | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst
> index 65b1f4a40..8a2808d60 100644
> --- a/Documentation/intro/install/general.rst
> +++ b/Documentation/intro/install/general.rst
> @@ -379,18 +379,18 @@ Configure ovsdb-servers to use databases created above, to listen on a Unix
> domain socket and to use the SSL configuration in the database::
>
> $ mkdir -p /usr/local/var/run/ovn
> - $ ovsdb-server --remote=punix:/usr/local/var/run/ovn/ovnnb_db.sock \
> + $ ovsdb-server /usr/local/etc/ovn/ovnnb_db.db --remote=punix:/usr/local/var/run/ovn/ovnnb_db.sock \
> --remote=db:OVN_Northbound,NB_Global,connections \
> --private-key=db:OVN_Northbound,SSL,private_key \
> --certificate=db:OVN_Northbound,SSL,certificate \
> --bootstrap-ca-cert=db:OVN_Northbound,SSL,ca_cert \
> - --pidfile --detach --log-file
> - $ovsdb-server --remote=punix:/usr/local/var/run/ovn/ovnsb_db.sock \
> + --pidfile=/usr/local/var/run/ovn/ovnnb-server.pid --detach --log-file=/usr/local/var/log/ovn/ovnnb-server.log
> + $ ovsdb-server /usr/local/etc/ovn/ovnsb_db.db --remote=punix:/usr/local/var/run/ovn/ovnsb_db.sock \
> --remote=db:OVN_Southbound,SB_Global,connections \
> --private-key=db:OVN_Southbound,SSL,private_key \
> --certificate=db:OVN_Southbound,SSL,certificate \
> --bootstrap-ca-cert=db:OVN_Southbound,SSL,ca_cert \
> - --pidfile --detach --log-file
> + --pidfile=/usr/local/var/run/ovn/ovnsb-server.pid --detach --log-file=/usr/local/var/log/ovn/ovnsb-server.log
>
> .. note::
> If you built OVN without SSL support, then omit ``--private-key``,
> --
> 2.29.2
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
More information about the dev
mailing list