Configure 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. Port numbers are assigned to models starting with the base number and incremented sequentially by 1 as models are created or accessed. The range should not be less than the expected number of models.
  1. Edit the SpectrumFolder\server\modules\hub\db\neo4j.properties file.
  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 SpectrumFolder\server\modules\hub\db\neo4j.properties to SpectrumFolder\server\modules\hub\db\model.ModelName\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 a model.ModelName folder override property assignments defined in the SpectrumFolder\server\modules\hub\db folder.
.