Upgrading AnzoGraph

A key area of growth in AnzoGraph 2.1, 2.2, and 2.3 releases is the development and support of custom, user-managed extensions, such as the Graph Data Interface for virtualization and Elasticsearch support. Most AnzoGraph releases include revisions to the API and prepackaged extensions.

Because of the frequency of updates and because the extensions directory (<install_path>/lib/udx) is user-managed rather than AnzoGraph- or installer-controlled, Cambridge Semantics recommends that you uninstall the existing version and install the new version instead of upgrading in-place.

Since AnzoGraph is stateless when used with Anzo and Anzo manages all of your data, removing the existing AnzoGraph files does not impact Anzo or your graphmarts.

Follow the instructions below to back up any custom files and remove the AnzoGraph directory before installing a new version.

Complete the steps below as the Anzo service user.
  1. First, run the following commands to stop the database and the system management daemon. On a cluster, run these commands on the leader node:
    sudo systemctl stop anzograph
    sudo systemctl stop azgmgrd
  2. Next, if you have custom configuration settings, make a backup copy of the <install_path>/config/settings.conf file on the leader node. Make sure that you choose a backup location that is outside of the AnzoGraph installation path.

    After installing the new version of AnzoGraph, you can overwrite the new settings.conf file with the backup copy.

  3. If you have custom JDBC drivers or user-defined extensions in the <install_path>/lib/udx directory, make sure those are also backed up in a separate location.

    After installing the new version of AnzoGraph, you can place the custom files back into the <install_path>/lib/udx directory on the leader node.

  4. Remove the AnzoGraph directory from the file system. You can remove AnzoGraph by deleting the installation directory or by running the <install_path>/uninstall script and following the prompts to remove the directory. On a cluster, remove the AnzoGraph directory on all nodes.

Once AnzoGraph has been uninstalled, follow the appropriate installation instructions in Install AnzoGraph to install the new version of AnzoGraph.

Related Topics