Automic Workload Automation

 View Only
  • 1.  Host Group Usage with File Watch Event

    Posted Nov 20, 2020 11:16 AM
    Hello All 

    I've created a host group with two (2) servers (A/B) using the first available option. Created a file event, set to generate task at runtime, which is looking for a file on a DFS share.

    Start the event and it does it's first check on server A. I then take server A offline and instead of running the next check from server B, it goes into a status of waiting for host.

    Is there a way to configure a file watch event to utilize server B when A goes offline?

    Any advice is appreciated.


  • 2.  RE: Host Group Usage with File Watch Event

    Posted Nov 20, 2020 12:31 PM
    I can think of a couple of different ways to engineer a workaround.

    One way would be to add a new task that pings ServerA.  If it works, then set RC=000, otherwise set RC=100.  Then have two processes that follow it; one that runs against ServerA if RC=000, and another that runs against ServerB if RC=100.

    ------------------------------
    Pete Wirfs
    SAIF Corporation
    Salem Oregon USA
    ------------------------------