Upgrade Context Graph - spectrum_platform - 23 - 23.1

Spectrum Installation Guide for Windows

Product type
Software
Portfolio
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Spectrum Platform
Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Installation Guide for Windows
Topic type
How Do I
Overview
Installation
Configuration
First publish date
2007
ft:lastEdition
2023-11-03
ft:lastPublication
2023-11-03T19:05:52.996250

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.
  1. Before you upgrade to Spectrum Technology Platform 2023.1, back up model metadata using the CLI contextgraph schema export command. See Spectrum Administration Guide.
  2. Stop the Spectrum Technology Platform server.
  3. Check that all Spectrum Java processes on each machine are stopped before you start the upgrade.
  4. Perform the Spectrum Technology Platform upgrade and apply any updates. For more information, see Spectrum Server Upgrade.
  5. Start the Spectrum Technology Platform server.
If running Neo4j 4.4.x of the separate Neo4j Graph Database Server:
  1. Make sure the Neo4j Graph Database instance is running.
  2. 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.
  3. 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:

  1. Make sure you backup all Context Graph models from your current Neo4j Graph Database instance. See the Neo4j documentation on how to backup models.
  2. 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.
  3. 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/.

  4. Migrate the models using the neo4j-admin database migrate <databasename> command.

    Example: neo4j-admin database migrate modelName --force-btree-indexes-to-range

  5. Open Context Graph Visualization and make sure you can open and query a model.