Step 5: Customizing the Enovia Server on Unix

This task explains how to customize the ENOVIA server.

Once you have finished, both the specific setup steps for the ENOVIA database and for the ENOVIA Client installation, you will need to customize the ENOVIA server.

Two types of methods are available:
 

 

Automatic Customization

  1. Copy the Enovia generated shell (in our example Generated_Shell) in the code/command directory of the ENOVIA Server.

  2. Execute the Generated_Shell.sh followed with the required path (where your SPATIAL.CATSettings file is to be created).

    ...code/command> . Generated_Shell.sh /u/users/CATSettings

    The SPATIAL.CATSettings file will be created in /u/users/CATSettings

    If you edit the SpE matching list, do not forget to modify the Enovia server customization accordingly.

Manual Customization

  1. Create a SPATIAL.CATSettings file where the CATUserSettingPath should be located. This operation enables the ENOVIA connection to the Spatial Indexes. ENOVIA application warns all spatial indexes for modifications in database and spatial indexes are updated accordingly.

  2. Execute the following commands in the code/command directory of the ENOVIA server:

    ./catstart -run "VPMSettings -h" provides utility help

    touch SPATIAL.CATSettings updates the access and modification times of a file

    ./catstart -run "VPMSettings -f SPATIAL -a -n DMU_SPATIAL_INDEX_HOST_NUMBER -v num"

    For each spatial index to declare, run the following command: (i being a number incremented from 1 to num)

    ./catstart -run "VPMSettings -f SPATIAL -a -n DMU_SPATIAL_INDEX_HOST_i -v 'prc_name:hostname'"

    num corresponds to the number of the to be-declared spatial index hosts.

    Example: 2 hosts to be declared

    Zeus and Knossos are declared as spatial indexes recognized by the
    ENOVIA LCA Server, respectively indexing Car_1 or Car_2

    ./catstart -run "VPMSettings -f SPATIAL -a -n DMU_SPATIAL_INDEX_HOST_NUMBER -v 2"

    ./catstart -run "VPMSettings -f SPATIAL -a -n DMU_SPATIAL_INDEX_HOST_1 -v Car_1:Zeus"

    ./catstart -run "VPMSettings -f SPATIAL -a -n DMU_SPATIAL_INDEX_HOST_2 -v Car_2:Knossos"