Cisco Cisco Process Orchestrator 3.1 User Guide

Page of 786
 
13-262
Cisco Process Orchestrator 3.1 User Guide
 
Appendix 13      Using Adapters 
  Cisco Process Orchestrator Adapter Help for Terminal Adapter
For an example of a script argument, see 
  •
Script to execute on target—Enter the actual script code to use to execute in the specified local 
working directory.
  •
Time out if not completed within—Enter a value or use the scroll buttons to specify the time frame 
to wait for the action to complete before timing out.
Select the time unit link to adjust the time unit (seconds, minutes, or hours).
  •
Time out if no available session within—Enter a value or use the scroll buttons to specify the time 
frame to wait for the activity to complete if there is no available session.
The cause for no available session may be the setting "max allowed concurrent sessions" on the 
target has been reached.
  •
Fail on non-zero return code—Select this check box configure the activity to fail when a return code 
having a non-zero value is received.  
Step 3
Click OK.
See Also
Defining a Stop a Unix Process via SSH Properties
Use the Stop a Unix Process via SSH activity to stop a running Unix process.
  •
PID—Enter the Unix process ID for the appropriate running process to be stopped.
Defining an Open Terminal Session Activity
Use the Open Terminal Session activity to start a SSH session on a given terminal target via a SSH 
protocol client. The subsequent Execute Terminal Command(s) and Close Terminal Session activities 
will run against a SSH session.
The expects configuration used during this operation are defined in the selected target.
To define the Open Terminal Session activity:
Step 1
On the Toolbox pane, under Terminal, select the Open Terminal Session activity, then drag and drop 
the activity onto the Workflow pane.
The Open Terminal Session property page displays.
Step 2
Click the Open Terminal Session tab to modify the time constraints for the activity or command.
  •
Activity Timeout—Check this check box and then enter a value to specify the time frame to wait for 
the Open Terminal Session activity to complete before timing out. (Default: 5 minutes)
  •
Time out if no available session within—Enter a value or use the scroll buttons to specify the time 
frame to wait for the activity to complete if there is no available session.