Service using 31000 port in RA agent.

book

Article ID: 144035

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Kindly share details of services and functionality of RA agent which uses 31000 port. We also want to know whether we can reconfigure the port.

Please find below snapshot for reference.

<RA Agent directory>/conf/wrapper.conf

Cause

The above two port shown should not be mixed up. The two ports i.e. 31000 (JVM port) and 32001 (wrapper port). Please find the usage of both.

 

wrapper.jvm.port: Is a port that the JVM will use to connect back to the Wrapper. The default min-max range is 31000-31999

wrapper.port: The Wrapper uses a socket to communicate with its Java component running inside a JVM. This property allows the configuration of this port. The default min-max range is 32000-32999

Environment

Release : 6.6

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Resolution

The ports can be configured, if really require else let the agent to use the default wrapper.jvm.port of 31000. From our finding we came to an analysis that this port number is used within the code however, in case if you still need to configure the same, you can use the below configuration.

 

Base directory: <NolioAgentInstallDir>/conf

Please follow the below step inside the base directory.

  1. Create a backup of wrapper.conf file
  2. Find the location wrapper.port=32001 in the wrapper.conf file
  3. Above this line you can add below lines. For example as the range mentioned is 31555-31999 the port 31000 doesn't fall in this range the jvm port used by agent will be 31555 or anything between specified range in case 31555 is occupied.

################
# JVM port used is 31000 internally we need to make sure to change the min-max limit of the jvm-ports so that system abide to newly configured range of ports.#
#########################
wrapper.jvm.port=31555
wrapper.jvm.port.min=31555
wrapper.jvm.port.max=31999

 

Additional Information

For more details on wrapper configuration please refer to below.

Attachments