diff options
author | Aliasgar Ginwala <aginwala@ebay.com> | 2019-08-30 08:28:34 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-09-23 15:38:44 -0700 |
commit | 00de46f9ee425e7dff3e600ed2316043437cd819 (patch) | |
tree | a3308e8eec961ee1b974bec58b0dd10daef46388 /ovsdb/ovsdb-tool.1.in | |
parent | 45bd8c563273fb914ff1960a53cfdcfddb0a5588 (diff) | |
download | openvswitch-00de46f9ee425e7dff3e600ed2316043437cd819.tar.gz |
ovsdb-tool: Convert clustered db to standalone db.
Add support in ovsdb-tool for migrating clustered dbs to standalone dbs.
E.g. usage to migrate nb/sb db to standalone db from raft:
ovsdb-tool cluster-to-standalone ovnnb_db.db ovnnb_db_cluster.db
Acked-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Aliasgar Ginwala <aginwala@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/ovsdb-tool.1.in')
-rw-r--r-- | ovsdb/ovsdb-tool.1.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-tool.1.in b/ovsdb/ovsdb-tool.1.in index 6fdb4b5a5..3bdda8506 100644 --- a/ovsdb/ovsdb-tool.1.in +++ b/ovsdb/ovsdb-tool.1.in @@ -146,6 +146,14 @@ avoid this possibility, specify \fB\-\-cid=\fIuuid\fR, where \fIuuid\fR is the cluster ID of the cluster to join, as printed by \fBovsdb\-tool get\-cid\fR. . +.SS "Database Migration Commands" +This commands will convert cluster database to standalone database. +. +.IP "\fBcluster\-to\-standalone\fI db clusterdb" +Use this command to convert to standalone database from clustered database +when the cluster is down and cannot be revived. It creates new standalone +\fIdb\fR file from the given cluster \fIdb\fR file. +. .SS "Version Management Commands" .so ovsdb/ovsdb-schemas.man .PP |