Back to Top

Copy to Downstream Agents Task

Class Name com.midvision.rapiddeploy.plugins.transport.remoting.task.SecureAgentCopyEnvironmentSpecificTask
Category Agent

Copy to Downstream Agents Task


Description

Copies files from the remote server to other downstream servers via an agent. The agent must be running on the downstream server.

Parameters

The following parameters may be set on this task:

Table of task Parameters

Name Type Default Value Optional Description
copySource java.lang.String /tmp/path/to/copy/from false The full or relative (to archive root) path to the copy source.
copyTarget java.lang.String /tmp/path/to/copy/to false The full or relative (to archive root) path to the copy target.
failOnError java.lang.Boolean true false This task will not fail the deployment on error if set to false.
skipOnFailure java.lang.String Previous Task Name true Skip current task based on the name of the previous task whether has failed or not.
socketImplementation java.util.List bisocket false The socket implementation to use. Generally this should be set to bisocket. Supported values are: socket, bisocket, sslsocket, sslbisocket
streamPreferred java.lang.Boolean true true If set to true, uses streaming (not supported through a firewall). This uses an input stream of 1024 bytes. If set to false, uses whole copy, which loads the entire file to be copied into memory. Generally streaming should be used in non firewalled environment as it is much more memory efficient.
targetServerNames java.lang.String server1,server2 false Comma separated list of target servers to copy the file(s) to.
targetServerPort java.lang.String 20000 false Agent port on the target servers.
targetServerSecurePort java.lang.String 20443 true Secure Agent port on the target serves.
targetServerTimeout java.lang.String 1200000 false Timeout on the target server(s) in milliseconds.


Back to Top

Execute Command on Downstream Agents Task

Class Name com.midvision.rapiddeploy.plugins.transport.remoting.task.SecureAgentExecutionEnvironmentSpecificTask
Category Agent

Execute Command on Downstream Agents Task.

Description

Executes a command from the remote server via an agent onto another set of downstream servers. The agent must be running on the downstream server.

Examples

executableToRunPathAndArgs is a command, or set of chained commands, to run on the downstream servers.

Unix Examples for executableToRunPathAndArgs:
                     			/bin/ls -lrt /tmp;/bin/ls -lrt /tmp 			
                     			/bin/sh -c "/bin/ls -lrt /tmp;/bin/ls -lrt /tmp"
                     			/bin/sh -c ". ~/.profile;env" 
                     			
This example will not work:
                     			. ~/.profile;env
                     			

Parameters

The following parameters may be set on this task:

Table of task Parameters

Name Type Default Value Optional Description
executableToRunPathAndArgs java.lang.String /bin/ls /tmp; /bin/cat /tmp/install.dat false The command to run and all of its argumets. Commands may be chained together.
failOnError java.lang.Boolean true false This task will not fail the deployment on error if set to false.
skipOnFailure java.lang.String Previous Task Name true Skip current task based on the name of the previous task whether has failed or not.
socketImplementation java.util.List bisocket false The socket implementation to use. Generally this should be set to bisocket. Supported values are: socket, bisocket
targetServerNames java.lang.String server1,server2 false Comma separated list of target servers to copy the file(s) to.
targetServerPort java.lang.String 20000 false Agent port on the target serves.
targetServerSecurePort java.lang.String 20443 true Secure Agent port on the target serves.
targetServerTimeout java.lang.String 1200000 false Timeout on the target server(s) in milliseconds.