Tutorial

SGS

SGS provides the function to create a SGS environment with one click and manage SGS. Supported operations include: start, stop, restart and remove operations. The spatial temporal cloud platform relies on the Docker environment. Each service is served in a Docker container manner.

SGS Contains Services

  • portal: SGS service main entrance, which serves as the platform portal for external services
  • geoesb: GEO-ESB cloud zone, service bus
  • analysis: GIS analysis cloud zone, with the support of iServer services
  • activemq: Message server
  • oracle: oracle database
  • mongodb: mongodb database
  • redis: redis database
  • idesktop: Virtual desktop

Create SGS

On SGS page, click the “Create SGS” button, enter SGS name, SGS external port and mule external port. Moreover, you can select advanced options for more detailed configuration.

createsgs

  • SGS name (required): SGS name.
  • sgs external port (required): The port mapped to the host by the portal service, which is used to communicate with the geoesb service.
  • mule external port (required): The port mapped to the host by the geoesb service, which is used to communicate with the portal service.
  • mongo external port: The port mapped to the host by the mongo service. The port of the mongo service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • redis external port: The port mapped to the host by the redis service. The port of the redis service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • oracle external port: The port mapped to the host by the oracle service. The port of the oracle service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • activemq external port: The port mapped to the host by the activemq service. The port of the activemq service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • activemq external port 2: The port mapped to the host by the activemq service. The port of the activemq service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • iserver external port: The port mapped to the host by the iserver service. The port of the iserver service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • idesktop external port 1: The port mapped to the host by the idesktop service. The port of the idesktop service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.
  • idesktop external port 2: The port mapped to the host by the idesktop service. The port of the idesktop service can be fixed to avoid changes to the port caused by starting and restarting operations. It is required that the port on the host is not occupied. If not specified, a random port will be assigned.

Check SGS

sgssinglelist

You can view the details of all of the spatial temporal cloud platform environments created by the current system by clicking on SGS page. You can click the corresponding SGS name or the “Details” button to view the details. As below:

sgssingledetail

On the Details page, the list section corresponds to the access address of each service or the IP and port required to access the service. The chart section is the monitoring graph of the load information of the current SGS. The monitoring indicators mainly include: container CPU useage rate, container memory useage, and container upload, download traffic. For a single monitoring graph, two operations are defined in the upper-right corner Select Time Period button and the Collapse/Expand button. The Select Time Period button allows you to specify the monitoring time range, and the Collapse/Expand button can provide a chart that hides or displays current monitoring graph.

Manage SGS

SGS page provides SGS startup, stop, reboot, and remove functions. These functions apply to all the containers under the current SGS. SGS details page provides the ability to start, stop, reboot, and view logs for a single container. These features only apply to the operated container, with no affect to other containers.