Assigning Labels to an SDC Edge

You can assign labels to an SDC Edge in the following ways:

SDC Edge configuration file

Define labels for the job-labels property in the SDC Edge configuration file, <SDCEdge_home>/etc/edge.conf.

Control Hub UI

View the details of a registered SDC Edge in the Control Hub UI and then add the label.

The following image shows an SDC Edge assigned two labels. The "all" label was assigned in the SDC Edge configuration file, and so can only be deleted by modifying the configuration file again. The Production label was assigned in the Control Hub UI, and so can be deleted by clicking the X next to the label name.

Using the SDC Edge Configuration File

You can assign labels by defining them in the SDC Edge configuration file: <SDCEdge_home>/etc/edge.conf. Edit the file to assign and delete labels for an SDC Edge.

By default, the edge.conf file for each SDC Edge is configured to use an "all" label. Keep the default "all" label for each SDC Edge if you plan to start some jobs on all registered Edge Data Collectors. If you do not plan to start jobs on all registered Edge Data Collectors, then remove the default label.

  1. On the edge device, use a text editor to open the <SDCEdge_home>/etc/edge.conf file.
  2. Modify the value of the job-labels property. To assign multiple labels, enter a comma-separated list of labels.
    For example, to remove the default "all" label and to assign a Finance label and a Production label, define the property as follows:
    job-labels = ["Finance", "Production"]
  3. Restart SDC Edge to enable the changes.
    When you log in to Control Hub and view the details for this SDC Edge, you'll see the new labels.

Using the Control Hub UI

You can assign labels when you view the details of a registered SDC Edge within Control Hub.
  1. In the Navigation panel, click Execute > Edge Data Collectors.
  2. Expand the SDC Edge details that you want to assign a label to.
  3. Click Enter New Labels, type the label, and then hit Enter.
  4. Click Save.