Install SDC Edge
Download and install SDC Edge on each edge device where you want to run edge pipelines.
After installation, you can start SDC Edge manually. Or, you can register SDC Edge to run as a system service and then start SDC Edge as a service.
- Download the SDC Edge executable as a tarball or ZIP file from the Edge Data Collectors view in Control Hub.
- Download the SDC Edge executable as a tarball, ZIP file, or Windows MSI installer from the StreamSets Support portal.
- Run an SDC Edge container from the Docker image.
Downloading from Control Hub
You can download the SDC Edge executable as a tarball or ZIP file from Control Hub. Choose to enable Control Hub during the download to automatically register the SDC Edge with Control Hub.
Downloading from the StreamSets Support Portal
You can download the SDC Edge executable from the StreamSets Support portal as a tarball, ZIP file, or a Windows MSI installer for Windows operating systems.
Registering SDC Edge as a System Service
After installation, you can register SDC Edge to run as a system service on the edge device.
When you run SDC Edge as a system service, SDC Edge starts when the operating system is started and runs in the background. However, you cannot modify the log level when SDC Edge starts as a service. This task is available only when you manually start SDC Edge.
bin/edge -service install
Use the same command on all supported operating systems. On Linux
or Darwin, use sudo
to run the command as an administrator. On Windows,
open the command prompt as an administrator and then run the command.
sudo opt/local/streamsets-datacollector-edge/bin/edge -service install
The
registered system service is named "datacollector-edge" on all operating systems.After SDC Edge is registered as a system service, you can manage the service by running the following commands as an administrator. Or, if you register SDC Edge as a system service on Windows, you can also use the Windows Services Application to start, stop, and restart the service.
SDC Edge Service Command | Description |
---|---|
bin/edge -service start
|
Start the SDC Edge service. |
bin/edge -service stop
|
Stop the SDC Edge service. |
bin/edge -service restart
|
Restart the SDC Edge service. |
bin/edge -service uninstall
|
Uninstall the SDC Edge service. |
bin/edge -service status |
Displays the status of the SDC Edge service. |
Running from Docker
You can run a SDC Edge container from the StreamSets Data Collector Edge Docker image.
docker run --publish 18633:18633 --name edge --rm streamsets/datacollector-edge
After the installation, manually register the SDC Edge to work with Control Hub.