Running Services
  • 01 Nov 2023
  • 5 Minutes to read
  • Dark
    Light

Running Services

  • Dark
    Light

Article summary

To run services on the Edge iNode, first add a local network on the Edge iNode. (See instructions for adding a local network for your Edge iNode for your cloud environment in Chapter 4 Provisioning and Launching iNodes.)

In this section, we include the general instructions for running edge services as well as specific instructions for Niagara4 and SkySpark.

General Instructions for Running Services

To add a service, the steps include:

  • Adding the service to an Edge iNode
  • Associating it with a local network
  • Supplying service-specific options

In general, these are steps to run an iNode Edge service:

  1. From the iNodes page in the Secure Edge Portal, select the name of the Edge iNode to display the iNode details page.image28
  2. On the Services tab, select the plus icon (+) to display Add Service.image28 2
  3. Select a service. The following predefined services are available (for information on obtaining product licenses or other subscription inquiries, please reach out to Customer Success or Support):

        Marketplace Partners: These services require additional software licensing.
    • Mapped —  Independent data layer
    • Nantum —  Prescriptive data for building operators
    • Niagara 4 — Tridium N4 framework
    • Normal —  Installer for Building IoT
    • SkySpark — SkyFoundry SkySpark Analytics
    • ThingWorx Edge — ThingWorx Edge platform

      Open Source services: In addition, a collection of core infrastructure services may be available at no extra cost, if your company has licenses for Edge Compute (see Secure Edge Core Services).
    • Kea — An open-source Dynamic Host Configuration Protocol (DHCP) server. You can use this service to hand out and manage the IP addresses of hosts and services on your local network (requires the PostgreSQL service to store DHCP data).
    • PowerDNS — An open-source Domain Name System (DNS) server. You can use this service as a DNS server for hosts and services on your local network (requires the PostgreSQL service to store DNS data).
    • PostgreSQL — An open-source object-relational database system (required by the Kea and PowerDNS services to store data).
    • NTP — A Network Time Protocol server that runs the Debian 10 ntpd daemon. It uses the local clock as the time source. You can use this service to synchronize the clocks of all hosts on your local network.image29excerptYou can also select Custom to add a custom service, which is recommended only for advanced users. If you want to add a custom service, refer to the Creating a Custom Service for instructions.
  4. Enter the name for the service instance.ss1
  5. Select the Network to which this service instance will connect.
  6. If the Network for this service is configured to use dynamic service addressing (default), then the iNode allocates an IP address dynamically for the service instance. If the network is configured to use static service addressing, specify the static IP address for the service instance.
  7. You can configure DNS servers for the service. By default, the service uses the iNode's DNS Servers configuration. Current configuration is displayed under DNS Servers IP Address. (For more on configuring DNS servers, see Configuring DNS Servers for Services.)image29 3
  8. Fill in the service-specific options for the service you selected.
  9. Select Submit.

Running SkySpark as a Service

To run SkySpark as a service on an Edge iNode, follow the steps in this section.

Add SkySpark as a Service and Associate a Network

  1. From the iNodes page in Secure Edge Portal, select the name of the Edge iNode to display the iNode details page.
  2. On the Services tab, select the plus sign (+) on the top right to display Add Service.
  3. Select SkySpark.
  4. On the Add Service page, enter a name for this service instance.image31
  5. Select Next to go to the Network tab.ss 3
  6. You can configure DNS servers for the service. By default, the service uses the iNode's DNS Servers configuration. Current configuration is displayed under DNS Servers IP Address. (For more on configuring DNS servers, see Configuring DNS Servers for Services.)

Provide the SkySpark License and Enable Secure Shell Access

A license is required for running SkySpark. You can upload a new license or use a previously uploaded license.

  1. Select Next to go to the Secret tab.image32 2
  2. To upload a new license, select Upload a new License, enter a name for the license and specify the license file to upload. To use a license you’ve uploaded previously, choose Select a previously uploaded License and choose the license to use from Select License.
  3. If you want to access the service securely, you can optionally enable Secure Shell. To use Secure Shell, you need a public and private key pair. Provide the public key here. To specify a new public key, select Specify an SSH public key, enter a name for the key and paste the key as plain text or base64-encoded format. Otherwise, choose Select a previously specified SSH public key and select the key to use from Select SSH public key.
  4. Select Next to go to the Service tab.image32 3
  5. Select the SkySpark version.
  6. Select Accept the End User License Agreement to accept it.
  7. Select Submit.

You’ll find status and information on the newly added service in the Services tab. Select the name of the service to display the status and information on the containers in the service. When the service is successfully running, its status will change to HEALTHY. This may take a few minutes.

image33

Once the service is running, you can access the SkySpark instance from a browser using the IP address of the service. Use username su and the password that you specified above to login to SkySpark.

Running Niagara4 as a Service

To run Niagara4 as a service on an Edge iNode, follow these steps:

  1. From the iNodes page in Secure Edge Portal, select the name of the Edge iNode to display the iNode details page.
  2. On the Services tab, select the plus sign (+) on the top right to display Add Service.
  3. Select Niagara4.image34
  4. Enter the name for the Niagara service instance.
  5. Select the Network to which this service instance will connect.
  6. If the Network for this service is configured to use dynamic service addressing (default), then the iNode allocates an IP address dynamically for the service instance. If the network is configured to use static service addressing, specify the static IP address for the service instance.
  7. You can configure DNS servers for the service. By default, the service uses the iNode’s DNS Servers configuration. Current configuration is displayed under DNS Servers IP Address. (For more on configuring DNS servers, see Configuring DNS Servers for Services.)
  8. Select Accept the End User License Agreement to accept it.
  9. Select Submit.

You’ll find status and information on the newly added service in the Services tab. Select the name of the service to display the status and information on the containers in the service. When the service is successfully running, its status will change to HEALTHY. This may take a few minutes.

image35



Was this article helpful?