Upgrading a Corda (open source) Node to Corda Enterprise
Upgrading the version of Corda on a node
CorDapps, contracts and states written for Corda 3.x and Corda 4.x are compatible with Corda Enterprise 4.0, so upgrading existing open source Corda nodes should be a simple case of updating the Corda JAR. For developer information on recompiling CorDapps against Corda Enterprise, see upgrade-notes.
Upgrading the Node
See Upgrading your node to Corda 4 for general instructions on upgrading your node.
When upgrading an existing node from Corda 3.x or Corda 4.x to Corda Enterprise, the node operator has the option of using one of the enterprise database engines that are supported (see Node database). We highly recommend moving away from the default H2 database when setting up a production node.
Migrating existing data from a Corda 4.0 H2 database to a Corda Enterprise 4.0 supported database
Create database schema following one of 3 possible procedures, depending on the database user permissions and preferred database upgrade policy>
Database Management Tool generates DDL script to be run manuallyExecute the first 3 steps: Essential preparation before the first installation, Extract DDL script using Database Management Tool, Apply DDL scripts on a database.
Migrate data from H2 databaseThe migration from H2 database requires a third party specialized tool. Your organisation may need to purchase a licence to use it. Please contact R3 for further advice.