Configure the Map File Share - spectrum_platform - 23.1

Spectrum Installation Guide for Windows

Product type
Software
Portfolio
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Spectrum Platform
Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Installation Guide for Windows
Copyright
2024
First publish date
2007
Last updated
2024-12-10
Published on
2024-12-10T17:43:49.851537

To configure the map file share (a shared image folder) to Spectrum Technology Platform, you first need a shared map image directory.

Note: To create a Linux map file share, see Creating a Map Image File Share on Linux.
Note: To create a Windows map file share, see Creating a Map Image File Share on Windows.

Once a map image directory has been created, configure the map file share:

  1. Modify the Mapping Service configuration by pointing to a shared image folder and load balance server. In the ImageCache change the Directory parameter to a common image directory, and change the AccessBaseURL parameter to the load balancer machine image URL.

    If you are using a virtual machine environment, remember this IP address, as you must set the load balancer VM to this IP address.

    For Linux installations:

    <ImageCache>
    <Directory>/<spatial server root>/server/modules/spatial/images</Directory>
    <AccessBaseURL>http://<loadbalance_IP_address>/rest/Spatial/
    MappingService/internal/imageCache</AccessBaseURL>
    	<FileExpire>30</FileExpire>
    	<ScanInterval>30</ScanInterval>
    </ImageCache>

    For Windows installations:

    <ImageCache>
    <Directory>\\server\Share\images</Directory>	
    <AccessBaseURL>http://<loadbalance_IP_address>/rest/Spatial/MappingService/
    internal/imageCache
    </AccessBaseURL>
    	<FileExpire>30</FileExpire>
    	<ScanInterval>30</ScanInterval>
    </ImageCache>
  2. For Linux installations, you must set up a symbolic link to enable map images to go to the shared file system.
    Create an images subfolder in the mounted share folder, for example, /mnt/<linux mount>/images
    cd /<spatial server root>/server/modules/spatial
    rm –Rf images
    ln -s /mnt/<linux mount>/images ./images