upgrade heading-link-icon

This section lists the Corda CLI A command line tool that supports various Corda-related tasks, including Corda Package Installer (CPI) creation and Corda cluster management. upgrade sub-commands and arguments. Use these commands to migrate data as part of the platform upgrade process from version 5.2 to 5.2.1.

ArgumentDescription
migrate-data-5-2-1Reads records from Kafka and generates SQL for persisting them to the cluster database.
ArgumentDescription
-b, --bootstrap-serverThe address of the bootstrap server.
--kafka-configThe path to the Kafka configuration file.
-n, --name-prefixThe name prefix for topics.
--timeoutTimeout, in milliseconds, to read from Kafka. If not specified, defaults to 3000.
-l, --locationThe directory to write all files to.
-t, --targetThe target address of the REST endpoint, for example, https://host:port.
-u, --userThe REST user name.
-p, --passwordThe REST password.
-pv, --protocol-versionMinimum protocol version. If not specified, defaults to 1.
-y, --yieldThe duration, in seconds, before the REST connection becomes available. If not specified, defaults to 10 seconds.
-k, --insecureAllows insecure server connections with SSL. If not specified, defaults to false.
corda-cli.sh upgrade migrate-data-5-2-1 -b <BOOTSTRAP-SERVERS> --kafka-config <CLIENT-PROPERTIES-FILE> -t <REST-URL> -u <USER> -p <PASSWORD>
corda-cli.cmd upgrade migrate-data-5-2-1 -b <BOOTSTRAP-SERVERS> --kafka-config <CLIENT-PROPERTIES-FILE> -t <REST-URL> -u <USER> -p <PASSWORD>
Previous
topic
Next
vnode

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.