CA Workload Automation ESP Edition

Expand all | Collapse all

WOBTRIG's using CREATE trigger on existing files w/11.5

  • 1.  WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-24-2020 10:55 AM
    Morning All,

    Noticed a behavior in the version 11.5 of the System Agent that is quite different from our existing 11.3.7.

    When using a WOBTRIG monitoring for CREATE of a file in 11.5, if the agent is recycled or the WOBTRIG is updated the monitor will see any existing file as newly created and bring in the associated event.  While generally we try to make sure file cleanup happens it's not always 100% performed as part of our procedures.

    In 11.3.7 if the WOBTRIG is updated or the agent is recycled any existing files do not cause the event to fire, instead it reports back that the file already exists and continues monitoring for new file creations.

    Anyone else notice this and have you found any agentparm settings that will retain the original behavior.

    We have the following defined in our agentparm files when we install, on both 11.3.7 and 11.5

    filemon.firstscan.skip=true
    filemonplugin.scan.retries.sleep=30000
    filemonplugin.scan.retries=10

    Thanks,

    ------------------------------
    System Engineer
    Progressive
    OH
    ------------------------------


  • 2.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-24-2020 12:29 PM
    Hi Len,
    Let me play with this and compare the old vs new behavior.

    I think the change in behavior may have been in response to the situation below.
    1) The agent(on the server) is monitoring for a file to be created on a NAS file system(not on the server).
    2) The agent/server go down for maintenance for 3 hours and the file is created on the NAS during that period.
    3) The agent/server is restarted. The file is missed. " file already exists"


    Don


  • 3.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-27-2020 05:04 PM
    Hi Len,
    I did not find the same result. Below is my test
    I created two WOBTRIGs for the same file. One was 11.3 sp7 the other 11.5.
    I stopped the agents.
    I created the file.  Neither one triggered.

    Then -  to verify that the triggers worked.
    I deleted the file and waited some time. Then I created the file and both triggered.

    Then
    I stopped and started both agents and neither triggered.

    Let me know if I missed something.... I tried other things as well.

    Do you have the line below in the agentparmt.txt ?
    Persistence.coldstart=TRUE

    Don


  • 4.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-28-2020 08:09 AM
    Don,

    Thanks for looking at it.  I'll double check my settings and open an issue for this one.

    ------------------------------
    System Engineer
    Progressive
    OH
    ------------------------------



  • 5.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-28-2020 08:42 AM
    regarding Persistence.coldstart=TRUE
    is that something we should have by default in all agentparm.txt settings?
    I thought a coldstart would wipe out the database files and thus you'd lose track of any jobs that were
    still running when the agent is bounced??

    ------------------------------
    Mike B
    ------------------------------



  • 6.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-28-2020 09:20 AM
    Mike,

    Definitely not a setting a you would want on all the time as you would lose the tracking of active jobs when an agent is down.  We only use that setting when an agent is having fatal errors when starting, usually due to an issue with a ESP database file, which is pretty rare.


    ------------------------------
    System Engineer
    Progressive
    OH
    ------------------------------



  • 7.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-28-2020 09:27 AM
    I thought that cold was only for extreme issues... just wanted to make sure I didn't have it backwards.
    thanks for the verification


  • 8.  RE: WOBTRIG's using CREATE trigger on existing files w/11.5

    Posted 04-28-2020 09:28 AM
    Hi,
    Len is correct. This is not a setting that should be there.
    I was wondering if it was left in by mistake. It can cause some different behaviors.

    Don