Change SystemEDGE Listening Port Without Reinstalling
search cancel

Change SystemEDGE Listening Port Without Reinstalling

book

Article ID: 31330

calendar_today

Updated On:

Products

SystemEDGE Agent SystemEDGE Agent

Issue/Introduction

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

Environment

SystemEDGE 6.x

Resolution

Windows:

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

  2. Delete port# folder from 

    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#. For 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:



  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.