Installing Apache Solr on remote machines
After you install IBM® Operations Analytics Log Analysis, you can use the Apache Solr remote installer to install Apache Solr on a remote machine.
About this task
If no local instances of Apache Solr exist, then you need to install the instances on the remote machine as soon as you install IBM Operations Analytics Log Analysis. If there is a local instance of Apache Solr, you can install the remote instances whenever you want.
You must use a non-root user to run the script.
You cannot use the installer to install Apache Solr on a local machine.
You cannot use the installer to install multiple Apache Solr nodes on a single remote machine.
Ensure that the Apache Solr ports are open and free from any firewall restrictions on the remote machine.
To install Apache Solr on multiple remote machines, run the script separately for each remote machine. You cannot use the installer to install instances of Apache Solr simultaneously or in parallel.
Procedure
Results
The results of the installation are output in the log file in the <HOME>/IBM/LogAnalysis/solr_install_tool/logs/ManageSolrnodes.log file.
To view the status for the instances of Apache Solr that are installed remote machines, run the unity.sh -status command.
Example
Remote Hostname in FQDN format:12345.example.com
username:unity
password:*********
SSH port: [22]
Top-level Installation Directory: [/home/unity]
Solr Search Port: [9989]
Solr Query Service Port: [7205]
Script is ready for remote installation of Solr:
Review the following inputs ....
-----------------------------------------------------------------------------
Remote Host Name: 12345.example.com
Remote User Name: unity
Remote SSH Port: 22
Top-level remote installation directory: /home/unity
Solr v9.0 - remote installation directory:
/home/unity/IBM/LogAnalysis
Solr - remote ports: 9989, 7205
------------------------------------------------------------------------
['q' - Abort]['Enter' - Install]
Sat Nov 16 03:08:38 CST 2013 Starting remote installation of Solr
, this will take couple of minutes to complete ....
Sat Nov 16 03:08:38 CST 2013 Waiting for remote installation to complete ....
Sat Nov 16 03:11:47 CST 2013 Successfully installed Solr
Solr on remote host:12345.example.com ....