We would like to change the port that SystemEDGE was originally installed with to a different port without uninstalling/reinstalling the agent.
SystemEDGE 6.x
Windows:
net stop sysedge
)C:\Users\Public\CA\SystemEDGE\port#
Edit X:\Program Files\CA\SystemEDGE\config\sysedge.cf by changing default_port value to the new desired port#. For Example:
default_port 1691
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:
Start the CA SystemEDGE Service (From services.msc OR net start sysedge
)
A new port# folder will be created that reflects new listening port in the locations noted above.
UNIX/Linux:
/opt/CA/SystemEDGE/bin/sysedgectl stop
/opt/CA/SystemEDGE/config/port#
/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./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./opt/CA/SystemEDGE/bin/sysedgectl start
* 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.