JCPs in active/active environment only start on one server
search cancel

JCPs in active/active environment only start on one server

book

Article ID: 367342

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

In an active/active multi server setup, the JCP processes only start on one server. 

Trying to start the JCP on the second server returned the error message:

U02001017 It was not possible to create a listen socket because port number '8444' is already in use.

Environment

Automic v21

Cause

The hostname in the ucsrv.ini file on both AE servers had the same server name. 

Resolution

Stopped both AE systems.
On the second server, updated the ucsrv.ini to change the hostname value from

myserver1.domain.com  

to

myserver2.domain.com

Started Automic on server one, verified it was up and running and could log in, then started Automic on server two.

JCPs were running on both servers as expected.

Additional Information

The problem was that on both servers, ucsrv.ini had

WS.PORT=8444-8445

but they also both had the hostname set as

hostname=myserver1.domain.com

The system on server 2 was started, and JCPs were started as myserver1.domain.com 

Then the system on server 1 was started and the JCP couldn't start because port 8444 was already being used by myserver1.domain.com.

As soon as the hostname on server 2 was updated correctly, everything started as expected.