Configuring and managing iServer DataStore |
Open the necessary ports: the default port of iServer DataStore is 8020, please modify the firewall configuration to make the port getting through.
Set map_map_count, the maximun number of memory-mapped areas in the process. The default value is 65536, and it needs to be adjusted to at least 655360. Modify methods: switch to the root user, edit the sysctl.conf file:
vi /etc/sysctl.conf
Add the following configuration, save it and execute command: sysctl -p
vm.max_map_count=655360
Set file-max which signifies the number of file handles that Linux can open. The default value is 4096 and it needs to be adjusted to at least 65536. Modify mechods: edit /etc/security/limits.conf file, add following contents:
* soft nofile 65536
* hard nofile 65536
* soft nproc 65536
* hard nproc 65536
Check whether the 90-nproc.conf file exists under the /etc/security/limits.d directory. If not, create this file and add the following contents:
* soft nproc 65536
* hard nproc 65536
Installing iServer DataStore on all Linux systems has some requirements on the product destination directory and the operation user. The steps are as follows:
Create a non-root user in operating system, such as datastoreUser
Copy the supermap_iserver_datastore_*_*_*_linux64.tar.gz package and place it under the datastoreUser's home directory, such as: /home/datastoreUser
Log in to operating system with datastoreUser account, execute command " tar -zxvf fileName.tar.gz" to extract the tar package to get the directory supermap_iserver_datastore_*_*_*_linux64
Log in to operating system with datastoreUser account, in $SuperMapiServerDataStore11i(2023)/bin directory execute command " ./startup.sh" to start SuperMap iServer DataStore service and run "./shutdown.sh" to stop SuperMap iServer DataStore service.
First, you start up iServer, and confirm your iServer has made initial configuration. Prepare multiple machines, and follow the guide to configure iServer DataStore at each machine:
Unzip iServer DataStore
Key in URL: http://{ip}:8020 at browser to visit iServer DataStore configure guide
Specify GIS server URL. e.g., http://{ip}:8090
Input iServer administrator username, password
Specify content catalog for storing data, logs, backup files, etc. The default catalog is [iServer DataStore installation path]\data. Note: Currently, the path of iServer DataStore does not support Chinese and space characters.
Select the data type you want to create. Currently it supports relation database and binary data file.
The storage capability of binary data depends on MongoDB. You have to install MongoDB locally, Select to create binary data storage, and specify the local MongoDB installation path, such as D:\mongodb.
Wait until configuration completes.
Data at iServer DataStore can be used for iServer distributed analysis service. In addition, operations on data storage can be provided as REST resources through iServer. Pleae see data catalog service.