Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.49 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.49 KB

SSH RMS plug-in

Resource definition

DDS's SSH plug-in is capable to deploy DDS agents on any resource machine available for password-less access (public key, ssh agent, etc.).
In order to define resources for the SSH plug-in we use a comma-separated values (CSV) configuration file, in cases if you want to deploy agents on several computing nodes.
The ssh plug-in can also spawn agents on the local machine only. In this case you don't need a configuration file - just use dds-submit -n X, where X is a desired number of agents to spawn.

As for the configuration file. Fields are normally separated by commas. If you want to put a comma in a field, you need to decorate it with quotes around. Also 3 escape sequences are supported.

DDS's SSH plug-in configuration fields:

  1. An id (must be any unique string).
    This id string is used just to distinguish different DDS workers in the plug-in.
  2. A host name with or without a login, in a form: [email protected]
  3. Additional SSH params (could be empty).
  4. A remote working directory.
  5. A number of agents to spawn.

An example of the SSH plug-in configuration file:

r1, [email protected], -p24, /tmp/test, 10
# this is a comment
r2, [email protected],,/home/user/dds,10
125, user2@host, , /tmp/test,

Usage example

Call using a given configuration file:

dds-submit -r ssh -c your-ssh-Resource-definition-config-file

Call using a local system only to spawn 10 DDS agents on it:

dds-submit -r ssh -n 10