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, ZIP file, or Windows MSI installer from the StreamSets Support portal.
- Run an SDC Edge container from the Docker image.
Downloading SDC Edge
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.
-
Download SDC Edge from the StreamSets Support portal.
The downloaded file includes the SDC Edge executable.
-
Install the downloaded file based on the file type:
- For a tarball or ZIP file, move the downloaded file to the edge device
and then extract the downloaded file.For example, use the following command on Linux to extract the tarball to the desired location on the edge device, typically /opt/local:
tar xf streamsets-datacollector-edge-<version>-<os>-<architecture>.tgz
- For a Windows MSI installer, move the downloaded file to the edge device
and then run the installer.
Or, you can use the command line to remotely install the MSI file on any Windows machine in the network. For details, see Microsoft Windows documentation.
- For a tarball or ZIP file, move the downloaded file to the edge device
and then extract the downloaded file.
Registering SDC Edge as a System Service
After installation, you can register SDC Edge to run as a system service named on the edge device.
- Start an edge pipeline at the same time that SDC Edge starts.
- Modify the log level.
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 an SDC Edge container from the StreamSets Data Collector Edge Docker image.
docker run --publish 18633:18633 --name edge --rm streamsets/datacollector-edge
Uninstalling SDC Edge
Uninstall SDC Edge based on whether you started SDC Edge manually or as a service:
- Manual start
-
- To shut down SDC Edge, type Ctrl+C in the command prompt.
- Remove the SDC Edge home directory from the edge device.
- Service start
-
- To stop SDC Edge, run the following
command as an administrator from the SDC Edge home
directory:
bin/edge -service stop
For example, you might run the following command on Linux:sudo opt/local/streamsets-datacollector-edge/bin/edge -service stop
- To uninstall SDC Edge as a service, run the
following command as an administrator from the SDC Edge home
directory:
bin/edge -service uninstall
For example, you might run the following command on Linux:sudo opt/local/streamsets-datacollector-edge/bin/edge -service uninstall
- Remove the SDC Edge home directory from the edge device.
- To stop SDC Edge, run the following
command as an administrator from the SDC Edge home
directory: