Before you begin this procedure, read Upgrading a Cluster, and make sure you have performed the prerequisites described there.
To upgrade Spectrum Technology Platform with Context Graph, perform the following steps.
Note: See supported Upgrade Paths. Make sure that you follow the appropriate upgrade path for the currently installed version of Spectrum that you want to upgrade.
If running Neo4j 4.4.x of the separate Neo4j Graph Database Server cluster:
- Make sure the Neo4j Graph Database cluster instance is running.
- Sign into the Spectrum Management Console and click Resources > Context Graph Repository Configuration. Click the Test button to test the connection settings are still working with the Neo4j Graph Database cluster instance.
If you are upgrading and migrating from Neo4j 4.4.x to the latest 5.x.x version of the separate Neo4j Graph Database Server cluster:
- Make sure you backup all Context Graph models from your Neo4j 4.4.x Graph Database installation.
- Install the Neo4j Graph Database 5.x.x version in a cluster. Make sure the cluster instance is running. See Installing a Cluster for Context Graph.
- Restore the Neo4j 4.4.x backup models on one of the Neo4j 5.x cluster nodes.
Example: neo4j-admin database restore --from-path=C:/model_backups/modelName.
See https://neo4j.com/docs/upgrade-migration-guide/current/.
- Migrate the models using the neo4j-admin database migrate <databasename> command.
Example: neo4j-admin database migrate modelName --force-btree-indexes-to-range.
- From the Neo4j Browser, run the command SHOW SERVERS YIELD * on one of the nodes in the cluster to get the ServerId for the node you restored the model on. See https://neo4j.com/docs/operations-manual/5/clustering/.
- From the Neo4j Browser, run the command:
.CREATE DATABASE <databasename> TOPOLOGY 3 PRIMARIES 0 SECONDARIES OPTIONS {existingData: 'use', existingDataSeedInstance: 'ServerId'}
- After upgrading and migrating the Context Graph models to the Neo4j 5.x Graph Database cluster, open Context Graph Visualization and make sure you can open and query a model.