- On the Harvester machines, navigate to the directory: $INSTALL_DIR/NFA/NetFlow/bin/context
Backup the file "fileserver.xml", then edit it.
Locate the "fileWebService" line, and change the port from 8080 to the desired new port (8041 in this example) :
<bean id="fileWebService" class="com.ca.im.ra.fileserver.FileWebService">
<property name="port" value="8041"/>
Restart all NFA Services on the Harvester machine.
-On the Console machine, run the following commands to find out the HarvesterIDs of your existing Harvesters:
mysql reporter
select * from harvesters;
-Make a note of the HarvesterIDs of the harvesters you would like to modify, and use a command similar to the following to change the "managementserverport" from 8080 to the desired new value:
update harvesters set managementserverport=<port> where harvesterid=<id>;
For example, to set the port to 8041 for HarvesterID 2, you can run:
update harvesters set managementserverport=8041 where harvesterid=2;
Now, recycle the service "NetQoS Reporter/Analyzer Pump Service".
-Once the service is up and running, check the end of the following log file on the NFA Console machine:
\Reporter\Logs\pumplog*.log
The "SourceManager: Pull ManagementServer" lines should now reference the new port number. If you see "connection" errors referencing the new port, try rebooting the Harvester machine.
NOTE:
Upgrading the Harvester will overwrite the fileserver.xml file on all versions prior to NFA 24.3.8, so if this port is changed you may need to update fileserver.xml again after an upgrade.