search cancel

How do I change the listening port on an NFA Harvester from the default 9995?

book

Article ID: 20989

calendar_today

Updated On:

Products

CA Network Flow Analysis (NetQos / NFA)

Issue/Introduction

How do I change the listening port on an NFA Harvester from the default 9995?

Environment

Release: 9.3 and up

Resolution

1. RDP or SSH to your Windows/Linux Harvester Server.

2. Open a command prompt and run:

mysql -P3308 -D harvester -unetqos -pnetqos -t -e "update parameter_descriptions set defaultvalue=<NewPortNumber> where parameter='NetFlowPacketListenPort';"


For example to change to 9996 run:

mysql -P3308 -D harvester -unetqos -pnetqos -t -e "update parameter_descriptions set defaultvalue=9996 where parameter='NetFlowPacketListenPort';"



3. Then recycle the CA NFA Harvester service.

  • On Windows you can recycle the "CA NFA Harvester" service in the services console
  • On Linux you can recycle the Harvester service by running "service nfa_harvester restart"


4. The Harvester will now be listening on the new port.
  
 

Additional Information

 

  • In RA 9.0 and earlier this change was done through the registry 
  • If you are running NFA 9.1.2 or earlier the syntax was slightly different like below:
    • mysql -P3308 -D harvester -t -e "update parameter_descriptions set defaultvalue=9996 where parameter='harvesterport';