Change SystemEDGE Listening Port Without Reinstalling

Document ID : KB000031330
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

We would like to change the port that SystemEDGE was originally installed with to a different port without uninstalling/reinstalling the agent.

 

Instructions:

Windows:

1. Stop the CA SystemEDGE Service (From services.msc OR net stop sysedge)

2. Delete port# folder from one of the following locations:

Windows 2003:
C:\Documents and Settings\All Users\Application Data\CA\SystemEDGE\port#

Windows 2008/2012
C:\Users\Public\CA\SystemEDGE\port#

3. Edit X:\Program Files\CA\SystemEDGE\config\sysedge.cf by changing default_port value to the new desired port#.

Example:

default_port 1691

4. In regedit, change the port number contained within the following value:
HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\SystemEDGE\DefaultPort

Be sure to select "Decimal" from within regedit:

regedit.png

5. Start the CA SystemEDGE Service (From services.msc OR net start sysedge)

6. A new port# folder will be created that reflects new listening port in the locations noted above.

 

UNIX/Linux:

1. Stop CA SystemEDGE: /opt/CA/SystemEDGE/bin/sysedgectl stop

2. Delete port# folder from /opt/CA/SystemEDGE/config/port#

3. Edit /opt/CA/SystemEDGE/config/sysedge.cf by changing default_port value to the new desired port#:

sed -i s/1691/161/ /opt/CA/SystemEDGE/config/sysedge.cf

Where 1691 is the original port and 161 is the desired new port.

4. Edit /opt/CA/SystemEDGE/bin/sysedgectl to change the DEFAULT_PORT value to the new desired port#

sed -i s/1691/161/ /opt/CA/SystemEDGE/bin/sysedgectl

Where 1691 is the original port and 161 is the desired new port.

5. Start SystemEDGE: /opt/CA/SystemEDGE/bin/sysedgectl start

6.  A new port# folder will be created that reflects new listening port in the locations noted above.

 

Additional Information:

* File locations noted are the defaults. File locations may differ slightly based on configuration

* For UNIX/Linux, the "sed" syntax for replacing the port number is as follows: "sed -i s/{OLD PORT}/{DESIRED PORT}/ {FILE}" - be sure to replace {OLD PORT}, {DESIRED PORT} and {FILE} accordingly.