Command Line Interface - DSS 6 | Data Source Solutions Documentation

Documentation: Command Line Interface - DSS 6 | Data Source Solutions Documentation

Command Line Interface

This section describes the Data Source Solutions DSS commands and their parameters. You can use these commands in the command line interface (CLI) to configure, manage, and monitor the replication process in DSS. The command line interface can be accessed using either of the two methods - Direct CLI or Remote CLI.

Direct CLI

In this method, the DSS commands are executed directly/locally on the hub machine. The authentication to the DSS Hub System is done using the credentials of the user logged in to a hub machine. In this case, only the hub name is needed to run a command (e.g. <b>dssactivate</b> <em>myhub mychn</em>).

Remote CLI

In this method, the DSS commands are executed from a remote machine, provided that the DSS is installed on the remote machine. When executing the commands remotely, authentication to the DSS Hub System is required. Otherwise, you can encounter the error F_JW0555: Refresh token invalid or expired. The authentication is done via the DSS REST interface. To access a remote hub system, you need to use the command dsslogin-R, the authentication token is stored for a certain period of time in ~/.config/dss.

For example, to access a remote hub system with the dssadmin user, use the following command:

dsslogin -R http://myhost:12345 -u dssadmin

When using remote CLI, option -R must be used to run all commands (except for dsshubserver).

Topics