Assigning Labels to a Data Collector

You can assign labels to a Data Collector in the following ways:

Control Hub configuration file

Define labels for the dpm.remote.control.job.labels property in the Control Hub configuration file, $SDC_CONF/dpm.properties.

Control Hub UI

View the details of a registered Data Collector in the Control Hub UI and then add the label. You can use the UI to assign labels to all registered Data Collectors - either manually administered or automatically provisioned.

The following image shows a Data Collector assigned two labels. The Production label was assigned in the Control Hub configuration file, and so can only be deleted by modifying the configuration file again. The "western region" label was assigned in the Control Hub UI, and so can be deleted by clicking the X next to the label name.

Using the Control Hub Configuration File

You can assign labels by defining them in the Control Hub configuration file used by each Data Collector: $SDC_CONF/dpm.properties. Edit the file to assign and delete labels for a Data Collector.

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

  1. On the Data Collector machine, use a text editor to open the $SDC_CONF/dpm.properties file.
  2. Modify the value of the dpm.remote.control.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:
    dpm.remote.control.job.labels=Finance,Production
  3. Restart Data Collector to enable the changes.
    When you log in to Control Hub and view the details for this Data Collector, you'll see the new labels.

Using the Control Hub UI

You can assign labels when you view the details of a registered Data Collector within Control Hub. You can use the UI to assign labels to all registered Data Collectors - either manually administered or automatically provisioned.

  1. In the Navigation panel, click Execute > Data Collectors.
  2. Expand the Data Collector details that you want to assign a label to.
  3. Click Enter New Labels, type the label, and then hit Enter.
  4. Click Save.