Changing ports for Collection Station or Indexer


You can change ports that you are using for Collection Station and Indexer.


Collection Station

Update the new port number at the following locations and then restart the Console Server and Collection Station:

File

Property

$BMC_ITDA_HOME\custom\conf\server\olaengineCustomConfig.properties

station.port=<new port number>

$BMC_ITDA_HOME\station\collection\conf\agent.properties

httpPort=<new port number>

payload.bindport=<new port number>

 

Note

All the collection agents pointing to this collection station will change.

 

Indexer

Update the following properties and then restart:

  • Console Server
  • Search component
  • Indexer
  • Collection Station


File

Property

$BMC_ITDA_HOME\conf\indexer\elasticsearch.yml

discovery.zen.ping.unicast.hosts: <Computer FQDN>:<new port number>

transport.tcp.port:<new port number>

$BMC_ITDA_HOME\station\collection\custom\conf\agent.properties

indexing.port=9300

indexing.unicast.hosts=<Computer FQDN>:<new port number>

$BMC_ITDA_HOME\conf\indexer\esmonitor.properties

indexing.port=<new port number>

$BMC_ITDA_HOME\station\collection\custom\conf\agent.properties

indexing.port=<new port number>

$BMC_ITDA_HOME\custom\conf\server\olaengineCustomConfig.properties

indexing.unicast.hosts=<Computer FQDN>:<new port number>

$BMC_ITDA_HOME\custom\conf\server\searchserviceCustomConfig.properties

indexing.unicast.hosts=<Computer FQDN>:<new port number>

Note

Use "deletecomponents" CLI to delete the older Indexer entry.


Changing cluster-related communication ports for Indexer

By default, Indexer uses ports from 9305 to 9399 for cluster-related communication. You can update it by updating the following properties and then restarting Console Server, search, and Collection Station:

File

Property

$BMC_ITDA_HOME\custom\conf\server\olaengineConfig.properties

indexing.transport.tcp.port=<new range of port numbers>

$BMC_ITDA_HOME\custom\conf\server\searchserviceConfig.properties

indexing.transport.tcp.port=<new range of port numbers>

$BMC_ITDA_HOME\station\collection\custom\conf\agent.properties

indexing.transport.tcp.port=<new range of port numbers>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*