Setting Port Numbers for Model Backups

This section describes how an administrator can change port numbers for both automatic assignments to models and manual assignment for a particular model.

Configure port assignments for model backups to avoid or eliminate conflicts with other port assignments on a server.

Automatically assign model backup ports for models

This procedure describes how to assign a range of port numbers for automatic assignment to models. Port numbers are assigned sequentially to models as they are created or accessed.

Specify a range of port numbers to use for backups of models. The range should exceed the expected number of models. Port numbers are assigned to models starting with the base number and incremented sequentially by 1 as models are created or accessed.
  1. Specify a starting base port number in the <Spectrum™ Technology Platforminstall path>/server/modules/hub/db/neo4j.properties file.
    Ports will increment sequentially starting at this base port plus 1 and will be assigned to models as they are created or accessed.
  2. Set the dbms.backup.address property to a range of allowed port values.
    The range should exceed the number of models on the server. If necessary, remove the # character to uncomment this setting.
    For example, dbms.backup.address=:6372-6627
  3. Save the file.

Manually assign a model backup port for a model

This procedure describes how to manually assign a port number to a model for online backup.

  1. Copy the neo4j.properties file from <Spectrum™ Technology Platforminstall path>/server/modules/hub/db/neo4j.properties to <Spectrum™ Technology Platforminstall path>/server/modules/hub/db/model.<model name>/neo4j.properties.
  2. Edit this model-specific properties file by setting the dbms.backup.address property to an explicit port number.
    If necessary, remove the # character to uncomment this setting, and specify a single port number.
    For example, dbms.backup.address=:6373
  3. Save the file.
Note: Properties defined for a model in hub/db/modelmodel_name/neo4j.properties override property assignments defined in the default file hub/db/neo4j.properties.
.