[ovs-dev] [PATCH 14/14] xenserver: Upgrade and compact database on system boot.
Jesse Gross
jesse at nicira.com
Fri Feb 12 23:48:08 UTC 2010
Everything else in this set looks good.
On Fri, Feb 12, 2010 at 2:37 PM, Ben Pfaff <blp at nicira.com> wrote:
> This should take care of many of the OVSDB-related upgrade and downgrade
> problems reported by Nicira internal testers.
>
> Bug #2388.
> ---
> xenserver/etc_init.d_vswitch | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch
> index 95c6b80..480f9a9 100755
> --- a/xenserver/etc_init.d_vswitch
> +++ b/xenserver/etc_init.d_vswitch
> @@ -337,6 +337,9 @@ function start {
>
> action "Creating empty database $OVSDB_SERVER_DB" true
> $ovsdb_tool -vANY:console:emer create "$OVSDB_SERVER_DB"
> "$VSWITCHD_OVSDB_SCHEMA"
> + else
> + # Upgrade or downgrade schema and compact database.
> + $ovsdb_tool -vANY:console:emer convert "$OVSDB_SERVER_DB"
> "$VSWITCHD_OVSDB_SCHEMA"
> fi
>
> start_ovsdb_server
> --
> 1.6.6.1
>
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100212/0acdd844/attachment-0003.html>
More information about the dev
mailing list