ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

AWA: Agent reporting the incorrect number of connections after AE upgraded to V12.1+

book

Article ID: 146007

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After upgrading the Automation Engine to version 12.1 or beyond, when unupgraded Agents connect, they report the incorrect number of connections. For example:

20200217/154838.369 - U02000075 CP Server 'AUTOMIC#CP002' has '8164' client connections.
20200217/154838.369 - U02000076 Connection to CP Server 'AUTOMIC#CP002' is be closed.
20200217/154838.369 - U02000004 Connection to Server 'AUTOMIC#CP006' successfully created.
20200217/154838.369 - U02000075 CP Server 'AUTOMIC#CP006' has '1' client connections.
20200217/154838.369 - U02000076 Connection to CP Server 'AUTOMIC#CP006' is be closed.
20200217/154838.369 - U02000004 Connection to Server 'AUTOMIC#CP004' successfully created.
20200217/154838.369 - U02000075 CP Server 'AUTOMIC#CP004' has '9998' client connections.

Cause

Change in Agent Connection behavior, compatibility difference between 12.1 and prior versions.

Resolution

In v12 (namely 12.1 onward) the CP check has been rewritten. Instead of providing a direct connection count, it does some checking to see if any CP is in a relative position to automatically accept the connection (rank 1) and, if none are, then performs a weighed rank based on the number of connections. 

This is why there's a slight change in the verbiage:

From a V12 Agent:

U02000354 CP Server 'AUTOMIC#CP001' reports ranking '1'.

In a V11 Agent, connecting to a v12 system (so is using the values provided by the new return) but it sill performing old Agent connection logic (check all connections) AND is still checking against all CP's. Hence,you see:

20200226/115335.358 - U02000075 CP Server 'AUTOMIC#CP001' has '1' client connections.
20200226/115335.358 - U02000075 CP Server 'AUTOMIC#CP002' has '1' client connections.
20200226/115335.374 - U02000075 CP Server 'AUTOMIC#CP003' has '5382' client connections.
20200226/115335.374 - U02000075 CP Server 'AUTOMIC#CP007' has '7401' client connections.
20200226/115335.374 - U02000075 CP Server 'AUTOMIC#CP006' has '7979' client connections.
20200226/115335.374 - U02000075 CP Server 'AUTOMIC#CP008' has '8410' client connections.
20200226/115335.374 - U02000075 CP Server 'AUTOMIC#CP005' has '9352' client connections.
20200226/115335.374 - U02000075 CP Server 'AUTOMIC#CP004' has '9998' client connections.
U02000073 Connection to system 'AUTOMIC' via CP Server 'AUTOMIC#CP001' successfully established.

You can see that the Agent connects on the first rank 1 connection returned as it would in v12.

Ultimately, the upgrade to the Agents to the same version of the Automation Engine for a faster connection and a clearer link between what is happening (ranking vs connections) to clear up any confusion for administrators.