Hint: Under construction
Table of Contents |
---|
Overview
User documentation: SDN-R Upgrade Procedure
...
- SDNRDBURL="http://sdnrdb:9200"
- SDNRDBUSERNAME="fdjafls"
- SDNRDBUSERPASSWORD="57!232#"
Structure
...
In Elasticsearch(ES) there are no database and datatables. Instead there are indices and doctypes. Since version 5.0 of ES only one doctype per index is allowed, so that we can say our index equals the table in a normal relational database like mariadb.
Examples
get help
Code Block |
---|
java -jar $ODL_HOME/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/0.7.1-SNAPSHOT/sdnr-dmt.jar
:
usage: SDNR DataMigrationTool
-c,--cmd <arg> command to execute
-db,--dburl <arg> database url
-dbp,--db-password <arg> database basic auth password
-dbu,--db-username <arg> database basic auth username
-f,--force-recreate delete if sth exists
-if,--input-file <arg> file to read from
-k,--trust-insecure trust insecure ssl certs
-n,--silent prevent console output
-of,--output-file <arg> file to write into
-p,--prefix <arg> prefix for db indices
-r,--replicas <arg> amount of replicas
-s,--shards <arg> amount of shards
-v,--version <arg> version
-w,--wait <arg> wait delay for yellow status
-x,--verbose verbose mode
Commands:
init initialize databse indices and aliases
delete clear database indices and aliases
pluginfile create maven plugin file
import import data into database
export export data from database
list list release versions |
init database (for startODL.sh)
...