4 Upgrade to Version 21
Before you begin the upgrade process, take a snapshot of the current state of the virtual machine (VM). Rollback from version 21.1.2 is not supported.
Enable Transport Layer Security
The built-in LDAP server that is bundled with Oracle Blockchain Platform Enterprise Edition Version 21 supports only Transport Layer Security (TLS) connections on port 636.
Note:
If you currently use the built-in LDAP server with TLS disabled, you must complete the following steps to enable TLS before attempting to upgrade to Version 21.- Open the Configuration tab.
- Under Authentication Servers, select Default and set TLS Enabled to True.
- Click Test Configuration to ensure that the settings work.
- Click Save, then click Set Active.
- Open the Instances tab.
- For each instance that uses the built-in LDAP server, click the instance name to open the Instance Details page. From the Actions menu, use the Update option, select Update Auth Server Configuration, and then complete the update.
Patch to v19.3.6
Patch the instance to version 19.3.6.
You must complete the intermediate step of patching Blockchain Platform Manager and all founder and participant instances to version 19.3.6 before you upgrade to Version 21. For more information, see Patch an Instance to v19.3.5 or Later.
Check Available Disk Space
Each instance requires approximately 35 GB available disk space to upgrade to Version 21.1.2.
Upgrade Instances to Version 21
You upgrade from Version 19 to Version 21 by patching instances. However, you must run also run a script after registering the patch and before applying the patch.
Update External Load Balancer Port Mapping
All instances that use an external load balancer must be reconfigured after upgrading to Version 21.
Configure Raft Consensus Protocol
Version 21 of the product uses Raft-based ordering instead of Kafka-based ordering. You change the consensus type from Kafka to Raft by collecting channel and instance information and running scripts.
- In the Blockchain Platform Manager virtual machine (VM) and in all instance
VMs, navigate to the
/u01/blockchain/cp/config/scripts-21.1.2
directory, then from the root account run theconfig-obplog.sh
script to redirect logs from/var/log/messages
to/u01/obp-logs/
. - In all instance VMs, complete the following steps.
- On all participant instances, import the ordering service settings from the
founder instance.
- On each data plane VM, navigate to the
/u01/blockchain/cp/config/scripts-21.1.2
, and in sudo mode run the following command:sh patchUpdates.sh -VMType instance
. - Open the Instances tab in Blockchain Platform Manager and then, for each instance that you upgraded, click the instance name to open the Instance Details page.