Perforce IPLM High Availability with HAProxy and Neo4j cluster: Installation

Previous step: IPLM High Availability with HAProxy and Neo4j cluster

Install IPLM Server plugin and Neo4j Enterprise software

Neo4j cluster requires minimum of three nodes to operate properly. Each node must be installed with Neo4j Enterprise 3.5.3 software and IPLM Server Neo4j plugin.

When upgrading IPLM Server, upgrade the IPLM Server Neo4j plugin on ALL nodes in the cluster.  The mdx-piserver version and the mdx-piserver-neo4j-plugin must be at the same version.

Install IPLM Server plugin, then Verify correct IPLM Server plugin version.

Verify correct IPLM Server plugin version

There is no direct method to check the IPLM Server plugin version in the file itself. To make verification easier, make sure there is only one jar file in the plugin folder and keep backup versions elsewhere, for example in ../plugin-bck.

There are four options for verifying that the correct plugin version is used (The version should match IPLM Server version):

  • Run the following API command against EACH IPLM Server in the cluster:

    curl -s -L 'localhost:8080/public/v1/system/info'

    Then compare the server and extension versions in the JSON return payload.

  • Search the Neo4j log file and look at the last entries:

    % grep -e "Neo4j version:" -e "Pi extension version:" /var/log/mdx-neo4j/neo4j.log 
    
    2021-09-29 20:11:07.136-0700 INFO Neo4j version: 3.5.3 
    2021-09-29 20:11:07.137-0700 INFO Pi extension version: 3.1.3
  • Check file size and/or checksum against a known version (see the next option)

  • Extract the plugin from the package file and use checksums:

    $ sudo yum install --downloadonly --downloaddir=. mdx-piserver-neo4j-plugin 
    $ rpm2cpio mdx-piserver-neo4j-plugin-3.1.3-21.08.09.14.33.58.noarch.rpm | cpio -id 
    $ find 
    . 
    ./mdx-piserver-neo4j-plugin-3.1.3-21.08.09.14.33.58.noarch.rpm 
    ./usr 
    ./usr/share 
    ./usr/share/mdx 
    ./usr/share/mdx/products 
    ./usr/share/mdx/products/piserver-neo4j 
    ./usr/share/mdx/products/piserver-neo4j/dbms 
    ./usr/share/mdx/products/piserver-neo4j/dbms/auth 
    ./usr/share/mdx/products/piserver-neo4j/plugin 
    ./usr/share/mdx/products/piserver-neo4j/plugin/mdx_plugins.jar 
    ./usr/share/mdx/products/piserver-neo4j/scripts 
    ./usr/share/mdx/products/piserver-neo4j/scripts/neo4j.env

Select the installation instructions for your configuration

Next step: Perforce IPLM High Availability with HAProxy and Neo4j cluster: Manage and configure Neo4j cluster