To open the Solr's main dashboard, launch the Web browser and enter the following address: http://localhost:8983/solr.
Every 60 seconds, the UCMDB server verifies if the Solr is running. If for some reason the Solr stops running, the UCMDB server tries three times to restart it.
To change the interval at which the UCMDB Server verifies if the Solr is running:
- Go to JMX Console > UCMDB:service=Settings Services > setGlobalSettingValue.
- In the name field enter cmdb.solr.fallback.period.in.seconds.
- In the value filed, specify a time interval in seconds. The default value is 60 seconds.
- Click Invoke.
- Restart the UCMDB Sever.
Change the Default Port of the Solr
The default port value (8983) of the Solr may conflict with an existing application (for example, another web application already uses this port). If such a conflict exists, change the default port as follows:
- In UCMDB, go to Administration > Infrastructure Settings Manager > General Settings.
- In the Name column, choose The port on which solr will start.
- In the Value column, change the 8983 to any other port number.
- Click Save.
- Restart the UCMDB server.
Modify Solr Memory Size
The estimated amount of disk space and memory necessary for Solr to run properly are as follows:
|Memory (RAM)||512 MB / million of CIs|
|Disk Space||3 GB / million of CIs|
The estimated disk space and memory requirements may vary up or down, depending on the following:
- The CI Types of the indexed CIs.
- The size of the indexed CI's attributes.
- The type of the indexed CI's attributes (string, date, numeric).
- The number of Solr queries expected to run in a certain interval.
- The rate at which the CIs are added/updated/deleted in the index (the data-in rate).
You can change the amount of memory allocated for the Solr's usage as follows:
Open the following file using a text editor:
Locate the following setting and modify the setting to a desired value:
Xmsis the initial amount,
Xmxis the maximum amount of memory allocated.
Save the file.
Stop Solr. To do this, go to the <UCMDB_install_dir>\bin directory in a command prompt, and then run the following command: