Sessions Not Closed After 'Execute Unix/Linux SSH Script' Activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 01:33 PM
Hello,
Wondering if anyone out there has some experience with running "Execute Unix/Linux SSH Script" activities against a "Unix/Linux System" target and able to help?
We have a process that runs an ssh script on a Unix/Linux target and in the 'Target' tab we specify to open a new session on the target we want. It was our assumption that once the script is executed successfully that the session would be closed, however, that does not appear to be the case. It seems the target receives a "disconnect" from CPO but if we run "who -a" on the host, the session still exists. We are trying to run our activity/script in a while loop with a 60 second pause in between, and after 30 loops (30 minutes) the next call fails.
What appears to be happening is, the session opens on the Linux target and every occurrence of the "Execute Unix/Linux SSH Script" activity is merely connecting and disconnecting using the same session that was originally opened. But after the 30 minute idle timeout on the Linux host, the session is closed and the next occurrence of the SSH Script activity fails with the following error:
This activity xyz did not return within the expected time period and was abandoned.
Is there a setting in the target properties or activity properties that we're missing here??
Thank you for any feedback or suggestions that may be out there!
Neil
- Labels:
-
Cisco Process Orchestrator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 07:31 PM
Neil,
I will discuss with you through email to find what exactly happened in your case.
Thanks,
James
