dsstestlocation - DSS 6 | Data Source Solutions Documentation
Documentation: dsstestlocation - DSS 6 | Data Source Solutions Documentation
dsstestlocation
Usage
<b>dsstestlocation</b> [<b>-R</b><em>url</em>] [<b>-l</b><em>x</em>]... [<b>-v</b>] <em>hub</em>Test all or specific locations on hub.<b>dsstestlocation</b> [<b>-R</b><em>url</em>] [<b>-l</b><em>x</em>]... [<b>-v</b>] <em>hub chn</em>Test all or specific locations in channel chn on hub.
Description
Command dsstestlocation tests the connection to a location.
Options
This section describes the options available for command dsstestlocation.
| Parameter | Description |
|---|---|
-lx |
Test locations specified by x. If this option is not supplied, then dsstestlocation will test all locations within the channel. Values of x may be one of the following:
-lx instructions can be supplied together to dsstestlocation. |
-Rurl |
Remote hub server. Access the hub server running on a remote machine, via the REST interface. This option is required for remote CLI access. When using this option, command dsslogin should be run first, for authentication. |
-v |
Display location properties discovered by DSS when it connects to a location. |
Examples
This section provides examples of using the dsstestlocation command.
Example 1. Test specific locations
The following command tests all locations starting with src:
dsstestlocation -l 'src*' myhub
Example 2. Test locations from a file
The following command tests all locations listed in file mylocs.txt:
dsstestlocation -l @mylocs.txt myhub