Automic Workload Automation

 View Only
Expand all | Collapse all

AWA v21.0 inter-process communication

  • 1.  AWA v21.0 inter-process communication

    Posted Mar 09, 2023 01:35 PM
    Edited by Michael A. Lowry Mar 10, 2023 05:39 AM
      |   view attached

    Here is my collection of diagrams showing how inter-process communication works in AWA v21.0. 

    This is a draft, and will be updated as I learn more about version 21. Please feel free to send updates and corrections if you notice a mistake or omission.

    This is based on my earlier diagrams, AWA v12.3 inter-process communication.

    Updates

    2023.03.10 11:36 CET: Relabled agents based on whether they use TLS. Added TLS gateway. Updated connections table.

    Attachment(s)



  • 2.  RE: AWA v21.0 inter-process communication

    Posted Mar 09, 2023 04:22 PM

    Thanks.  Any plans to add Analytics and AAI?




  • 3.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 05:51 AM
    Edited by Michael A. Lowry Mar 10, 2023 05:55 AM

    IPC of the Analytics components is documented here. AAI-AWA integration is documented here.

    Adding these components to this diagram would complicate the diagram a bit too much for my taste. Also, we don't currently use Analytics or AAI.

    Would you like to could create slides for this? Feel free to use my diagram as an example/template.



  • 4.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 02:25 PM

    Thanks for the link. Just thought it would be nice to have one diagram for all.  I agree, it would be a lot of work.  Thank you.




  • 5.  RE: AWA v21.0 inter-process communication

    Posted Mar 09, 2023 04:58 PM

    Nice!




  • 6.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 03:09 AM

    Very impressive




  • 7.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 04:25 AM

    Hi @Michael A. Lowry ,

    very nice drawing. Let's add the Proxy and the TLS GW.




  • 8.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 05:59 AM
    Edited by Michael A. Lowry Mar 10, 2023 05:59 AM

    Thanks. I added the TLS gateway. What proxy are you talking about, and where would it fit in the diagram?



  • 9.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 06:40 AM

    Hi @Michael A. Lowry ,

    we use the Proxy Client/Server to connect agents in another network zone (DMZ) to the AE in the internal zone. The Proxy Server is placed in DMZ and the Proxy Client is placed in same zone as the AE.

    https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/21.0.5/Automic%20Automation%20Guides/Content/Proxy/about_proxy.htm




  • 10.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 07:10 AM
    Edited by Michael A. Lowry Mar 10, 2023 07:10 AM

    Ok, thanks. Since I'm not familiar with the Proxy component, I'll leave this to others who have more experience.



  • 11.  RE: AWA v21.0 inter-process communication

    Posted Mar 10, 2023 05:54 AM
    Edited by Michael A. Lowry Mar 10, 2023 05:55 AM

    I have attached an updated presentation. Thanks to @Keld Mollnitz and @Michael Dolinek for their helpful suggestions.



  • 12.  RE: AWA v21.0 inter-process communication

    Posted Mar 11, 2023 05:44 AM
    Edited by Michael A. Lowry Mar 12, 2023 03:52 PM

    I also reformatted the list of connections into a table with sources in rows and destinations in columns.



  • 13.  RE: AWA v21.0 inter-process communication

    Broadcom Employee
    Posted Mar 12, 2023 06:03 AM

    Hi Michael,

    just one small remark to the table. All non-TLS connections cannot connect to JCP, but only to "old" CP or TLS-Gateway. And in case of TLS-Gateway, this will connect to JCP. 

    BR p




  • 14.  RE: AWA v21.0 inter-process communication

    Posted Mar 12, 2023 03:52 PM
    Edited by Michael A. Lowry Mar 12, 2023 03:52 PM

    Fixed. Thanks!



  • 15.  RE: AWA v21.0 inter-process communication

    Posted Mar 13, 2023 02:13 AM

    Thanks Michael for your post



    ------------------------------
    Donato Faggella
    DevOps Engineer III
    Swisscom (Suisse) SA
    ------------------------------



  • 16.  RE: AWA v21.0 inter-process communication

    Posted Jun 12, 2023 02:10 PM

    Thanks Michael ! Very helpful. 




  • 17.  RE: AWA v21.0 inter-process communication

    Posted Jun 08, 2023 01:53 AM
    Edited by Michael A. Lowry Jun 08, 2023 01:53 AM

    I recently learned that in v21, Communications Processes (and presumably JCPs) are responsible for writing reports from agents to the RT table in the database. I vaguely remember an earlier discussion about this topic, but could not find it here in the forum. My vague recollection is that the change was introduced recently (within the past few years) to reduce unnecessary messaging and take some of the load off of WPs.

    It was my previous understanding that only Work Processes wrote to the database. I would be grateful if someone from Broadcom Support would answer these questions:

    1. When was this change introduced (in what version)?
    2. Why was this change introduced?
    3. Aside from writing reports from agents to the RT table, what other changes do CPs and JCPs make to the DB (if any)?

    Thanks in advance.



  • 18.  RE: AWA v21.0 inter-process communication

    Broadcom Employee
    Posted Jun 09, 2023 09:12 AM

    Hi Michael, 

    this change was done already in V12.x early 2017, so latest in 12.9 it's there. The reason for this change was to reduce the temp. DB access.  As CP get the message, write it into MQ, notify the WP, WP read the MQ and then write it into RT ... 

    As mentioned this was already implemented before JCP was born, so JCP just take over this functionality. With one restriction in CP it can be disabled with INI parameter, in JCP not (never seen the reason for that).

    Beside the report handling (RT table) the CP/JCP uses similar optimization with OBLOB table (Storage Resources/CAU ...) where large amount of data have to be transferred to the Agent(s). The read of the data is done by JCP and not WP. 

    Well the last question is harder to answer. Basically the (J)CP is not doing any "business logic" execution, like the WP do. Nevertheless the DB is for couple of things like Agent housekeeping, MQs, settings ... 

    Hope I could answer your questions. 

    BR Peter

     




  • 19.  RE: AWA v21.0 inter-process communication

    Posted Jun 09, 2023 11:38 AM
    Edited by Michael A. Lowry Jun 09, 2023 11:38 AM

    Thanks for the detailed response, @Peter Daransky. That confirms my recollection.

    Is the INI parameter you mentioned srvquery?

    • If so, the documentation should probably be updated to reflect the broader impact of the parameter, beyond the agent "life sign message". (I suppose this Automic-speak for a heartbeat signal.)
    • If not, what is the name of the INI parameter?


  • 20.  RE: AWA v21.0 inter-process communication

    Broadcom Employee
    Posted Jun 12, 2023 04:45 AM

    Hi @Michael A. Lowry ,

    Hopefully this answers your questions:
    https://community.broadcom.com/enterprisesoftware/question/agent-last-checked-column-not-being-updated#85186402-034c-4139-8aa2-0187c16b8666

    BR,
    Oana




  • 21.  RE: AWA v21.0 inter-process communication

    Posted Jun 12, 2023 11:06 AM
    Edited by Michael A. Lowry Jun 12, 2023 11:07 AM

    Hi @Oana Botez. Thanks for your reply. I do not believe this answers my questions.

    As I understand @Peter Daransky's reply, there is an INI parameter that can be used to disable delegation to CPs of certain data-intensive DB transactions such as writing agent logs to the RT table. My unanswered questions are:

    1. What is the name of this INI parameter?
    2. How does it work? I.e., what change in behavior does it cause?


  • 22.  RE: AWA v21.0 inter-process communication

    Posted Sep 23, 2023 01:29 AM
    Edited by Michael A. Lowry Oct 01, 2024 06:20 AM

    Any update on this, @Oana Botez or @Peter Daransky?



  • 23.  RE: AWA v21.0 inter-process communication

    Posted Oct 01, 2024 06:22 AM

    Ping @Oana Botez & @Peter Daransky.