If you change the ports used by Elasticsearch, you will need to update the ports used by
IBM Spectrum LSF Explorer to connect to Elasticsearch.
About this task
For IBM Spectrum LSF Explorer Server,
update the port to connect to Elasticsearch in the configuration file
SERVER_TOP/lsfsuite/ext/explorer/server/config/config.json.
For IBM Spectrum LSF Explorer Data
Collector, update the port number used to communicate with Elasticsearch in the configuration file
COLLECTOR_TOP/lsfsuite/ext/perf/conf/datasource.xml.
Procedure
-
Update the port used by IBM Spectrum LSF Explorer Server
to communicate with Elasticsearch.
-
Log on to IBM Spectrum LSF Explorer Server
and edit the
SERVER_TOP/lsfsuite/ext/explorer/server/config/config.json
file, where SERVER_TOP is the top-level installation directory on the IBM Spectrum LSF Explorer Server.
Change the port
parameter:
"ds1": {"name": "ES Instance1", "type": "elasticsearch", "hosts": [{"host": "9.111.251.88", "port": 9200}]},
-
Restart IBM Spectrum LSF Explorer Server
services.
pmcadmin stop
pmcadmin start
-
Update the port used by IBM Spectrum LSF Explorer Data
Collector to communicate with Elasticsearch.
-
Log on to IBM Spectrum LSF Explorer Data
Collector host and edit the COLLECTOR_TOP/lsfsuite/ext/perf/conf/datasource.xml
file, where COLLECTOR_TOP is the top-level installation directory on the IBM Spectrum LSF Explorer Data
Collector.
Change the port in the
Connection
parameter:
Connection="ES_SERVER:PORT"
<ds:DataSource Name="ReportES"
Driver="org.elasticsearch"
ClassPath="/opt/ibm/lsfsuite/ext/perf/1.2/lib/elasticsearch_rest_5.4.0.jar"
Connection="host1:9200"
Default="true"
Edit the COLLECTOR_TOP/lsfsuite/ext/perf/conf/nodelist.elastic file.
Navigate to the line for host1, change the port of host1 to align
with the port in datasource.xml. For example, edit
datasource.xml, if changing the Connection parameter from
host1:9200 to host1:8200, then the
nodelist.elastic file must be edited to change the line
host1:9200 to host1:8200 accordingly.
-
Set the environment to restart the data collectors.
- For csh or tcsh: source
COLLECTOR_TOP/lsfsuite/ext/perf/conf/cshrc.perf
- For sh, ksh, or bash: .
COLLECTOR_TOP/lsfsuite/ext/perf/conf/profile.perf
-
Stop the data collector services.
perfadmin stop all
Wait until all STATUS appears as STOPPED before you restart the service.
-
Start the data collector services.
-
Check that the data loaders are running.