EM multi-task jobs NOT continuing on error
From: Herring, David <HerringD_at_DNB.com>
Date: Tue, 1 Nov 2016 20:13:04 +0000
Message-ID: <CY1PR0201MB1868AB643C74A94ECF7FA9E3D4A10_at_CY1PR0201MB1868.namprd02.prod.outlook.com>
I have a multi-task Job set up in EM that is stopping on an error within a task and I can't figure out how to get around this. The OMS is 12.1.0.5, repository 12.1.0.2. The Job has 2 tasks, the first running an OS Command against an EM Group of 100 or so targets and the 2nd task queries EM metadata to summarize output from across the 100+ target executions from task #1. Simple enough and this works fine, except for 1, tiny detail - authentication fails periodically for 1 target. (The authentication problem is being worked on separate with our sysadmins.) When the authent fails, that target execution has a status of "Error" and when that happens, task #1 DOES NOT proceed to task #2.
Date: Tue, 1 Nov 2016 20:13:04 +0000
Message-ID: <CY1PR0201MB1868AB643C74A94ECF7FA9E3D4A10_at_CY1PR0201MB1868.namprd02.prod.outlook.com>
I have a multi-task Job set up in EM that is stopping on an error within a task and I can't figure out how to get around this. The OMS is 12.1.0.5, repository 12.1.0.2. The Job has 2 tasks, the first running an OS Command against an EM Group of 100 or so targets and the 2nd task queries EM metadata to summarize output from across the 100+ target executions from task #1. Simple enough and this works fine, except for 1, tiny detail - authentication fails periodically for 1 target. (The authentication problem is being worked on separate with our sysadmins.) When the authent fails, that target execution has a status of "Error" and when that happens, task #1 DOES NOT proceed to task #2.
Task #2 has "Condition" set to "Always" but apparently that only works for any status except "Error". I'm fine with the Job returning a "Problems" status but not with it just stopping. I could write a hack in the "Error Handle Task" to read EM metadata, looking to see if task #2 was run and if not run the same commands as part of that task but that's just plain ugly, to me.
I tried creating a sub-task on task #1 that would only execute "On Failure" of task #1 but that doesn't work because task #1 doesn't fail, it "Errors". Anyone run into something like this?
Regards,
Dave
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Nov 01 2016 - 21:13:04 CET