SSH Action Parameters
Starts a shell command on a remote machine as a remote secure shell running in the background.
Table 7.36. SSH Action, General Parameters
Parameter Name | Description | Additional Information | Example |
---|---|---|---|
Host | The user and the remote host containing the home directory in which the shell command will run. | user@host | |
Command | The shell command to execute. | Should be available on the remote machine and is executed in the user's home directory. | |
Args | Identify any argument parameters to be passed to the shell script. | In arguments that contain white space, each entry is handled as a separate argument. | jdbc:mysql://wfm.openstacklocal/test |
Arg | Identify any argument parameters to be passed to the shell script. | Used to handle arguments that include white space. Each value is handled as one argument. | |
Capture Output | Indicates whether or not Oozie will capture output of the STDOUT of the SSH action execution. |
Useful if the output of the SSH action needs to be available to the workflow job, such as for decision nodes. Command output must be in Java Properties file format if another action will pick it up. |
Table 7.37. SSH Action, Transition Parameters
Parameter Name | Description | Additional Information | Default Setting |
---|---|---|---|
Error To | Indicates what action to take if the action errors out. | You can modify this setting in the dialog box or by modifying the workflow graph. | Defaults to kill node, but can be changed. |
OK To | Indicates what node to transition to if the action succeeds. | You can modify this setting in the dialog box or by modifying the workflow graph. | Defaults to the next node in the workflow. |