Automic Workload Automation

Expand all | Collapse all

Shutting Down Agents Without Service Manager Dialog

  • 1.  Shutting Down Agents Without Service Manager Dialog

    Posted 01-08-2018 04:29 PM

    Recently we’ve had a couple of questions regarding how to shut down Agents without interacting with the Service Manager Dialog (specifically, in the event that there are many Agents on separate machines). This can be accomplished with the following script function:

     

    :TERMINATE

     

    Syntax of this function can be found in our documentation:

     

    https://docs.automic.com/documentation/webhelp/english/AWA/11.2/AE/11.2/All%20Guides/help.htm#ucaaxy.htm

     

    With this function, you can specify three connection types:

     

    HOST = Agent

    HOSTGROUP = Agents of an agent group

    SERVER = Work or Communication process

     

    Please be aware that terminating Agents/Processes in this fashion is fine (with proper consideration of outages), but starting them outside of the Service Manager process will remove the ability to remotely manage them.

     

    If you have another method you prefer, we’d love to hear from you – please feel free to make additions below!



  • 2.  Shutting Down Agents Without Service Manager Dialog

    Posted 01-08-2018 07:14 PM
    If the Agents are linked with the service manager I would look into using the MODIFY_SYSTEM script function. With Modify system you can start the agent back up as well:

    https://docs.automic.com/documentation/webhelp/english/AWA/11.2/AE/11.2/All%20Guides/help.htm#ucacsr.htm




  • 3.  Shutting Down Agents Without Service Manager Dialog

    Posted 01-09-2018 07:56 AM
    Just for the sake of completeness, there does exist a command line program for Service Manager for WIN and UNIX as well.

    https://docs.automic.com/documentation/webhelp/english/ALL/components/AE/11.2/All%20Guides/help.htm#ucaazp.htm%3FTocPath%3DAdministratorhandbuch%7CStartparameter%7C_____4

    Here is a short overview (at least to my knowledge):

    start/stop Agent without SMGR
    • manually
    • per OS script
    start/stop Agent with SMGR
    • SMGR Dialog program
    • commandline program
    • Automic Script (:modify_system, :terminate, ...)
    • User Interface/AWI - System Overview
    • manually*

    * be aware that an agent that was started manually can not be controlled via SMGR


    cheers, Wolfgang