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.
2023.03.10 11:36 CET: Relabled agents based on whether they use TLS. Added TLS gateway. Updated connections table.
Thanks. Any plans to add Analytics and AAI?
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.
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.
Hi @Michael A. Lowry ,
very nice drawing. Let's add the Proxy and the TLS GW.
Thanks. I added the TLS gateway. What proxy are you talking about, and where would it fit in the diagram?
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.
Ok, thanks. Since I'm not familiar with the Proxy component, I'll leave this to others who have more experience.
I have attached an updated presentation. Thanks to @Keld Mollnitz and @Michael Dolinek for their helpful suggestions.
I also reformatted the list of connections into a table with sources in rows and destinations in columns.
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.
Thanks Michael for your post
Thanks Michael ! Very helpful.
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:
Thanks in advance.
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.
Thanks for the detailed response, @Peter Daransky. That confirms my recollection.
Is the INI parameter you mentioned srvquery?
Hopefully this answers your questions:https://community.broadcom.com/enterprisesoftware/question/agent-last-checked-column-not-being-updated#85186402-034c-4139-8aa2-0187c16b8666
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:
Any update on this, @Oana Botez or @Peter Daransky?