Add tiling node

Feedback


In the Distributed Map Tiling service, the server which creates the tiling task is called TileMaster, while other nodes clustered with TileMaster are called TileWorker(s). The deployment of the tiling environment, the creation and monitoring of the tiling tasks are conducted on TileMaster. TileWorkers don't need to do any settings. After the tiling task is created, the data will be automatically deployed to the TileWorkers. Any changes occurring on the TileMaster will synchronize to TileWorkers. For the distributed tiling principle and the internal communication mechanism, please refer to Distributed Tiling mechanism.

According to the map scale and geographic extent, TileMaster divides the tiling task into multiple fine-grained task units, and dispatches task units to proper TileWorkers. Every TileWorker executes the task units and report its working status to TileMaster.

The tiling node is added by Cluster mechanism. The cluster parent node is TileMaster, and TileWorker can be added by configuring the iserver-system.xml file:

<server> 
  ...
  <clustering> 
    <reporters> 
      <reporter> 
        <enabled>true</enabled>  
        <address>http://tilemaster:8090/iserver/services/cluster</address> 
        <isTileWorker>true</isTileWorker> 
      </reporter> 
    </reporters>  
    ...
  </clustering>  
  ...
</server>

If the TileWorker joins the TileMaster in a controlled manner, it is also necessary to modify the following section:

<server> 
  ...
  <clustering> 
    <controllable> 
        <enabled>true</enabled>  
        <address>http://tilemaster:8090/iserver/services/cluster</address> 
        <isTileWorker>true</isTileWorker> 
    </controllable>  
    ...
  </clustering>  
  ...
</server>

Where, <enabled/> can start reporter, <address/> is the URL of the cluster server, <isTileWorker/> identifies the server as the TileWorker. After modifying iserver-system.xml, restart your iServer. Then, TileWorker will automatically receive the tiling data and task units from TileMaster, and join in the distributed tiling.

Note: After finishing to create the tile task, tile main node will push all data under folders of tile data workspace (*.smwu、*.sxwu) to the child node, so please put tile data and other data in the different directories.