The Spectrum Technology Platform Context Graph models are stored separately on a separate Neo4j Graph Database Server. To upgrade 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.
- Before you upgrade to Spectrum Technology Platform 2023.1, back up model metadata using the CLI contextgraph schema export command. See Spectrum Administration Guide.
- Stop the Spectrum Technology Platform server.
- Check that all Spectrum Java processes on each machine are stopped before you start the upgrade.
- Perform the Spectrum Technology Platform upgrade and apply any updates. For more information, see Spectrum Server Upgrade.
- Start the Spectrum Technology Platform server.
If running Neo4j 4.4.x of the separate Neo4j Graph Database Server:
- Make sure the Neo4j Graph Database 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 instance.
- Open Context Graph Visualization and make sure you can open and query a model.
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:
- Make sure you back up all Context Graph models from your current Neo4j Graph Database instance. See the Neo4j documentation on how to back up models.
- Install the Neo4j Graph Database 5.x.x version. Make sure the Neo4j Graph Database instance is running. See Installing Context Graph on page 26.
-
Restore the Neo4j 4.4.x back up 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
- Open Context Graph Visualization and make sure you can open and query a model.